Added snippet
This commit is contained in:
3
snippets/README.md
Normal file
3
snippets/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Examples
|
||||||
|
|
||||||
|
Sammelt Code-Beispiele für die Einbettung in die schriftliche Ausarbeitung.
|
||||||
9
snippets/wasm.wat
Normal file
9
snippets/wasm.wat
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
(module
|
||||||
|
(func $i (import "imports" "imported_func") (param i32))
|
||||||
|
(func (export "exported_func")
|
||||||
|
i32.const 42
|
||||||
|
call $i
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
;; Source: https://developer.mozilla.org/en-US/docs/WebAssembly/Text_format_to_wasm
|
||||||
Reference in New Issue
Block a user