mirror of
https://github.com/mrdomino/hsnock.git
synced 2024-10-05 17:47:44 +03:00
Nock 5K interpreter in Haskell
2c33b12f83
This "obviously" works. Just in case, I've added a check. |
||
---|---|---|
Language | ||
hsnock.cabal | ||
hsnock.lhs | ||
README | ||
Setup.hs | ||
test.hs |
Usage: ./hsnock.lhs Try forms like: [42 1 0] [42 0 1] [[1 3 2] 0 3] [42 [8 [1 0] 8 [1 6 [5 [0 7] 4 0 6] [0 6] 9 2 [0 2] [4 0 6] 0 7] 9 2 0 1]] [[42 43] [8 [1 0] [8 [1 [6 [5 [0 6] [0 14]] [1 0] [6 [5 [0 6] [0 15]] [1 1] [9 2 [[0 2] [4 0 6] [0 7]]]]]] [9 2 0 1]]]] [[43 42] [8 [1 0] [8 [1 [6 [5 [0 6] [0 14]] [1 0] [6 [5 [0 6] [0 15]] [1 1] [9 2 [[0 2] [4 0 6] [0 7]]]]]] [9 2 0 1]]]] See also: http://www.urbit.org/2013/08/22/Chapter-2-nock.html