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).
This is a sequence of calculators which can be used to dive into ANTLR.
calc
Write down the grammar. (source code)