[antlr-interest] Re: C++ map and symbol table.

Fan Yang yhhf_dy at yahoo.com
Fri May 30 13:33:02 PDT 2003


Ther is a perfect explanation and example about symbol table on 
http://developer.java.sun.com/developer/technicalArticles/Parser/Serie
sPt4. but it's coded in java. 

hope it will be helpful.


--- In antlr-interest at yahoogroups.com, "queengiraffe" 
<cow_jumped_moon at h...> wrote:
> I've written the lexer and parser for my compiler and now want to 
add 
> a symbol table.
> 
> The only problem is I've been instructed to do it using maps from 
the 
> STL. My knowledge of both ANTLR and C++ are limited, and I also 
have 
> never written a symbol table before.
> 
> I was wondering if anyone had an basic example of this being 
achieved 
> in C++ or if they could point be to some reading material that may 
> help.
> 
> Cheers in advance
> 
> Gem x


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list