Skip to content

tristan-f-r/gdt

Repository files navigation

gdt

gdscript tools for abstract manipulation of ASTs.

ALL TOOLS ARE UNSTABLE. The grammer is subject to change at any time, and so are formatting tools, as of 0.x

Plans

  • GDScript parser (first!)
  • GDScript linter (analyze the AST to find common patterns of mistakes)
  • GDScript formatter (parse and restringify the AST)
  • GDScript LSP integration (provide additional information to linters to provide extra hints)

Grammar Development

We use pest for making grammar. As a good reference guide, GDScript has a EBNF grammar.

However, since it is EBNF and not PEG, and doesn't really comform to the implementation, there may be some extra edge cases that are covered in test.

Some useful pest resources:

About

gdscript tools for abstract manipulation of ASTs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published