Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
giancarlopro committed Sep 10, 2023
1 parent d711046 commit e121e01
Showing 1 changed file with 31 additions and 6 deletions.
37 changes: 31 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,35 @@
Term
Um termo pode ser qualquer uma das seguintes estruturas:
# rinha-de-compiler

- [ ] Let
- [ ] Var
- [ ] Function
- [ ] Call
![samples run](https://github.com/giancarlopro/rinha-de-compiler/actions/workflows/run_tinha_samples/badge.svg)

Esse projeto é um interpretador criado para ser submetido a [rinha de compilers](https://github.com/aripiprazole/rinha-de-compiler).

## Como executar

Basta compilar o projeto e executar o binário gerado passando o caminho para o arquivo que deseja executar.

```bash
make
./build/interpreter <path-to-file>
```

Ou usando o docker

```bash
docker build . -f Dockerfile -t rinha-c-interpreter

docker run \
--rm \
-v <path-to-file>:/var/rinha/source.rinha.json \
rinha-c-interpreter
```

## CheckList de Funcionalidades

- [x] Let
- [x] Var
- [x] Call
- [x] Function
- [x] If
- [x] Binary
- [x] Int
Expand Down

0 comments on commit e121e01

Please sign in to comment.