Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 764 Bytes

README.md

File metadata and controls

51 lines (35 loc) · 764 Bytes

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