GNU Source-highlight

Software Screenshot:
GNU Source-highlight
Software Details:
Version: 3.1.7
Upload Date: 20 Feb 15
Developer: Lorenzo Bettini
Distribution Type: Freeware
Downloads: 2

Rating: nan/5 (Total Votes: 0)

GNU Source-highlight produces a document with syntax highlighting when given a source file.

Source-highlight reads source language specifications dynamically, thus it can be easily extended (without recompiling the sources) for handling new languages.

GNU Source-highlight also reads output format specifications dynamically, and thus it can be easily extended (without recompiling the sources) for handling new output formats. The syntax for these specifications is quite easy (take a look at the manual).

Since version 2.2, source-highlight can also generate cross references; in order to do this it relies on GNU Ctags.

These are the output formats already supported:

HTML
XHTML
LATEX
TEXINFO
ANSI color escape sequences (you can use this feature with less)

These are the input languages (or input formats) already supported (in alphabetical order):

C/C++
Bison
Caml
Changelog
Diff
Flex
Fortran
Html
Java
Javascript
Latex
Logtalk
Log files
Lua
ML
Pascal
Perl
PHP
Prolog
Python
Ruby

What is new in this release:

  • fixed compilation bugs in MacOsX systems (thanks to Trevor Spiteri)
  • language definition for Lilypond (thanks to Federico Bruni)
  • language definition for R statistics programming language
  • language definition for ISLISP (thanks to Christian Jullien)
  • improved Erlang definition file (thanks to Erik Soe Sorensen)
  • new output format: ESC 256 ascii code (thanks to Xavier-Emmanuel Vincent).

What is new in version 3.1.6:

  • language definition file for T/Foswiki TML markup (thanks to Paul W. Harvey)
  • new output format: ODF (e.g. for LibreOffice or to generate ODF color-highlighted snippets to be used by ODF back-ends, like asciidoc-odf). Thanks to Dag Wieers.
  • new output format: MediaWiki thanks to Abe Skolnik

What is new in version 3.1.4:

  • fixed compilation problems for Sun CC
  • php handles embedded html
  • html handles embedded css and javascript
  • Google's Protocol Buffers language definition added (thanks to Joel Smith)
  • CakePhp template files highlighted as php
  • haskell literate programming highlighting
  • vala language definition (thanks to Luca Bruno)
  • lisp language definition (thanks to Michael McDermott)

What is new in version 3.1.3:

  • --tab option is correcly handled
  • install script with the executable bi
  • bash is highlighted

What is new in version 3.1.1:

  • Access to static global LangDefManager, LangMaps is provided through the class Instances.
  • A mechanism for setting a global data directory value was added, together with library utility functions to retrieve .lang and .outlang files.
  • The SourceHighlight class returns the output file extension.
  • The background color for the document is kept empty if it is not specified in the style file.
  • The utils.h file is installed in the header directory.
  • White is a standard color in style files.
  • Language definition files for Texinfo and Haskell were added.

What is new in version 3.1:

  • library utility functions to retrieve .style and .css files
  • fixed library manual link in index.html
  • doxyfile is now distributed
  • better formatting for < and > in latex output
  • doxygen documentation can be built even when building in a separate directory
  • added man page for source-highlight-settings
  • language definition for Oz, thanks to David Bremners

What is new in version 3.0:

  • provides a library for highlighting that can be used by other programs.
  • --regex-range (highlight only specified lines of an input file, according to specific regular expressions describing the delimiting lines).
  • deal with HTML5 features (thanks to Simon Pieters)
  • use --docdir for documentation directory
  • --binary-output command line option to write output files in binary mode
  • Added the program source-highlight-settings to write a configuration file for source-highlight (and its library) in the user home directory.
  • languange definition for generic configuration files
  • languange definition for pkg-config files
  • the input language is now discovered also using the whole file name (besides the file extension if any)
  • in .lang files one can specify the exit level

What is new in version 2.11.1:

  • Language definitions for Fortran, Caml, and JavaScript were improved.
  • An installation bug in non-root mode was fixed.
  • Ada language definition file was added.

Similar Software

Other Software of Developer Lorenzo Bettini

MyIpTrack
MyIpTrack

6 Jun 15

PhpBibliography
PhpBibliography

11 May 15

GNU Gengetopt
GNU Gengetopt

20 Feb 15

Comments to GNU Source-highlight

Comments not found
Add Comment
Turn on images!