Skip to content

About

Cirru syntax port for wasm-cli

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cirru WASM CLI

This is an experimental project based on wasm-cli but in Cirru syntax.

Note that as wasm-cli may update this project may break and need to update again.

Find more at https://github.com/Cirru/cirru-wasm-ast

Usage

npm i -g cirru-wasm-cli

Create a file hello-world.cirru:

\ (void main) ()
  i32.store (addr.from_64 (i64.const 0)) (i32.const 0x6c6c6568)
  i32.store (addr.from_64 (i64.const 4)) (i32.const 0x6177206f)
  i32.store (addr.from_64 (i64.const 8)) (i32.const 0x000a6d73)

  std::print
    addr.from_64 (i64.const 0)
    addr.from_64 (i64.const 11)

export main
cirru-wasm-cli hello-world.cirru

License

MIT

About

Cirru syntax port for wasm-cli

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages