feat: init commit

This commit is contained in:
2023-01-17 22:45:23 +08:00
commit 94130c107c
72 changed files with 7568 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
(module
(func $endless_loop (export "endless_loop")
;; create a variable and initialize it to 0
(local $am_i_done i32)
(loop $endless
;; if $am_i_done is not equal to 1 -> go back to the beginning of the loop
local.get $am_i_done
i32.const 1
i32.ne
br_if $endless
)
)
(start $endless_loop)
)