Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The C code generation templates and C runtime for ANTLR 3 are in-sync with antlr 3.0b8 and will now remain so until the release of 3.0with ANTLR release 3.0. ANTLR release v3.1 C rutime will be available shortly.

Background

The C runtime and therefore the code generated to utilize the runtime reflects the object model of the Java version of the runtime as closely as a language without class structures and inheritance can. Compromises have only been made where performance would be adversely affected such as minimizing the number of pointer to pointer to pointer to function type structures that could ensue through trying to model inheritance too exactly. Other changes include the use of token and string factories to minimize the number of calls to system functions such as calloc().

...