O'Reilly logo
  • David Fuller thinks this is interesting:

Rather than reimplement an appropriate symbol table just for this example, I’ve copied the symbol table source code[44] from Chapter 6 of Language Implementation Patterns [Par09]. I encourage you to look through the source for BaseScope, GlobalScope, LocalScope, Symbol, FunctionSymbol, and VariableSymbol to get a feel for the implementation. Together, those classes embody the symbol table, and we’ll assume that they just work. W...

From

Cover of The Definitive ANTLR 4 Reference, 2nd Edition

Note

This project requires these files for it to be completed. They are not available here and must be acquired via the referenced book resources.