Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 14531, YAPP - Source code highlighter for many languages. Updated.

by John Kaster Email: Anonymous


YAPP stands for "Yet Another Pretty Printer". It doesn't actually reformat code, but it does generate syntax highlighting in both HTML and RTF, and is highly configurable.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 4.0  to 7.0 2908 downloads
Copyright: No significant restrictions


Size: 317,868 bytes
Updated on Wed, 02 Jul 2003 17:38:47 GMT
Originally uploaded on Mon, 13 Mar 2000 00:00:00 GMT
SHA1 Hash: 24AF6D9AC6C0CC4A2B167485E42391849498976A
MD5 Hash: D1F9E3F9BF4C5396A7DB02C1E01C4860

    Explore the files in this upload

Description
YAPP stands for "Yet Another Pretty Printer". While it doesn't actually do what most pretty printers do yet, mainly reformatting source code, it does generate syntax highlighting in both HTML and RTF. Both the HTML and RTF output is configurable.

Updated to support C#, include some missing Delphi keywords, and a C++ keyword.

This version escapes "\" for generated HTML source code, to improve syntax highlighting for code published on BDN.

On 15-Aug-00, I fixed bug a with parsing expressions like "a = b/c", and moved the Source Code/Highlighted Code/Raw Code tabs up to the top of the page control to reduce mousing around.

HTMLStyl.TXT contains definitions for the supported output styles. See it for more info. The style names are case sensitive, so make sure you don't change the case if you change the style. I have the HTML Style output values set for syntax highlighting content for the Borland community site right now.

FaceHdr.RTF is a Rich Text Format (RTF) file that contains the same styles as those included for HTMLStl.RTF. You can edit it with Microsoft Word or something else that supports RTF editing, or edit it with a text editor if you know RTF.

You can drag and drop files into the file list combo box and the language type will be automatically detected (based on the file extension), or type in source code in the editing window, then press the button to have it syntax highlighted in either RTF or HTML. You can configure all highlighting options, including whether the syntax highlighted version gets automatically copied to the clipboard.

Supported languages include C++, C#, Delphi, Java, SQL, IDL, XBase.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03