mirror of
https://github.com/anoma/juvix.git
synced 2024-12-15 18:13:56 +03:00
657de73b98
* import all non-compile axioms with alphanum names in entrypoint This commit adds `__attribute__((input_name(<name>)))` to the type signature of all axioms that do not have a compile block. This indicates to the compiler that this function should be added to the input table of the WASM binary. Adds a test that an imported function can be called from Juvix. * test: Run node command in same directory as WASM output * Don't generate importName for non-alphnum axioms * Add a tutorial on Juvix module to JS interop via Wasm |
||
---|---|---|
.. | ||
expected.golden | ||
input.js | ||
Input.juvix | ||
juvix.yaml |