-
Notifications
You must be signed in to change notification settings - Fork 6
WASM Bindgen
Vihan edited this page Jan 31, 2019
·
2 revisions
The VSL WASM bindgen enables VSL code to interact with JavaScript given TypeScript or WebIDL definition files. The code generates uses the VSL WASM dispatch API (source).
The dispatch API bridges JS functionality to VSL through a series of functions which support cross-language memory management and passing values without creating 'glue' code. The JS implementation is available as vsl/wasm
and is automatically linked with all VSL WASM code when using the native VSL WASM JS APIs.
WebIDL files can be provided however syntax extensions aren't supported. For partial interfaces, for example, they must be compiled with the source interface in order to compile properly.
TypeScript support is still in development.
- Introduction
- Installation
- VSL By Example
- Usage
- WASM (WebAssembly)
- The Basics
- Your First Program
- Syntax
- Concepts
- Modules
- Advanced Details
- Interop
- VSL Development
- Common Errors