Files
experimental-evaluation-of-…/chapters/03_background/listings/wat_example.wat
T
2026-07-01 23:53:27 +02:00

9 lines
253 B
WebAssembly Text Format

(module $wat_example.wasm
(type (;0;) (func (result i32)))
(func $main (type 0) (result i32)
i32.const 42)
(memory (;0;) 2)
(global $__stack_pointer (mut i32) (i32.const 66560))
(export "memory" (memory 0))
(export "main" (func $main)))