3 ms·
What's the advantage of defining the grammar in Rust? JavaScript is admittedly an odd choice, but it works, there are a ton of grammars out there and it isn't n
by IshKebab 4y ago
What's the advantage of defining the grammar in Rust? JavaScript is admittedly an odd choice, but it works, there are a ton of grammars out there and it isn't needed at runtime.
Changing the runtime to Rust is very useful though - I've wanted that for a long time to make WASM and cross compilation easier.
- hardwaregeek 4y agoThe ability to define the grammar via high quality Rust bindings is pretty inspired imo. It gets you waaaay better bindings than the homogenous Node type that tree-sitter provides you.