MixedCC
|
MixedCC (Mixed Compiler Compiler) is generic parsing engine and parser generator. It is capable of parsing and handling inner layer stacks in multi-layer templates (like JSP/PHP). It is open source in Java.
Mixed has nothing to do with number of languages supported, but with ability to control and process parsing inner layers inside parallel branches of outer statements (such as if-else).
Parsing mechanism works as Detachable-Layer Stack Machine.
SPIndent is an implementation of MixedCC for JSP/PHP/ASP which uses JavaCC-generated TokenManager.
More at: [MixedCC and SPindent website (http://spindent.paneris.net/)]
This article (or an earlier version of it) contains material from Paneris, used with their permission.