3 ms·
This has some real promise. Congrats! Are you planning to parse PHP?
by paulyg 14y ago
This has some real promise. Congrats! Are you planning to parse PHP?
- caustic 14y ago> This has some real promise. Congrats! Thanks! > Are you planning to parse PHP? Sure, more languages are on the way! The problem with PHP, however, is that when it is used in a HTML page as template language, you can't get much from it. On the other side, when it is a simple class file with no HTML markup, things should work as with any other language.
- pbiggar 14y agoWhen it's used as a HTML page with interspersed PHP, you just convert the HTML to strings. Look at the phc parser (http://phpcompiler.org http://phpcompiler.org). You can definitely get good static analysis info (I wrote the phc static analyser).