Xighlight C source code...
Go to file
2023-09-18 15:38:04 -04:00
c_hello.png Added image, updated bunch of stuff... 2023-09-12 07:59:52 -04: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 Extended language support... 2023-09-17 16:17:16 -04:00
xighlight.c Something... 2023-09-18 15:38:04 -04:00

xighlight

I'm gonna update this, I swear...

xighlight -- Program for highlighting C source code in terminal.

  • Quickly written program to test out xtandard and xyntax, doesn't handle files, instead it records from standard input...
  • For now, 'xighlight' only works on ANSI C source code, without 'typedef' keyword, both will change in the future, and CLA will be added...
  • Everything related to my libraries is clean of all warning options on Clang, GCC and Valgrind.

Compiling:

$ sh compile.sh

Installing:

$ sudo sh install.sh

Using:

$ cat my_c_program.ext | xighlight
$ xighlight < my_c_program.ext
$ xighlight -i my_c_program.ext

This is what it prints to standard output, when standard input is C source code:

screenshot