Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbrubeck/mynock
Interpreter for the Nock language, written in Haskell
https://github.com/mbrubeck/mynock
Last synced: 8 days ago
JSON representation
Interpreter for the Nock language, written in Haskell
- Host: GitHub
- URL: https://github.com/mbrubeck/mynock
- Owner: mbrubeck
- Created: 2010-01-20T05:21:53.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2010-01-21T16:51:58.000Z (almost 15 years ago)
- Last Synced: 2024-10-28T12:46:02.657Z (about 2 months ago)
- Language: Haskell
- Homepage:
- Size: 78.1 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
Mynock
======This is an interpreter for C. Guy Yarvin's [Nock][1] language, written in
Haskell. (For a longer explanation of Yarvin's rationale for Nock, see
[Urbit: functional programming from scratch][2].)For a simple Nock REPL, just load the Parser module in ghci:
ghci Parser.hs
and then use the "eval" function to parse and reduce Nock formulas:
> eval "=[1 *[3 1 1]]"
0
> eval "*[[4 5 6] 0 3]"
[5 6]That's it! Enjoy.
Copyright
---------To the extent possible under law, [Matt Brubeck][3] has [waived][4] all copyright
and related or neighboring rights to Mynock. This work is published from the
United States.[1]: http://moronlab.blogspot.com/2010/01/nock-maxwells-equations-of-software.html
[2]: http://moronlab.blogspot.com/2010/01/urbit-functional-programming-from.html
[3]: http://limpet.net/mbrubeck/
[4]: http://creativecommons.org/publicdomain/zero/1.0/