mirror of
https://github.com/anoma/juvix.git
synced 2024-12-03 09:41:10 +03:00
c499d0d7e1
This PR adds support for the Anoma node stdlib function to the nockma backend. https://developers.urbit.org/reference/hoon/stdlib/2n#cury This PR also changes the arguments placeholder value when compiling functions and closures to make it a tuple of length equal to the function/closure arity. To use curry, the function argument's placeholder argument tuple must have length equal to the function airty. For example if we are compiling a function with arity 2, the compiled nock function should have the form: ``` [compiled-code [0 0] env] ``` |
||
---|---|---|
.. | ||
Compile/Tree | ||
Eval | ||
Parse | ||
Compile.hs | ||
Encoding.hs | ||
Eval.hs | ||
Parse.hs |