v5.21.1 Update#
Added#
@name,@int,@uint,@float,@boolmeta-expressions for typed matching (identifiers, signed/unsigned integers, floating point literals, and boolean literals)FailedMetaexception for@meta failures@namenow matches identifiers starting with_-z/--optimizeCLI option to optimize the grammar model before generating output
Changed#
Cache optimized grammar models; inline single-element sequences and call chains in
Rule.optimized()Cursor/Textprotocols moved frominput/text.py→input/cursor.pyVersioning via
uv-dynamic-versioning;_version.pyreads fromimportlib.metadataCI: upgrade to
checkout@v6,setup-uv@v7,setup-python@v6; all dependencies viauv sync
Removed#
Deprecated
override_single_deprecated(bare@as override) from grammar and boot parser to allow the symbol to be used for the new meta-expressions