Xighlight C source code...
Go to file
2023-09-14 20:08:30 -04:00
c_hello.png Added image, updated bunch of stuff... 2023-09-12 07:59:52 -04:00
compile.sh Very cool redesign... 2023-09-12 05:23:59 -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 Image fuckery again... 2023-09-12 08:02:58 -04:00
xighlight.c Added Ada highlighting, changed bunch of simple stuff... 2023-09-14 20:08:30 -04:00

xighlight

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.c | xighlight
$ xighlight < my_c_program.c

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

screenshot