Xighlight C source code...
Go to file
2024-03-02 09:29:09 -05:00
.gitignore Revised readme file and added screenshot... 2024-02-23 13:02:33 -05:00
compile.sh Added file types, Ada and C++ highlighting modes... 2023-09-17 14:29:41 -04:00
install.sh Very cool redesign... 2023-09-12 05:23:59 -04:00
LICENSE Initial commit 2023-08-25 16:54:41 -04:00
README.md Updated readme... 2024-02-23 14:05:11 -05:00
screenshot.png Revised readme file and added screenshot... 2024-02-23 13:02:33 -05:00
xighlight.c Added Xofya highlighting... 2024-03-02 09:29:09 -05:00

xighlight

xighlight -- Program for highlighting program output, source code and various text files in terminal.

  • Everything related to my libraries is clean of all warning options on Clang, GCC and Valgrind.
  • You can easily add new syntax support with it, for your own language or some that I didn't include.
  • There are 2 ways to use this program, you can see them below, or use -h / --help to see it.

Compile:

$ sh compile.sh

Install:

$ sudo sh install.sh

Use:

$ xighlight my_program.ext                   -- "This way, language is selected by the extension."
$ cat my_program.ext | xighlight [extension] -- "You need to specify the language, check -h / --help."
$ xighlight [extension] < my_program.ext     -- "Again, since it's reading from standard stream..."

Currently supported programming and scripting languages are:

  • C, Ada, C++, assembly, Flat assembly, Fortran, shell.

screenshot