Open Ragora opened 8 years ago
I fine tuned the rules a little bit better and added optional rules, so it should be a little less pedantic in the report above.
As I've gotten some renewed interest in TWM2 lately, I've decided to proceed with my plans for the 3.91 / 3.92 (Originally titled 3.9a / 3.9b) releases. I'll add this to my to-do list for that.
I have a WIP code base that would have the capacity to perform much more in depth analysis at https://github.com/Ragora/Python-TorqueScript but I need to find time to work on it.
Been fiddling with my Torque Script validator / reference generator and TWM2 came to mind as a possible test subject considering its recent revival on your servers. Here is the various things the thing had a bone to pick about (note that its still a WIP project so some of these may be false positives, but so far I haven't found conditions where the system is completely wrong):
Happy bug hunting. And yes, there is a known bug where it confuses packaged functions for redeclarations -- I just need to make the current regex take into consideration outer package blocks.
The warning list is rather small, but that's because there is hardly any property validators active in the codebase right now.
And the web output is much less fine tuned (this isn't TWM2 at this link): http://dx.no-ip.org/out/scripts/deployables.html