Releases: c3lang/tree-sitter-c3
Releases · c3lang/tree-sitter-c3
v0.5.2
0.5.2
- Added rule
ct_else_stmt
encapsulating $else
blocks
- Updated queries
v0.5.1
0.5.1
- Parse
@operator
overloads
- Added rule
overload_operator
- Added field
name
to alias_declaration
- Fixed not parsing attributes for
faultdef
v0.5.0
0.5.0
Preliminary grammar for C3 0.7.
- Updated syntax for C3 0.7
- Added rule
generic_type_ident
, wrapping type_ident
/module_type_ident
and generic_arguments
- Added
attrdef_declaration
+ attribute_list
define_path_ident
-> alias_path_ident
define_path_at_ident
-> alias_path_at_ident
fault_declaration
-> faultdef_declaration
define_declaration
-> alias_declaration
distinct_declaration
-> typedef_declaration
- Renamed
func_typedef
-> func_signature
- Removed
typedef_type
, now inlined into alias_declaration
- Removed
define_ident
, now inlined into alias_declaration
- Removed
define_attribute
v0.4.1
0.4.1
Changes
- Fixed
enum Foo : Bar {}
and bitstruct Foo : Bar {}
(conflict with new generics syntax)
- Added missing
defer (catch ...)
syntax
v0.4.0
0.4.0
Changes
- Switch to new generics syntax
- Removed
Type {...}
grammar
- Added rule
typed_initializer_list
for (Type) {...}
with precedence over cast
v0.3.2
0.3.2
Final grammar for C3 0.6.7.
Changes
- Revert tree-sitter ABI version back to 14
- Fixed not permitting empty compile-time switch body
v0.3.1
0.3.1
Final grammar for C3 0.6.7.
Changes
- Added rule for short function syntax
fn int test() => @pool() { return 1; }
v0.3.0
0.3.0
Final grammar for C3 0.6.7.
Changes
- Added grammar for inline enums
- Removed experimental
<[]>
syntax
- Updated highlights.scm