added new and prototype to lexer and parser. require correct implementation in resolver.