You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently stumbled upon the same issue with writing a formatter/linter for GDScript that you describe in #356, i.e., we don't have any semantic information about the source code.
I thought about creating another project that includes Godot as a submodule and exposes just the GDScript parser/analyzer/compiler to build upon. Maybe even as a simple C API which would allow using the parser/analyzer/compiler from any language that supports C FFI, but I think this would mean a lot of work.
Expsing the parser/analyzer/compiler would also enable the creation of standalone tools similar to Golangs gofmt and go vet.