Repository navigation
v0.11.1
Fixed
- Wheel shipped without
grammar.json._grammar_introspectionwalks the tree-sittergrammar.jsonto derive the keyword / punctuation / builtin sets the Pygments lexer, the REPL completer, the TUI highlighter, and the LSP semantic-tokens legend all consume. The canonical file lives atgrammars/qvr/src/grammar.json(regenerated bytree-sitter generate), which sits outsidesrc/quivers/and so was excluded from the wheel build. The 0.11.0 install crashed on first import ofquivers.dsl.pygments_lexerwithFileNotFoundError: grammars/qvr/src/grammar.json not found above ..., which in turn blockedqvr repl,qvr-lsp, andqvr-kernel. A package-local copy atsrc/quivers/dsl/_grammar_data/grammar.jsonis now committed and included in the wheel;_grammar_json_path()prefers the package-local copy and falls back to the in-tree source for editable installs.tools/sync_grammar_data.pykeeps the two copies in lockstep, with a--checkmode CI can gate on.
Full Changelog: v0.11.0...v0.11.1