Projects / Webcpp

Webcpp

Webcpp (Web C Plus Plus) is a command line utility that takes your source code and converts it into an HTML file, using a fully customizable syntax highlighting engine and stylesheets. Webcpp currently supports Ada95, Assembler, ASP, Basic, C, C#, C++, Cg, CLIPS, DOS Batch, EMF, Euphoria, Fortran, Haskell, Java, Javascript, Markup, Modula2, Objective C, Pascal, Perl, PHP, Power Builder, Python, RenderMan, Ruby, SQL, Tcl, Unix shell, UnrealScript, and VHDL highlighting.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  05 Jan 2004 09:23

    Release Notes: This version includes improved support for UnrealScript highlighting, copying of background images specified in the color schemes to the output directory, and smaller files for backgrounds.

    •  11 May 2003 08:52

      Release Notes: This release adds highlighting support for inline Assembly in C++ code, and JavaScript embedded in HTML files. MMX and SSE registers were added to the Assembly keytypes, and colour schemes are now searched for in the default directory is none is given. SuperInclude and external stylesheet generation now follow directories properly, and the documentation has been updated.

      •  07 May 2003 08:12

        Release Notes: A DOCTYPE tag was added to the output. A "--snippet-only" option that doesn't generate HTML or BODY tags was added, and and the syntax highlighting stylesheet was moved into its own namespace so that it doesn't interfere with elements of other stylesheets.

        •  06 Feb 2003 10:53

          Release Notes: This version incorporates a revamped syntax colour scheme engine (SCS2), yet remains compatible with the original SCS format. The new format uses 11 highlighting elements, can store background picture information, and is expandable because it is stored as XML data. Support for UnrealScript has been added, and the documentation has been updated.

          •  26 Jan 2003 12:21

            Release Notes: This release adds a separate color element for single quoted strings and background picture information to the Scs2 format. Pre2 breaks the Pre1 format, but molds a more solid and expandable file format for Scs2. The data in the Scs2 files no longer needs to be in any specific order.

            Recent comments

            12 Dec 2001 13:03 staeryatz

            RE: Python quoted quotes 2
            It's now fixed (ver 0.6.3). Enjoy.

            12 Dec 2001 06:50 staeryatz

            Re {3}: Highlighting Support for PHP

            >
            > didnt want to say that Webcpp is
            > useless :)
            > just its php stuff.

            Great! Cool! show_source() sounds good. I actually find it quite humourous that webcpp's PHP support IS practically useless to you (and possibly others). But it's already in there, and no use removing it now, so we'll all just have to live with it. :)

            Useful or not, adding PHP support was a fun learning experience for me anyways, and I enjoyed coding every line of it.


            cheers,

            --Jeffrey Bakker

            webcpp author

            12 Dec 2001 02:39 disasta

            Re: Highlighting Support for PHP

            > Even if you'd still rather use
            > show_souce(), Webcpp also offers support
            > for 7 other languages, so it's not
            > totally useless...


            didnt want to say that Webcpp is useless :)
            just its php stuff.

            You can configure your colors for PHP Sourcehighlighting by setting configuration vars @php.ini, and i guess it is possible to change them in .htaccess too

            regards,
            Peter Petermann


            08 Dec 2001 13:58 staeryatz

            Re: Highlighting Support for PHP

            > what is that for?
            > using
            > show_source()
            > you highlight PHP Source dynamical, no
            > need for static source-highlighted
            > files..

            Thank you for the tip. I did not know that. If you'd rather do that, then fine, don't use webcpp for highlighting your PHP code. But does show_source() support static AND dynamic colour schemes for your highlighting? Webcpp does.


            Even if you'd still rather use show_souce(), Webcpp also offers support for 7 other languages, so it's not totally useless...


            --Jeffrey Bakker

            webcpp author

            07 Dec 2001 07:52 disasta

            Highlighting Support for PHP
            what is that for?
            using
            show_source()
            you highlight PHP Source dynamical, no need for static source-highlighted files..

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.