contains all small code for ANTLR project