Skip to content

Comments

Add tree-sitter parser for TOML#447

Open
gaborcsardi wants to merge 10 commits intomainfrom
feature/tree-sitter-toml
Open

Add tree-sitter parser for TOML#447
gaborcsardi wants to merge 10 commits intomainfrom
feature/tree-sitter-toml

Conversation

@gaborcsardi
Copy link
Member

Plus new functions token_table() and syntax_tree().

Annotated with the original source code.

Glitches:
- non-ascii unicode characters cause shifts in the source code annotation
- multi-line tokens cause shifts in the line numbers
TS query language behaves slightly differently.
@gaborcsardi gaborcsardi force-pushed the feature/tree-sitter-toml branch from 34362d2 to 1b46acb Compare August 2, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant