Version bump (1.3.1)
Recent Commits to lark:master
-
Version bump (1.3.1)
-
Merge pull request #1561 from chanicpanic/sdist-git
Merge pull request #1561 from chanicpanic/sdist-git Keep sdist in sync with git
-
Update MANIFEST.in
Update MANIFEST.in
-
Merge pull request #1562 from lark-parser/issue1560
Merge pull request #1562 from lark-parser/issue1560 Bugfix: Restore support for custom input, alongside text and TextSlice
-
Bugfix: Restore support for custom input, alongside text and TextSlic…
Bugfix: Restore support for custom input, alongside text and TextSlice (Issue #1560)
-
Added custom input test (based on code from examples)
Added custom input test (based on code from examples)
-
Keep sdist in sync with git
Keep sdist in sync with git
-
Version bump (1.3.0)
Version bump (1.3.0)
-
Merge pull request #1541 from pdeibert/master
Merge pull request #1541 from pdeibert/master Include missing import in standalone parser
-
Merge pull request #1553 from lark-parser/issue1552
Merge pull request #1553 from lark-parser/issue1552 Bugfix: issue when unpickling in the standalone parser, due to lingering Token instances
-
Bugfix: issue when unpickling in the standalone parser, due to lingering
Bugfix: issue when unpickling in the standalone parser, due to lingering Lark instances
-
Merge pull request #1547 from lark-parser/dev
Merge pull request #1547 from lark-parser/dev Bugfix in indenter - now always creating dedents with line information
-
UnexpectedInput.pos_in_stream now defaults to 0
UnexpectedInput.pos_in_stream now defaults to 0
-
Fix in indenter - now always creating dedents with line information
Fix in indenter - now always creating dedents with line information
-
Merge pull request #1540 from lark-parser/pr1506
Merge pull request #1540 from lark-parser/pr1506 Fixes for PR #1506, which adds the option to cache the grammar definition
-
Added tests for cache_grammar
Added tests for cache_grammar
-
Small bugfix + refactor
Small bugfix + refactor
-
Small fix, comments, added some types
Small fix, comments, added some types
-
Serialize Lark.grammar (fixes issue #1472) (#1506)
Serialize Lark.grammar (fixes issue #1472) (#1506) * Serialize Lark.grammar * Lark option: cache_grammar = False * Add documentation and error message to Reconstructor * Move parser.grammar check deeper into TreeMatcher
-
Include missing import in standalone parser
Include missing import in standalone parser
-
better error messages for shift/reduct conflicts (#1531)
better error messages for shift/reduct conflicts (#1531) * better error messages for shift reduct conflicts * fix format string
-
Merge pull request #1529 from lark-parser/docs_apr23_2025
Merge pull request #1529 from lark-parser/docs_apr23_2025 Docs: Updated link of DSL article to a new version
-
Upgrade pre-commit version
Upgrade pre-commit version
-
Docs: Updated link of DSL article to a new version, with better forma…
Docs: Updated link of DSL article to a new version, with better formatting, and support for a dark theme
-
Support match on tree (#1521)
Support match on tree (#1521) * add __match_args__ attribute to Tree * unit test case for pattern matching on Tree objects
-
Merge pull request #1452 from lark-parser/textslice
Merge pull request #1452 from lark-parser/textslice Added TextSlice; Lark can now parse/lex a text-slice
-
Merge pull request #1518 from lbhm/master
Merge pull request #1518 from lbhm/master Fix generic type of Transformer_InPlaceRecursive
-
Fix generic type of Transformer_InPlaceRecursive
Fix generic type of Transformer_InPlaceRecursive
-
Merge pull request #1483 from hrnciar/compatibility-with-python3.14
Merge pull request #1483 from hrnciar/compatibility-with-python3.14 Wrap functools.partial in staticmethod() to add compatibility with Python 3.14
-
Merge pull request #1508 from lark-parser/fix1507
Merge pull request #1508 from lark-parser/fix1507 [docs] Small fix for PR 1507
-
Docs: Fix phrasing
Docs: Fix phrasing
-
Add note on binding power of numeric quantifiers
Add note on binding power of numeric quantifiers I found this part of the syntax non-obvious, because `~` could conceivably have a lower binding power than sequences, so I added an example to the docs.
-
Merge pull request #1502 from nchammas/whitespace-example
Merge pull request #1502 from nchammas/whitespace-example Add guidance on handling comments in languages with significant indentation
-
Merge pull request #1503 from tybug/typing
Merge pull request #1503 from tybug/typing Type `Terminal.__init__`
-
Merge pull request #1467 from makukha/1466-add-tree-find-token
Merge pull request #1467 from makukha/1466-add-tree-find-token Add Tree.find_token() method
-
Extend test case
Extend test case
-
type Terminal.__init__
type Terminal.__init__
-
fix sphinx config
fix sphinx config Otherwise Sphinx complains: ``` WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). ```
-
significant whitespace -> significant indentation
significant whitespace -> significant indentation
-
ignore strange file that appeared after running `make html`
ignore strange file that appeared after running `make html`
-
fix markup now that i can see the html
fix markup now that i can see the html
-
add blurb on building docs
add blurb on building docs
-
Use `isinstance(v, Token)`
Use `isinstance(v, Token)`
-
add guidance on handling comments
add guidance on handling comments
-
Merge pull request #1486 from odanoburu/issue408
Merge pull request #1486 from odanoburu/issue408 Mention internal/external transformers in the documentation
-
improve doc writing
improve doc writing
-
Mention internal/external transformers in the documentation
Mention internal/external transformers in the documentation Helps users not fall into a problem similar to #408.
-
Wrap functools.partial in staticmethod() to add compatibility with
Wrap functools.partial in staticmethod() to add compatibility with Python 3.14 Fixes: #1480
-
Merge pull request #1481 from weaversam8/bugfix/1476-symbol-eq
Merge pull request #1481 from weaversam8/bugfix/1476-symbol-eq Fix `Symbol.__eq__` to return false when comparing with None
-
Adjust behaviour in #1481 to return NotImplemented
Adjust behaviour in #1481 to return NotImplemented
-
Adjust behaviour in #1481 to raise a NotImplementedError
Adjust behaviour in #1481 to raise a NotImplementedError
-
Fix Symbol.__eq__ (fixes #1476)
Fix Symbol.__eq__ (fixes #1476)