hsnock

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


Keywords
library, program, public-domain, Propose Tags, http://www.urbit.org/, http://www.urbit.org/2013/08/22/Chapter-2-nock.html, Skip to Readme, , Index, Language.Nock5K, Language.Nock5K.Parse, Language.Nock5K.Repl, Language.Nock5K.Spec, hsnock-0.5.1.tar.gz, browse, Package description, Package maintainers, mrdomino, edit package information
License
Other
Install
cabal install hsnock-0.5.1

Documentation

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]]]]