Skip to content
Advertisement

Tag: javacc

How to call the javacc parser from a simple java class and execute

I am recently learning javacc releated concepts and writing tokens and parser. I was able to write a parser and it works perfectly when I run in the terminal using the commands javacc BusParser.jj //BusParser is file name javac *.java java Calculator //Calculator is parser name //and then type input Here I am passing an input file when running the

Advertisement