ghalkes:~# command line tools

Tilde Terminal Toolkit


The libt3highlight library provides functions for syntax-highlighting different types of text files. Its main design goal is an easily restartable syntax highlighting, suitable for use in interactive text editors.

To make the syntax highlighting restartable, libt3highlight uses a single integer start-of-line state. However, it does provide several advanced features, such as dynamic end-of-state patterns, which make it possible to highlight complex languages like Perl and Bash with high fidelity.


libt3highlight version 0.4.4 & 0.4.5 released

These releases contains no functional changes, and only change the packaging.


libt3highlight version 0.4.3 released

This release adds highlight support for C++ raw string literals and the Ruby language.


libt3highlight version 0.4.0, 0.4.1 & 0.4.2 released

This release contains several changes to the interface for detecting languages, which make it possible to retrieve more information about the detected language. Basic highlighting for PHP was added, and the HTML highlighting had several small fixes.



The documentation for libt3highlight can be generated using doxygen, using the doxygen.conf file in the source package. Documentation for the latest version can also be found here. It includes descriptions of both the syntax-highlighting files and the API.


The source for libt3highlight is available here (signature). Older releases are available here. All releases are signed with the GPG key for (0x5A22F7B45F39DE51).

libt3highlight requires GNU libtool, libpcre version 8.00 or later, and libt3config to be compiled. libt3highlight versions before 0.3.0 can be built with older libpcre verions.

Binary packages for libt3highlight are available from the Tilde repositories.


You can reach me at: libt3highlight @ REMOVE

Copyright Notice

Copyright © 2011-2017 G.P. Halkes
libt3highlight is distributed under the GNU General Public License version 3.