1
1
mirror of https://github.com/anoma/juvix.git synced 2025-01-05 22:46:08 +03:00
juvix/tests
Paul Cadman 657de73b98
WASM import all non-compile axioms with alphanum names in entrypoint (#1426)
* 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
2022-08-02 18:58:45 +02:00
..
CLI Remove Int from stdlib and update SimpleFungibleToken example (#1414) 2022-07-27 10:24:25 +02:00
examplesExpected Adds Collatz sequence generator example (#1384) 2022-07-15 11:17:22 +01:00
negative Support type aliases (#1404) 2022-07-25 12:30:18 +02:00
positive WASM import all non-compile axioms with alphanum names in entrypoint (#1426) 2022-08-02 18:58:45 +02:00
.gitattributes Add C code generation backend (#68) 2022-05-05 14:12:17 +01:00