Skip to content

Releases: c3lang/tree-sitter-c3

v0.5.2

29 Apr 14:08
Compare
Choose a tag to compare

0.5.2

  • Added rule ct_else_stmt encapsulating $else blocks
  • Updated queries

v0.5.1

29 Apr 10:29
Compare
Choose a tag to compare

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

18 Mar 10:31
Compare
Choose a tag to compare

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

16 Mar 17:59
Compare
Choose a tag to compare

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

04 Mar 09:50
Compare
Choose a tag to compare

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

04 Mar 09:45
Compare
Choose a tag to compare

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

16 Feb 22:53
Compare
Choose a tag to compare

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

16 Feb 13:49
Compare
Choose a tag to compare

0.3.0

Final grammar for C3 0.6.7.

Changes

  • Added grammar for inline enums
  • Removed experimental <[]> syntax
  • Updated highlights.scm