- #4 handled floats with a trailing period
- handled distinction between
line_comments andblock_comments - handled support for E notation in
floats - handled known escape sequences in
stringswithescape_sequencetoken - added optional trailing semicolon to
include_statementanduse_statementnode captures - added
var_declarationnode to supportassignments that end in a semicolon:x = true; - added
echo_expressionhandling for cases where an echo statement is included in an echo expression:x = echo("foo") true; - added
let_prefixnode to support let expressions in list comprehension contexts - removed
modifier_chainnode parameters_declaration->parametersmodule_declaration->module_item
- extended support for highlight captures in
module_itemandmodule_callas@function.method - improved support for
modifierhighlighting with@keyword.modifiertag - added highlighting for string escape sequences as
@string.escape - added
@variable.parameterhighlighting dot_index_expressionproperty now uses the@variable.membertag
- added
justfilefor task running - added
eslint-config-treesitterfor formattinggrammar.js - added support for tree-sitter 0.24.7
- added support for nix flakes
Bugfixes:
- allow trailing commas in module and function invocations (8af3261)
Features / Behavior Changes:
- different float and decimal (integer) nodes, now under supertype number
- expressions now have a public supertype node, called expression
- literals now have a public supertype node, called literal
- special variables (e.g. $preview) now use an inner identifier node to store their name
- function parameters now have their own node type to support certain syntax highlighting patterns
Bugfixes:
- stopped accepting backslash line continuations