COMPATIBLE WITH 2.1 - NOT TESTED ON 3.x/4.x
I want to use a third party IDE, and I'm tired of having to use the Godot Editor to check if the code is correct.
sudo apt-get install python3
sudo pip3 install lark-parserpython3 ./parser.py path-to-file.gd- Lark grammar for GDscript
- Parse function call
- Parse
forstatement - Parse
whilestatement - Parse
ifstatement - *Parse
exprstatement (partial) - Parse function definition
- Parse var/const/enum declaration
- Parse
returnstatement - Detect variable shadowing
- Detect undefined variable usage (simple)
- Detect undefined variable usage (deep check)
- Detect unused variables
- Deep check inheritance