blots-wasm

Crates.ioblots-wasm
lib.rsblots-wasm
version0.13.1
created_at2025-09-12 20:03:16.880734+00
updated_at2026-01-17 05:04:36.786221+00
descriptionWebAssembly bindings for Blots, a small, simple, expression-oriented programming language.
homepagehttps://github.com/paul-russo/blots-lang
repositoryhttps://github.com/paul-russo/blots-lang
max_upload_size
id1836556
size77,458
Paul Russo (paul-russo)

documentation

README

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.

Commit count: 399

cargo fmt