Fix an issue where a commented line at the end of the input would emit an error node.
Allow dotted names and list of imports in import
statements.
Fix an issue where single-quoted strings inside format strings weren't tokenized properly.
Emit syntax nodes for backslash escapes in strings.
Support the =
flag to values in format strings.
Tag comments and strings as isolating for the purpose of bidirectional text.
Fix parsing of argument lists that are a comprehension that start with an assignment.
Add support for PEP 654 except*
syntax.
Implement PEP 695 type parameter syntax.
Make the package work with new TS resolution styles.
Fix a bug that broke handling of escaped quotes in format strings.
Fix parsing of blank lines at the start of the document.
Fix a bug that caused triple-quoted format strings with quotes in them to be parsed incorrectly.
Make sure blocks stop at their final newline, and don't include any following blank lines.
Fix parsing of empty tuple expressions.
Allow :=
in subscript index expressions.
Fix a bug that caused binary * and ** operators to be highlighted as keywords/modifiers.
Add missing highlighting info for match
and case
keywords.
Parse Python 3.10 match statements (PEP 634).
First stable version.
Fix a bug that caused f"""
strings to be terminated at the first double quote in their content.
Move to 0.16 serialized parser format.
The parser now includes syntax highlighting information in its node types.
Fix a bug where indentation with tabs was tracked incorrectly, leading to spurious indent tokens and malformed trees.
The module's name changed from lezer-python
to @lezer/python
.
Upgrade to the 0.15.0 lezer interfaces.
Fix a bug that caused newlines to be disallowed in argument and parameter lists.
Fix a bug where incremental parses could get confused about block nesting.
Fixes an inefficiency in the parsing of large strings.
Fix a bug where keywords like else
or except
would be consumed even if they don't match the indentation of the parent statement.
Fix an issue where non-indented lines after a colon were parsed as part of the body.
Add support for return statements without expressions.
Fix versions of lezer packages depended on.
Adjust to changed serialized parser format.
Fix lezer depencency versions
Follow change in serialized parser format.
Upgrade to 0.10 parser serialization
Upgrade to 0.9 parser serialization
Include TypeScript definition file.
Only treat print
as a keyword when it looks like a Python 2 style print statement.
First numbered release.