Replaced antlr with flex/bison due to really annoying warnings in the generated antlr code.