Skip to content

GDCode-Team/tree-sitter-gdscript

 
 

Repository files navigation

tree-sitter-gdscript

GDScript grammar for tree-sitter.

How To

  • Build prebuilds
    1. npm run genTest
    2. npm run prebuild
  • Build with node-gyp
    1. npm run genTest
    2. npm install node-gyp
    3. node-gyp rebuild

Note: node-gyp-build will check for binaries in both build and prebuilds directories.

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 85.0%
  • Rust 10.3%
  • C++ 3.5%
  • Python 1.2%