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

queengiraffe cow_jumped_moon at hotmail.com
Fri Apr 4 02:13:27 PST 2003


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