Skip to content

Attempt to upgrade parser to KDL v2 specification#16

Open
Tam1SH wants to merge 3 commits into
tree-sitter-grammars:masterfrom
Tam1SH:master
Open

Attempt to upgrade parser to KDL v2 specification#16
Tam1SH wants to merge 3 commits into
tree-sitter-grammars:masterfrom
Tam1SH:master

Conversation

@Tam1SH

@Tam1SH Tam1SH commented Jan 3, 2026

Copy link
Copy Markdown

No description provided.

Comment thread CHANGELOG.md
@@ -1,14 +1,23 @@
# Changelog

## [1.1.0](https://github.com/amaanq/tree-sitter-kdl/compare/v1.0.3...v1.1.0) (2023-05-13)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you may want to actually keep the old changelog entries when you add a new one :)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

- Overhauled the entire grammar to support KDL 2.0 specification.
- Eliminated all 10+ parser conflicts, moving from GLR to a clean LR(1) state.
- Added semantic fields (name, type, property, argument, key, value) for better LSP integration.
- Fixed line continuation (backslash) and comment interaction.
- Improved error recovery for unfinished nodes in blocks.
- Synchronized reserved type annotations with the latest spec (i128, u128, irl).
@ofek

ofek commented May 14, 2026

Copy link
Copy Markdown

Hey there! Are we still trying to get tests to pass or are we waiting on a maintainer/reviewer to assist?

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.

3 participants