This is an implementation of the Nock 5K spec with an accompanying interpreter. Nock is a tiny stateless virtual machine that can be thought of as a functional assembly language. Nock is the lowest layer in the Urbit stack. On top of it rests the Hoon language, in which the Arvo OS is written. More on Urbit: http://www.urbit.org/ More on Nock: http://www.urbit.org/2013/08/22/Chapter-2-nock.html
Homepage Repository Hackage Haskell Download
cabal install hsnock-0.4.1
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]]]]