add build to readme
This commit is contained in:
parent
e7760fa553
commit
b1ab8ef3f0
20
README.md
20
README.md
|
@ -10,3 +10,23 @@ result: 221, result: 7
|
|||
This is my brain now, it doesn't work so good:
|
||||
|
||||
![agulator](https://cdn.drawception.com/drawings/MjWfbBamq9.png)
|
||||
|
||||
## Build
|
||||
|
||||
To build the Agda version:
|
||||
|
||||
```bash
|
||||
> cd agda
|
||||
> agda -c ./Calc.agda
|
||||
```
|
||||
|
||||
This will compile to a binary executable at `agda/Calc`.
|
||||
|
||||
To build the Typescript version:
|
||||
|
||||
```bash
|
||||
> typescript
|
||||
> $(yarn bin)/tsc
|
||||
```
|
||||
|
||||
This will compile to a JS module at `typescript/out/Calc.js`.
|
||||
|
|
Loading…
Reference in New Issue