Hi @SOLVE-SMART,
I am sorry for the problems you found, that's my bad. 😞
The warning with $TYPES_TO_PROPERTY_NAMES possibly being used before declaration, i have fixed with a #forcedef.
The error with "Statement cannot be just an expression", will pass at runtime, but would not work as expected, so I've fixed it with a new helper method "__setKeyValue"
The warning/error with $a being an undeclared global variable and possibly used before declaration, was an oversight by me and have been fixed.
No problem at all My vscode-autoit3-debug extension simply does not use the Au3Check tool, and therefore i only notice issues at runtime, currently (I should have manually used Au3Check before uploading 🤡). If i had reached the non declared variable area, the code would have crashed and I would have noticed, but had not yet, and the AutoIt runtime itself therefore does not care
But I've updated the uploaded files, after fixing the issues.
You only need the parser.au3 file for testing, the autoit3-modified.pegjs is just for showing the source grammar that generated the AutoIt3 code
Thanks for the heads up, and once again my apologies for my lack of quality control 😅