Run WebAssembly Binary and Text files in the command line.
Project description
WASM CLI Runner
Run WebAssembly Binary or Text files (.wat
or .wasm
) directly from the command line.
Imported functions to WebAssembly are at the moment:
- "print" (
(import "" "print" (func $print (param i32)))
)
To run a WebAssembly file, use:
wasm_cli_runner test.wat
Installation
Via pip
pip install wasm_cli_runner
From source
To run this program from the code directly, python
and poetry
(pip install poetry
) are required. Clone or download the repository.
To install all the dependencies, use your command line and navigate to the directory where this README
file is located in. Then run
poetry install
Execution
To execute the program use
poetry run python -m wasm_cli_runner
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wasm_cli_runner-1.0.0.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for wasm_cli_runner-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff81ff9df6fcc08a0031a7037373f0077dbc2f494fa87012ea9e620cc2cd01a5 |
|
MD5 | ac24477d0f03c5e8de4b2a52d9afa29a |
|
BLAKE2b-256 | e94f4c72cb2d6c1056e53701049411e7d5f390821c9717b1ae2754d07387da3d |