0.2.9 • Published 2 years ago

weblab-interpreter v0.2.9

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Weblab interpreter

A lite Javascript interpreter written in Rust and compiled to WASM using wasm-pack. The project is in alpha stage, please use it with caution.

It is used for the execution of the cells of Weblab notebooks.

Usage

Evaluate a cell:

eval_cell(str: String): Promise<String | HtmlElement>

Reset the environment:

reset_envs()