From: | Uli Kusterer <ulimakesacompiler@googlemail.com> |
Newsgroups: | comp.compilers |
Date: | Tue, 22 May 2007 10:31:27 +0200 |
Organization: | Compilers Central |
References: | 07-05-067 07-05-072 07-05-078 |
Keywords: | parse, symbols |
Posted-Date: | 22 May 2007 20:22:20 EDT |
On 21.05.2007, at 10:01, Chris Dollin wrote:
> Decoupling the parse from the semantics like this makes the parser
> easier to write, and makes the symbol table easier to work with
> as well.
In some cases one can just design the language so it's easy to
parse. But sometimes one has to implement a particular pre-defined
language, or try to approximate some other language, and in those
cases one can't or doesn't want to just change the language to make it
easier to parse.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
Return to the
comp.compilers page.
Search the
comp.compilers archives again.