wlwl2 / tree-sitter-gdscript

Tree sitter grammar for Godot's GDScript

Home Page:https://www.npmjs.com/package/tree-sitter-gdscript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Tree sitter grammar for Godot's GDScript

https://www.npmjs.com/package/tree-sitter-gdscript

License:MIT License


Languages

Language:JavaScript 80.0%Language:Rust 14.8%Language:C++ 4.0%Language:Python 1.2%