LO language support
NOTE: This extension depends on wasm-wasi-core
This extension adds the following commands:
LO: Download compiler (lo.wasm) (downloads the latest lo.wasm from the GitHub into the workspace root, asks before overwriting an existing one)
LO: Run current file
To compile .lo files to .wasm (using WebShell):
- Open Web Shell using Command Palette:
Terminal: Create New Web Shell
- Run:
run lo.wasm compile <input>.lo > <output>.wasm
To compile .lo files to .wasm (using wasmtime):
- Run:
wasmtime --dir=. lo.wasm compile <input>.lo > <output>.wasm
Check the source for more info
Extension development
- Install deps:
npm install
- Build extension in watch mode:
npm run dev
- Run extension:
F5
- Reload using the green button in the debug panel after making changes to the code
| |