8 unstable releases (3 breaking)

0.6.3 Apr 21, 2026
0.6.2 Apr 20, 2026
0.5.9 Apr 7, 2026
0.4.1 Apr 3, 2026
0.3.0 Mar 30, 2026

#2745 in WebAssembly


Used in 7 crates (via wasmsh-parse)

Apache-2.0

49KB
1K SLoC

Stateful lexer for the wasmsh shell.

The lexer operates with context-dependent modes and produces structured tokens with span information. Words may span across quotes and dollar expansions — the lexer tracks nesting to find the correct word boundary.


wasmsh-lex

Part of the wasmsh workspace — a browser-first shell runtime in Rust.

See the main repository for documentation, architecture overview, and usage examples.

Dependencies

~44KB