https://github.com/leonamtv/clexer
A C lexer implemented in python using the concept of finite-state automaton.
https://github.com/leonamtv/clexer
automata c finite-state-machine lexer python python3
Last synced: about 2 months ago
JSON representation
A C lexer implemented in python using the concept of finite-state automaton.
- Host: GitHub
- URL: https://github.com/leonamtv/clexer
- Owner: leonamtv
- Created: 2020-11-10T14:20:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-10T14:20:38.000Z (over 5 years ago)
- Last Synced: 2025-01-17T11:15:21.048Z (over 1 year ago)
- Topics: automata, c, finite-state-machine, lexer, python, python3
- Homepage:
- Size: 0 Bytes
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LCL - Leonam C Lexer
Lexer para a linguagem ANSI-C da matéria de compiladores na turma de engenharia de computação CEFET-MG.
## Como executar
Dê permissão de execução ao script `lcl.sh` com `chmod +x lcl.sh`.
Caso queira rodar um shell interativo, digite:
```
./lcl.sh
```
Caso queira rodar o lexer com os arquivos de teste, digite:
```
./lcl.sh --test
```
Caso queira rodar o lexer com outro(s) arquivo(s), digite:
```
./lcl.sh ...
```