1
0
Fork 0
Go to file
Sean Sube d26c29812e add recursive groups to both versions 2022-10-04 08:49:11 -05:00
agda add recursive groups to both versions 2022-10-04 08:49:11 -05:00
typescript add recursive groups to both versions 2022-10-04 08:49:11 -05:00
.gitignore move agda files into subdir 2022-10-01 00:06:18 -05:00
Makefile add TS equivalent 2022-10-01 00:06:22 -05:00
README.md add build to readme 2022-10-01 00:28:06 -05:00
tests.txt add recursive groups to both versions 2022-10-04 08:49:11 -05:00

README.md

Agulator

This is a calculator written in Agda.

> echo '11+210;3+4' | ./Calc
result: 221, result: 7

This is my brain now, it doesn't work so good:

agulator

Build

To build the Agda version:

> cd agda
> agda -c ./Calc.agda

This will compile to a binary executable at agda/Calc.

To build the Typescript version:

> typescript
> $(yarn bin)/tsc

This will compile to a JS module at typescript/out/Calc.js.