"lint" like support for OpenSCAD

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

"lint" like support for OpenSCAD

khackbarth

I’m not a very disciplined coder in OpenSCAD.  I just sort of keep adding code and commenting out or deleting code until I get what I want.  It’s not a pretty process. 

 

Now the program is behaving as I’d like but I don’t know how much detritus still exists in the code. 

 

Has anyone written a program that would take an OpenSCAD file as input and would produce a report pointing out things like variables that never get used, modules that never get called, modules that are called with fewer parameters than the module expects (assuming that the new version of OpenSCAD doesn’t already identify this).   Probably other stuff as well that I’d know about if I was a more disciplined coder 😊

 

Thanks,

Ken


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org