Announcement
· 5 hr ago

Introducing tree‑sitter‑objectscript: High‑Performance Syntax Parsing for ObjectScript in Your Favorite Editors

I’m pleased to announce the release of tree-sitter-objectscript, a new open-source tree-sitter grammar that brings first-class ObjectScript support to modern editors. If you caught the preview at READY ’25, you’ll be glad to know it’s now up on Github:

https://github.com/intersystems/tree-sitter-objectscript

What Does It Provide?

  • Fast & Precise Parsing: A powerful grammar for ObjectScript, enabling real-time syntax parsing, smart highlighting, and structural editing in modern code editors.
  • Polyglot-Awareness: ObjectScript .cls files often embed SQL, HTML, Python, JavaScript, JSON, CSS, XML, and Markdown. The grammar is designed to integrate with those seamlessly.
  • Multi-Editor Support: Works across multiple editors today, with others coming as tree-sitter adoption grows.

Supported Editors

We've been working with tree-sitter-objectscript and the following editors:

Screenshot (Zed)

Screenshot of syntax highlighting in Zed

(this is actually Zed on Windows with a Tokyo Night Storm theme).


We’re excited to see how the community uses this — feedback and ideas are always welcome!

Thanks!

Discussion (0)1
Log in or sign up to continue