Re: PCAT Compiler needed!
- From: Christian Gollwitzer <Christian.Gollwitzer@xxxxxxxxxxxxxxx>
- Date: Wed, 27 Jun 2007 12:48:08 +0200
CrazyDaniel2006@xxxxxxxxx wrote:
Hello guys, I'm a freshman in compiler design. I try to implement a
compiler for a small language called PCAT with flex and bison but I
find the task very tough. Is there anyone who know this can help me?
It will be better if I can learn from the lex and yacc source code.
Look for some exaples to start with. E.g.
http://www.unet.univie.ac.at/aix/aixprggd/genprogc/ie_prog_4lex_yacc.htm
(found by googling "lex yacc example")
PCAT(Pascal Clone with an ATtitude) is a small imperative programming
language
You should find several toy languages, often similar to pascal,
implemented with lex&yacc on the web or in introductory books devoted to
lex&yacc. Try to adopt them to your specific example.
Christian
.
- References:
- PCAT Compiler needed!
- From: CrazyDaniel2006
- PCAT Compiler needed!
- Prev by Date: TradeStation 8 Add-on - L'eau Prosper Market Manipulation Profiling Tools Set By L'eau Prosper Research
- Next by Date: Re: PCAT Compiler needed!
- Previous by thread: PCAT Compiler needed!
- Next by thread: Re: PCAT Compiler needed!
- Index(es):
Relevant Pages
|
|