|
|
For most programmers, writing source code is like art. Debugging and testing the outcome is hard work, but the initial code writing is effortless and enjoyable. And what does a programmer have to do if they want to share bits of code with other people right from the website? Use Webcpp.
Webcpp is a tool that lets you export source code to HTML. It doesn't just preserve formatting, it also colorizes your code on the way, that is, highlights the syntax. Currently the tool supports Ada95, Assembler, Basic, C, C#, C++, Cg, CLIPS, Fortran, Haskell, Java, Makrup, Modula 2, Objective C, Pascal, Perl, PHP, Python, Tcl and Unix shell. It doesn't embed all the highlighting into the page itself but uses cascading stylesheets to customize the look of exported HTML pages.
The tool is free and a great help in exporting both tiny bits of code and lengthy scripts. Download it today and see it for yourself.
|