This is a simple lexical analyzer for the C language. The repository contains an example program in C for testing.
The tokens_lexemes.pdf file shows the lexemes recognized by the lexical analyzer.
Python 3.5.0 or last version...
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.5
Principal.py is the principal file of the project, just run this file to test the analyzer with default parameters.
python Principal.py
The size of buffer, output and .c program can be changed as you wish.
- Python 3.5.0 - Python
- PyCharm - Python IDE
- Christian R. F. Gomes - christianrfg
- Pedro Souza - email: [email protected]
See also the list of contributors who participated in this project.