Lexical analyzer and cup grammar defined, scanner and parser firs implementation