Not open source, but exactly fulfills OP requests: our JavaScript Front End .
This external interface is based on our DMS Software Reengineering Toolkit , which is a universal customizable compiler technology useful for creating arbitrary code analyzers and transformers. DMS has many interfaces for many languages ββ(COBOL, Java, C ++, ...)
In particular, DMS-based parsers (including their JavaScript code) collect complete information for restoring the source tree, including information about the beginning of the column and end information for tokens, the radius of numeric literals, differences in the rules for quoting strings, etc. let him do fidelity to the press if no conversions are applied. DMS also provides many other useful tree processing services, such as visitors, support for building symbol tables, support for stream analysis, pattern matching, and source-to-source conversion.
He can provide all of these services because the development cost has been amortized in many languages ββand in different applications.
We did this because, as Daniel said, "the possibilities are endless." He provides an example of a toolkit for viewing runtime failures; this tool is a very useful idea, and we build testing tools based on this very thought.
source share