mirror of
https://github.com/mrdomino/hsnock.git
synced 2024-09-11 22:07:10 +03:00
Nock 5K interpreter in Haskell
Apparently the export syntax actually does hide the rest of the stuff in scope, as long as you load the module instead of directly loading the file from GHCI. Still trying to get hackage to notice that I want it to autogenerate documentation. Maybe module-level comments will help. |
||
---|---|---|
Language | ||
hsnock.cabal | ||
hsnock.lhs | ||
README | ||
Setup.hs | ||
test.hs |
Try: ./hsnock.lhs Install: cabal install hsnock 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]]]]