updated grammar interface for code generation. laying out lexer class generation.