[antlr-interest] Symbol Table
ewbank at gmail.com
Sat Sep 16 15:36:39 PDT 2006
Well, once you define the content of the symbol table, simply create a
symbol table before you create your parser, and register the symbol
table with your parser via either a constructor parameter or another
There are other ways, too; just think of the symbol table as an
object, and figure out where it lives... then put it there.
On 9/15/06, Vinh N. Pham <vnpham.us at gmail.com> wrote:
> I've seen in the Antlr overview slides a question "What if we want to
> keep the symbol tables around after parsing?" but I do not see the
> answer. So, what is the answer for this question?
> Vinh N. Pham
More information about the antlr-interest