Skip to content

Instantly share code, notes, and snippets.

@chfast
Created January 24, 2020 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chfast/10d9a1ea594437ec2124b84a1cf804a2 to your computer and use it in GitHub Desktop.
Save chfast/10d9a1ea594437ec2124b84a1cf804a2 to your computer and use it in GitHub Desktop.

webassembly

(module
    (memory 1)
    (func (export "test") (param i32 i32) (result i32)
      get_local 0
      get_local 1
      i32.xor
    )
)

wasm

(module
    (memory 1)
    (func (export "test") (param i32 i32) (result i32)
      get_local 0
      get_local 1
      i32.xor
    )
)

wat

(module
    (memory 1)
    (func (export "test") (param i32 i32) (result i32)
      get_local 0
      get_local 1
      i32.xor
    )
)

wast

(module
    (memory 1)
    (func (export "test") (param i32 i32) (result i32)
      get_local 0
      get_local 1
      i32.xor
    )
)

None

(module
    (memory 1)
    (func (export "test") (param i32 i32) (result i32)
      get_local 0
      get_local 1
      i32.xor
    )
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment