Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: Steve Stallings on May 28, 2017, 08:59:50 AM
-
Ran across a code analyzer called luacheck and wonder if it can be used in the Mach4 environment?
http://boston.conman.org/2015/04/24.1
https://github.com/mpeterv/luacheck
-
Looks very interesting and still maintained, but I think it will need a lot of customizing to include wxLua and the Mach API.
Just my OP
DazTheGas
-
I tried luacheck with my current module:
680 source lines produced 1017 warnings and from that 1017 warnings there was ONE that made me change my code.
So the random noise is tremendous. luacheck does not know wxlua nor mach4 - so I agree with DazTheGaz.
Additionally it would be a huge job to enable luacheck to process lua code from screen.xml ...