Projects / Beautifier


Beautifier (previously known as PSH, the PHP Syntax Highlighter) highlights and indents source code using highlight configuration files which are similar to Ultraedit highlighting files. It supports C, C#, Java, Perl, PHP, Pascal, Lisp, Mumps, Eiffel, Euphoria, and x86 Assembler, amongst others. It handles line/block comments, keyword highlighting, correct indentation, string highlighting, language contexts (allowing embedded languages), and selection highlighting. It is available in PHP and Perl versions.


Recent releases

  •  27 Oct 2001 20:07

    Release Notes: Beautifier is the new release of what used to be PSH. There are lots of new features, including selection highlighting, language contexts (in case you want to split up big source files), output modules (for different output styles), language contexts, and a number of other bugfixes/optimisations. The API has been brought up to match that of the Perl version. Tutorials/Demos are also online now.

    •  27 Oct 2001 20:06

      Release Notes: This is the first release of the Perl version of Beautifier (was PSH). It contains almost all features of the PHP version (modular syntax highlighting, contexts, selection highlighting, comment support, string support, flexible keyword handling, etc), and also has a 'magic' module that attempts to highlight files by examining their source. Tutorials/demos are at the web site.

      •  15 Jul 2001 03:24

        Release Notes: Approximately 240 new highlight files in the list including Delphi, several assembler variants, matlab, ocaml, modula, and many others on top of the currently-supported languages, a more object-oriented design, each highlight configuration extends the core PSH class so you can mix and match languages in a single script, numerous small bugfixes, a mild optimization on delimiters, and PSHConv updates to handle the new structure.

        •  13 Jul 2001 03:49

          Release Notes: A faster highlighter. removal of a number of bottlenecks, conversion of the configuration files to PHP files with new converter (speeds up initialization and provides greater flexibility), dynamic keyword manipulation (all PHP functions can link to the PHP documentation for that function), optionally case-insensitive syntaxes, and lots of small bugfixes and optimizations.

          •  09 Jul 2001 21:52

            Release Notes: Now supports more languages: VB.NET, Scheme, Python, JScript, C++, and VBScript have been added. The code has been tidied up a bit, and a few more comments have been added. The example has been separated from the PSH package (now available as 2 scripts.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.