Arborium: Tree-sitter code highlighting with Native and WASM targets
arborium.bearcove.eu
Arborium: Tree-sitter code highlighting with Native and WASM targets
1–10 of 48 posts
Re: Arborium: Tree-sitter code highlighting with Native and WASM targets
#2This is cool, was looking for something similar
Re: Arborium: Tree-sitter code highlighting with Native and WASM targets
#3The get started section seems to be broken or missing content.
Re: Arborium: Tree-sitter code highlighting with Native and WASM targets
#4Sorry, but I can't understand what this actually is. A library, a stand-alone tool, a Rust crate? What users does it target? Text editors, website creators?
Re: Arborium: Tree-sitter code highlighting with Native and WASM targets
#5Sorry, but I can't understand what this actually is. A library, a stand-alone tool, a Rust crate? What users does it target? Text editors, website creators?
Not for you then. You don't need to understand everything.
Re: Arborium: Tree-sitter code highlighting with Native and WASM targets
#6Sorry, but I can't understand what this actually is. A library, a stand-alone tool, a Rust crate? What users does it target? Text editors, website creators?
GitHub repo is a bit more helpful, but users or building of text editors that use tree-sitter.
Or... website text editors which historically have had imperfect syntax highlighting.
Notice the Zed sponsorship.
Re: Arborium: Tree-sitter code highlighting with Native and WASM targets
#7The sponsorships achieved by the author is admirable - they really make a lot of valuable oss.
Re: Arborium: Tree-sitter code highlighting with Native and WASM targets
#8I'm currently building an online 3D-Editor that supports OpenSCAD and Python as the input language.
The ease of use to highlight static text via Arborium seems nice:
def hello(name):
print("Hello " + name);
But does it support editing highlighted text? If not, one would have to do some trickery by hiding a textarea and updating the element on each keypress, I guess. Which probably has a thousand corner cases one would have to deal with.And how would one add SCAD support?
Re: Arborium: Tree-sitter code highlighting with Native and WASM targets
#9Sorry, but I can't understand what this actually is. A library, a stand-alone tool, a Rust crate? What users does it target? Text editors, website creators?
Re: Arborium: Tree-sitter code highlighting with Native and WASM targets
#10https://fasterthanli.me/articles/my-gift-to-the-rust-docs-te... is a better link (the author's article about this rather than the artifact produced)