Xighlight C source code...
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
Ognjen Milan Robovic e8e1121f5c Added file types, Ada and C++ highlighting modes... 8 miesięcy temu
LICENSE Initial commit 9 miesięcy temu
README.md Image fuckery again... 8 miesięcy temu
c_hello.png Added image, updated bunch of stuff... 8 miesięcy temu
compile.sh Added file types, Ada and C++ highlighting modes... 8 miesięcy temu
install.sh Very cool redesign... 8 miesięcy temu
xighlight.c Added file types, Ada and C++ highlighting modes... 8 miesięcy temu

README.md

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