Crates.io | tree-sitter-elm |
lib.rs | tree-sitter-elm |
version | 5.7.0 |
source | src |
created_at | 2020-11-21 19:20:25.695107 |
updated_at | 2023-12-22 17:01:17.727837 |
description | elm grammar for the tree-sitter parsing library |
homepage | https://tree-sitter.github.io/tree-sitter/ |
repository | https://github.com/elm-tooling/tree-sitter-elm |
max_upload_size | |
id | 314774 |
size | 1,474,726 |
I believe that Elm would greatly benefit from better tooling, the ultimate goal is to write a language server integration. This is a possible building block for that.
What it brings to the table:
This is tested against the tests included in the repo and:
So it should work fine for a fair amount of code. What's not tested right now is behavior in error cases.
Very very big thanks goes out to @klazuka and the people of intellij-elm as I basically stole how they're creating their parser minus the GLSL implementation.
Help writing some tests or simply find valid elm files, that fail parsing.
Test are located in the test
folder and separated in parser tests and highlighting tests.