Fixed compiler errors after renaming coreLex to lex
First version of the parser combinators