1
0
Fork
You've already forked libhighlight
0
Source code highlight library in C
  • C 89.6%
  • Makefile 5.2%
  • M4 2.7%
  • Shell 2.5%
Find a file
2022年02月05日 20:47:57 +02:00
highlight term plus html compilers 2022年01月13日 21:16:21 +02:00
src class decl support 2022年02月05日 20:47:57 +02:00
test tests makefile missing copy 2022年01月21日 18:21:11 +02:00
bootstrap copying info ac warnings fix 2022年01月21日 17:56:23 +02:00
configure.ac empty prev fix 2022年01月22日 19:16:51 +02:00
LICENSE readme and license files 2022年01月13日 21:36:07 +02:00
Makefile.am copying info ac warnings fix 2022年01月21日 17:56:23 +02:00
README.md missing header 2022年01月21日 18:04:23 +02:00

libhighlight

Source code highlight library in C

Introduction

A library for syntax highlighting which supports terminal and html output. Fast and lightweight, has no dependencies.

Features

  • No dependencies
  • Entirely written in C
  • Fast, if you have something faster - please share it with me

Supported languages

Currently libhighlight supports:

  • C
  • sh
  • perl

How to Install

The html support is optional, so you have to provide a special option for the configuration script to enable its support.

./bootstrap
./configure --enable-html
make
make install

Todo

  • Check how javascript highlighting works, especially ES5
  • Make highlight for numbers optional

License

GPLv2


 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; either version 2
 of the License, or (at your option) any later version.
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 Author: g0tsu
 Email: g0tsu at dnmx.0rg