hnock alternatives and similar packages
Based on the "Language" category.
Alternatively, view hnock alternatives based on common mentions on social networks and blogs.
-
stylish-haskell
DISCONTINUED. Haskell code prettifier [Moved to: https://github.com/haskell/stylish-haskell] -
ministg
Ministg is an interpreter for a high-level, small-step, operational semantics for the STG machine.
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of hnock or a related project?
README
hnock
A Nock interpreter.
Install
Use a simple
stack install
to build the hnock
binary and get it moved somewhere on your PATH. If you
just want to build the binary, you can use stack build
.
Usage
From bash, simply pipe Nock expressions into the hnock
executable:
$ echo '*[[[4 5] [6 14 15]] [0 7]]' | hnock
[14 15]
For playing around in GHCi, import the Nock
library and use hnock
to parse
and evaluate Nock expressions:
*Nock> hnock "*[[[4 5] [6 14 15]] [0 7]]"
[14 15]
To evaluate raw nock Nouns, i.e. to compute nock(a)
for some noun a
, use
the nock
function:
*Nock> let expression = hnock "[[[4 5] [6 14 15]] [0 7]]"
*Nock> expression
[[[4 5] [6 [14 15]]] [0 7]]
*Nock> nock expression
[14 15]
Testing
Use a simple stack test
to run the test suite.
See Also
*Note that all licence references and agreements mentioned in the hnock README section above
are relevant to that project's source code only.