hsnock: Nock 5K interpreter.

[ language, library, program, public-domain ] [ Propose Tags ]

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


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.3, 0.1.4, 0.2.0, 0.3.1, 0.4.1, 0.5.0, 0.5.1
Dependencies base (>=4.5 && <5), parsec (>=3.1), readline (>=1.0) [details]
License LicenseRef-PublicDomain
Author Steven Dee
Maintainer mrdomino@gmail.com
Category Language
Home page https://github.com/mrdomino/hsnock/
Source repo head: git clone https://github.com/mrdomino/hsnock.git
Uploaded by mrdomino at 2013-11-05T21:19:31Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables hsnock
Downloads 5165 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 3 reports]

Readme for hsnock-0.5.1

[back to package description]
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]]]]