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 24648981e1 Added common assembly highlighting... 7 months ago
LICENSE Initial commit 9 months ago
README.md Something is better now... 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 Added common assembly highlighting... 7 months ago

README.md

xighlight

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

xighlight -- Program for highlighting source code in terminal.

  • Everything related to my libraries is clean of all warning options on Clang, GCC and Valgrind.
  • I don't know what else to write here, program is being done in my free time, so expect more...
  • It kinda looks more serious if I have very long ‘README.md’ file, almost like a valid project.

Compile:

$ sh compile.sh

Install:

$ sudo sh install.sh

Use:

$ 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