Skip to content

A basic calculator compiler written in rust and accessed through WebAssembly

License

Notifications You must be signed in to change notification settings

williamtetlow/wasm-rust-basic-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasm-basic-compiler

A compiler written in Rust, outputted as a wasm package that processes a simple calculator based language.

# add 6 with 7
[operation] [num] with [num]

Example showing using calculator and output

Setup

  1. Build wasm package
wasm-pack build
  1. Install node modules
cd www
npm install

Running

npm run build
npm run serve

Dev

  1. Open a shell to run webpack
cd www
npm run dev
  1. Make changes to wasm package and build again
wasm-pack build

About

A basic calculator compiler written in rust and accessed through WebAssembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published