48 releases (4 breaking)
Uses new Rust 2024
| new 0.10.17 | Dec 9, 2025 |
|---|---|
| 0.10.16 | Nov 29, 2025 |
| 0.9.2 | Nov 10, 2025 |
| 0.8.11 | Nov 7, 2025 |
| 0.4.13 | Sep 16, 2025 |
#361 in WebAssembly
510KB
11K
SLoC
blots-wasm
This crate provides a WASM runtime for Blots – a small, simple, expression-oriented programming language.
pub fn evaluate(expr: &str, inputs_js: JsValue) -> Result<JsValue, JsError>;
pub fn tokenize(input: &str) -> Result<JsValue, JsError>;
pub fn get_built_in_function_names() -> Result<JsValue, JsError>;
pub fn get_constants() -> Result<JsValue, JsError>;
pub fn evaluate_inline_expressions(expressions_js: JsValue, inputs_js: JsValue,) -> Result<JsValue, JsError>;
Note
If you're viewing this crate on crates.io but are looking for the ready-to-use, pre-compiled WASM/JS version, see blots-wasm on npm.
Dependencies
~8–11MB
~186K SLoC