Skip to content

Use tree-feller for DataZinc parsing - #1053

Draft
Dekker1 wants to merge 1 commit into
MiniZinc:developfrom
Dekker1:feat/tree-feller
Draft

Use tree-feller for DataZinc parsing#1053
Dekker1 wants to merge 1 commit into
MiniZinc:developfrom
Dekker1:feat/tree-feller

Conversation

@Dekker1

@Dekker1 Dekker1 commented Sep 8, 2026

Copy link
Copy Markdown
Member

Parse data files directly from the DataZinc grammar's reduction stream, avoiding construction of a tree-sitter syntax tree for large inputs.

Share parser primitives between the tree-sitter and tree-feller lowerers, retain tree-sitter-based diagnostics and MiniZinc fallback handling, and update the differential test harness accordingly.

Fetch pinned tree-sitter and tree-feller dependencies through CMake instead of vendoring the tree-sitter runtime.

Checklist

  • Changes are ready for inclusion in next release
  • Changelog has been updated, or no changes required
  • Test cases changed or added, or no changes required
  • Documentation altered, or no changes required
  • Pull request(s) opened for required changes to upstream repos, or none required

Parse data files directly from the DataZinc grammar's reduction stream,
avoiding construction of a tree-sitter syntax tree for large inputs.

Share parser primitives between the tree-sitter and tree-feller lowerers,
retain tree-sitter-based diagnostics and MiniZinc fallback handling, and
update the differential test harness accordingly.

Fetch pinned tree-sitter and tree-feller dependencies through CMake
instead of vendoring the tree-sitter runtime.
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