Lexical Analyzer using FLEX
A lexical analyzer for Python language using FLEX.
Requirements
-
Linux System with BASH.
-
Have "make" installed
$ sudo apt-get install make
-
Have "flex" installed
$ sudo apt-get install flex
Compilation
-
Open a shell in the same folder that Makefile is located (probably, LexicalAnalyzer-FLEX).
-
Execute:
$ make
-
At this point, the executable file "p2Compiladores" will have been generated.
Execution
$ ./p2Compiladores wilcoxon.py
Note: in this case, the input file is wilcoxon.py