Index | Thread | Search

From:
Lloyd <ng2d68@proton.me>
Subject:
[NEW]: textproc/libt3highlight: syntax highlighting library for text editors
To:
"ports@openbsd.org" <ports@openbsd.org>
Date:
Fri, 15 Aug 2025 01:37:35 +0000

Download raw body.

Thread
Dear ports@,

Attached please find a new port for:

libt3highlight: A syntax highlighting library for text editors

This library is part of the Tilde Terminal Toolkit and was ported as a
dependency for the Tilde Text Editor, the posting of which will follow.

License:
------------
GPL3

Homepage:
------------
https://os.ghalkes.nl/t3/libt3highlight.html

Description:
------------
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. 

Regards
Lloyd