https://github.com/captbaritone/indigo
https://github.com/captbaritone/indigo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/captbaritone/indigo
- Owner: captbaritone
- Created: 2022-12-08T06:36:30.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-20T07:57:20.000Z (about 3 years ago)
- Last Synced: 2025-02-15T09:17:16.017Z (11 months ago)
- Language: TypeScript
- Size: 244 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Indigo
Indigo (codename, to be renamed before release) is a light-weight TypeScript
module that makes it easy to construct binary WebAssembly modules from
TypeScript in the browser or Node. It's intended for use cases where you are
comfortable writing raw Wasm instructions, but want to have some structure:
- Provides type safety for WebAssembly instructions
- Handles binary encoding of instructions/values
- Handles module encoding/structure
Indigo is intended for use cases such as just-in-time compilation (JIT), where
the Wasm module is constructed at runtime. For example, if you want to provide a
user-accessible domain specific language (DSL) for your users which compiles to
Wasm. This this end, Indigo is light weight and optimizes for simplicity and
construction speed rather than the size or performance of the resulting Wasm
module.
## Examples
TODO