Symbol-Table and Parse-trees (Peter Palotas)
12 Aug 1999 02:57:59 -0400

          From comp.compilers

Related articles
Symbol-Table and Parse-trees (1999-08-12)
Re: Symbol-Table and Parse-trees (1999-08-13)
Re: Symbol-Table and Parse-trees (Leif Leonhardy) (1999-08-15)
Re: Symbol-Table and Parse-trees (1999-08-15)
| List of all articles for this month |

From: (Peter Palotas)
Newsgroups: comp.compilers
Date: 12 Aug 1999 02:57:59 -0400
Organization: Tripnet AB
Keywords: C, practice

I'm wondering what the best way is to handle declarations in a C
compiler? During the initial parse (sytatic analysis), should one put
the declarations in the symbol-table immediately, and not in the parse
tree, or should one wait and put them in the sym-tbl only during
semantic analysis?

Also, how should one cope with initialazion, (ex. int i = 3 * 2 + k;)
and scopes?

Some thoughts on this would be great!

Sincerely, Peter Palotas,

Post a followup to this message

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