Running the examples
Open myflexer.flex. It is the JFlex specification that we have been looking at.
First we need to create the lexer from this specification. To do that, open a DOS window to this folder and type:
Next we need to compile the lexer that has been created. Type this in the DOS window:
Lastly we need to run the lexer against the input file (input.txt). Type this in the DOS window: