mirror of
https://github.com/anoma/juvix.git
synced 2024-12-14 17:32:00 +03:00
91ba586336
This PR: * introduces the JuvixTree language which is like JuvixAsm except that instead of the value stack there is an applicative structure, * refactors the JuvixCore -> JuvixAsm translation into JuvixCore -> JuvixTree -> JuvixAsm. JuvixAsm is a bit too low level for efficient compilation to Nock. Translating the value stack explicitly is a bad idea and it's unnecessary, because the value stack just represents an applicative structure which can be represented directly in Nock. It's possible, but cumbersome and unnecessary, to recover the applicative structure from JuvixAsm code. It's better to have a bit more high-level JuvixTree language which still retains the explicit applicative structure. |
||
---|---|---|
.. | ||
Asm | ||
Compile | ||
Eval | ||
Normalize | ||
Recursor | ||
Transformation | ||
VampIR | ||
Asm.hs | ||
Compile.hs | ||
Eval.hs | ||
Normalize.hs | ||
Print.hs | ||
Recursor.hs | ||
Transformation.hs | ||
VampIR.hs |