Eagle Legacy Modernization, LLC


Back to main page

This is a sample application. Given a source program with non-standard style, it can be parsed and "pretty-printed". Google's search results page tries very hard to compress the html, using every trick they can think of, for speed. At the price of readability.

This is just a demonstration of how Java Annotations can be used to control output formatting. Here is the Javascript try/catch block programmar showing annotations for formatting. Note the @NEWLINE, @INDENT, @OUTDENT and @NOSPACE annotations.

Click on this image to see the original (or click here to see it in a browser):

And click on this image to see the pretty printed version (or click here to see it in a browser):