Unconditional loop exists

Brian Schott briancschott at gmail.com
Tue Aug 13 10:58:28 PDT 2013


If you get bored:
1. Run "dscanner --ast" on some source code
2. Create an XPath expression to find the code you don't like
3. Create a tool that checks the expression against the AST
4. Enjoy your low-budget static code analysis tool.

(This idea shamelessly stolen from PMD)

https://github.com/Hackerpilot/Dscanner/
http://pmd.sourceforge.net/pmd-5.0.5/xpathruletutorial.html


More information about the Digitalmars-d mailing list