Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

dune exec ./deku-c/tunac/tests/compile.exe -- contract --output mod.wasm < trivial.tz > trivial.ll
llc -o trivial.wasm --march=wasm32 --filetype=obj -opaque-pointers trivial.ll

clang -c -o runtime.wasm --target=wasm32-unknown-unknown runtime.c

wasm-ld -o contract.wasm --export=__michelson_stack --import-undefined runtime.wasm trivial.wasm
18 changes: 0 additions & 18 deletions deku-c/tunac/bin/dune

This file was deleted.

24 changes: 0 additions & 24 deletions deku-c/tunac/bin/tunacc_test.ml

This file was deleted.

81 changes: 0 additions & 81 deletions deku-c/tunac/bin/tunacc_test_operation.ml

This file was deleted.

59 changes: 0 additions & 59 deletions deku-c/tunac/lib/Interface.mli

This file was deleted.

Loading