/tree-sitter-gdscript

Tree sitter grammar for Godot's GDScript

Primary LanguageJavaScriptMIT LicenseMIT

tree-sitter-gdscript

GDScript grammar for tree-sitter.

Todo

  • Format Specifiers
  • Statements
    • setget
    • export
    • const
    • signal
  • Literals
    • @"NodePath/StringName"
    • $node and $"../node"
  • Operators
    • is
    • as
  • Keyword Statements
    • breakpoint
  • Variable Attributes
    • onready
    • These can come after 'export' or before 'var'
      • remote[sync]
      • master[sync]
      • puppet[sync]
  • Function Attributes
    • static
    • remote[sync]
    • master[sync]
    • puppet[sync]
  • Compound Statements
    • match
    • enum
    • inheriting class constructor
  • Expression
    • call base class function