
30 Dec
2004
30 Dec
'04
8:09 p.m.
* christopher diggins <cdiggins@videotron.ca> [2004-12-30 15:00]:
I am nearly finished a public domain C++ to HTML tool with syntax coloring.
The pretty printer recognizes and colors keywords, identifiers, string literal, character literals, number literals, macros and comments. It does so by using <span class="xxx"></span> tags around the elements. This means that italics / style / coloring can be controlled by a separate CSS file.
There are some future enhancements which could be interesting as well such as:
- automated hyper-linking of #include directives - javsascript open / close of code blocks { }
See? Look how people think of their applications in terms of *documents* these days. -- Alan Gutierrez - alan@engrm.com