https://github.com/keynmol/scala-treesitter-highlighting
Scala code highlighting using Tree Sitter grammar compiled to WASM
https://github.com/keynmol/scala-treesitter-highlighting
scala scalajs treesitter vite wasm
Last synced: about 1 year ago
JSON representation
Scala code highlighting using Tree Sitter grammar compiled to WASM
- Host: GitHub
- URL: https://github.com/keynmol/scala-treesitter-highlighting
- Owner: keynmol
- License: mit
- Created: 2024-05-25T08:46:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-03T13:33:51.000Z (over 1 year ago)
- Last Synced: 2025-04-19T22:58:18.115Z (about 1 year ago)
- Topics: scala, scalajs, treesitter, vite, wasm
- Language: Scala
- Homepage: https://keynmol.github.io/scala-treesitter-highlighting/
- Size: 2.6 MB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# In-browser syntax highlighting for Scala using Tree Sitter
[**Live version**](https://keynmol.github.io/scala-treesitter-highlighting/)
ade possible by [web-tree-sitter](https://www.npmjs.com/package/web-tree-sitter?activeTab=readme) bindings, and the ability to compile Tree Sitter Scala parser to WASM.

## Contributing
1. Make sure you have Scala CLI installed
2. Run `npm install`
3. Run `npm watch`
4. Happy hacking! Your project will reload automatically as you make changes to [index.scala](./index.scala) or any other files