Live programming with the Whamm DSL!
Whamm Live is a VSCode extension that provides live, bidirectional visibility between Whamm scripts and their instrumentation effects for the Wizard engine target as well as other selected Wasm targets.
Note
This extension is not yet available on the VS Code Marketplace. You will need to manually install the .vsix file.
-
To get started, first download the
.vsixfile from the releases page. -
Open your terminal
code --install-extension path/to/live-whamm-x.y.z.vsixRelated Resource(s): Install from a vsix
Want to contribute or test locally? Here's how to set it up:
- Clone the repo:
git clone https://github.com/ejrgilbert/whamm-live.git
cd whamm-live-
Configure
wit2s- Clone vscode-wasm
- Build
cd vscode-wasm npm install cd wasm-component-model npm run clean npm run compile chmod +x ./bin/wit2s # Test running the binary ./bin/wit2ts # Add `wit2s` to `PATH` export PATH="$PWD/bin:$PATH"
-
Setup svelte
cd whamm-live/svelte
npm install
npm run buildFor specific svelte stuff, look at svelte/README.md.
- Setup
Whamm- Clone
Whamm. - Add
Whammto Live-Whamm'sCargo.tomlfile
- Clone
whamm={path="path/to/whamm/repo"}- Finally, to start the extension:
npm install
cargo buildRun extension using F5 key
- Execute Wasm code in a worker (make it async): tutorial
- Reduce duplicated effort for re-creating an Orca module on every
runinvocationß