Xighlight C source code...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ognjen Milan Robovic ac1729326c Something... 8 months ago
LICENSE Initial commit 9 months ago
README.md Extended language support... 8 months ago
c_hello.png Added image, updated bunch of stuff... 8 months ago
compile.sh Added file types, Ada and C++ highlighting modes... 8 months ago
install.sh Very cool redesign... 8 months ago
xighlight.c Something... 8 months ago

README.md

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