Re: Am I parsing this correctly? (when do I build the symbol table)

Uli Kusterer <ulimakesacompiler@googlemail.com>
Tue, 22 May 2007 10:31:27 +0200

          From comp.compilers

Related articles
[4 earlier articles]
Re: Am I parsing this correctly? (when do I build the symbol table) mburrel@uwo.ca (Mike Burrell) (2007-05-19)
Re: Am I parsing this correctly? (when do I build the symbol table) jeffrey.kenton@comcast.net (Jeff Kenton) (2007-05-19)
Re: Am I parsing this correctly? (when do I build the symbol table) gneuner2@comcast.net (George Neuner) (2007-05-19)
Re: Am I parsing this correctly? (when do I build the symbol table) 148f3wg02@sneakemail.com (Karsten Nyblad) (2007-05-20)
Re: Am I parsing this correctly? (when do I build the symbol table) ulimakesacompiler@googlemail.com (Uli Kusterer) (2007-05-20)
Re: Am I parsing this correctly? (when do I build the symbol table) chris.dollin@hp.com (Chris Dollin) (2007-05-21)
Re: Am I parsing this correctly? (when do I build the symbol table) ulimakesacompiler@googlemail.com (Uli Kusterer) (2007-05-22)
Re: Am I parsing this correctly? (when do I build the symbol table) gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-05-23)
Re: Am I parsing this correctly? (when do I build the symbol table) paul@paul-robinson.us (Paul Robinson) (2007-05-31)
| List of all articles for this month |

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



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.