Lexer members made non static
semantic test added
grammar fixes and simple casting support implemented