Generate lexer, parser by code