Generating parser Archive
30 Oct 2016
Generating Lexical Analyser and Parser with JavaCC

JavaCC is a lexer and parser generator for LL(k) grammars. You specify a language’s lexical and syntactic description in a JJ file, then run javacc on the JJ file. You will get seven java files as output, including a lexer and a parser. We’ll look at three things you can do with JavaCC Do a