Examples

In this section, we provide some fully-working language examples that illustrate the use of ModelCC:

  • Arithmetic calculator (this example illustrates how ModelCC can be used to parse arithmetic expressions in infix notation and how the model-based ModelCC implementation differs from the equivalent syntax-driven implementation in lex&yacc and ANTLR).

  • 3D scene description language (this example illustrates ModelCC reference resolution mechanism).