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

by John Kaster Email: jkaster@codegear.com


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.
DownloadDetails
Download 310.4K
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 2690 downloads
Copyright: No significant restrictions


Updated on Wed, 02 Jul 2003 17:38:47 GMT
Originally uploaded on Mon, 13 Mar 2000 00:00:00 GMT

   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
Reply  Posted by N/A dk_sz_up on Feb 02 2004
Request: Command line parameters?
Reply  Posted by John Kaster on Jan 29 2003
re: YAPP - Yet Another Pretty Printer Linux version?


Server Response from: USSVS-BDN2

 
© Copyright 2008 Embarcadero Technologies, Inc. All Rights Reserved. Contact Us   Legal Notices   Privacy Policy   Report Software Piracy