C- in ANTLR

Feb. 3, 2013, 12:26 p.m.

This is a sample of a small language with global variables, assignments, arithmetic expressions, input, output, if and while, which compiles into java assembler (can't say that i excell in jasmin, but this one works in most cases).

(source code)

Calc in ANTLR

Feb. 3, 2013, 12:21 p.m.

This is a sequence of calculators which can be used to dive into ANTLR.

calc

Write down the grammar. (source code)

(Read more)