I am using CUP with JFlex to validate expression syntax. I have the basic functionality working: I can tell if …
I have a very basic lexer here: import java_cup.runtime.*; import java.io.IOException; %% %class AnalyzerLex %function next_token %…