This repository has been archived on 2022-01-04. You can view files and clone it, but cannot push or open issues/pull-requests.
|
(module
|
|
(import "host" "add" (func $add (param i32 i32)(result i32)))
|
|
(func (export "main") (result i32)
|
|
(call $add (i32.const 123) (i32.const 456))
|
|
(; i32.const 1337 ;)
|
|
)
|
|
)
|
|
|
|
|
|
|
|
(;;
|
|
(func $main (export "_start")
|
|
(; (call $print_greeting) ;)
|
|
return
|
|
)
|
|
;;)
|