https://github.com/jon-edward/nephropidae_wasm
This is a simple example that demonstrates building a Lobster project to WebAssembly.
https://github.com/jon-edward/nephropidae_wasm
Last synced: about 2 months ago
JSON representation
This is a simple example that demonstrates building a Lobster project to WebAssembly.
- Host: GitHub
- URL: https://github.com/jon-edward/nephropidae_wasm
- Owner: jon-edward
- License: mit
- Created: 2024-02-17T17:35:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-01T03:41:20.000Z (about 1 year ago)
- Last Synced: 2024-04-02T03:39:38.715Z (about 1 year ago)
- Language: Python
- Homepage: https://jon-edward.github.io/nephropidae_wasm/
- Size: 5.88 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nephropidae_wasm
This is a simple example that demonstrates building a Lobster project to WebAssembly.## Demo
Check out the [live demos](https://jon-edward.github.io/nephropidae_wasm/demos/).## Requirements
You need a [built binary](http://aardappel.github.io/lobster/getting_started.html) of the [Lobster](https://github.com/aardappel/lobster) language, Python 3.10+, and [Emscripten](https://emscripten.org/docs/getting_started/) added to PATH.## Usage
[`build.py`](build.py) is the entry point for building a Lobster project to WASM. In the simplest case, you can build your Lobster script (`src/main.lobster`) with `python3 build.py`.Optionally, you can start an HTTP server from `build/` on `http://127.0.0.1:8080/` after building has completed with the command `python3 build.py --serve`.
See `python3 build.py --help` for other usage.