https://github.com/rafaelgoncalves8/math-asm-compiler
Project of a compiler (math statements to arm asm) for the course EA876 on compilers and operational systems at Unicamp
https://github.com/rafaelgoncalves8/math-asm-compiler
Last synced: 2 months ago
JSON representation
Project of a compiler (math statements to arm asm) for the course EA876 on compilers and operational systems at Unicamp
- Host: GitHub
- URL: https://github.com/rafaelgoncalves8/math-asm-compiler
- Owner: RafaelGoncalves8
- License: gpl-3.0
- Created: 2019-04-24T17:35:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-03T21:25:16.000Z (over 6 years ago)
- Last Synced: 2025-03-27T05:42:24.273Z (7 months ago)
- Language: Shell
- Size: 14.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Trabalho 1 - EA876
## Como utilizar
A pasta `src/` contém os arquivos fonte (`main.l` e `main.y`), a pasta `doc/` contém o relatório `relatorio.pdf` e a pasta `test/` contém 20 testes (arquivos .in).
Podemos utilizar o `Makefile` para as seguintes operações:
- `make`: Compila o programa para o arquivo `main`
- `make out`: Gera arquivos assembly .s para os arquivos em `test/`
- `make test`: Executa o script de teste cedido pelo professor da disciplina com os arquivos em `test/`