ANTLR is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
UniRitter
Disciplina de Compiladores
Professor e Mestre Roger Krolow
Aluno Matias Ucker {matias.ucker@gmail.com}
Implementação de um parser de um chat utilizando o ANTLR 4
Linguagem: Python 3.8
SO: Linux Ubuntu
-
Clonar o repositório https://github.com/MatiasUcker/ANTLR_Parser.git
-
Abrir o diretório /ANTLR_Parser/antlr_parser/ e executar o terminal bash
-
Digitar o comando python3 antlr.py input.txt
-
Abrir o arquivo output.html para ver os resultados
-
Pra testes, executar o comando python3 -m unittest discover -s . -p ChatTests.py
- Dependências já inclusas