Currently only contains a REPL, but will be able to read from file once I finish the parser.
The good old classic
git clone https://github.com/PenguinOwl/curta-lang
cd curta-lang
shards build
./bin/curta-lang
reg = registers
res = result readout
rev = revolution counter
get (reg|res|rev) <number>
set reg <index> to number
set crank to up
set crank to down
set lever to forward
set lever to reverse
read (reg|res|rev)
turn
# Coming soon
goto
skip
Write it up into a PR and I'll see what I can do.
- Fork it (https://github.com/PenguinOwl/curta-lang/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- PenguinOwl - creator and maintainer