Xighlight C source code...
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Ognjen Milan Robovic e8e1121f5c Added file types, Ada and C++ highlighting modes... 8ヶ月前
LICENSE Initial commit 8ヶ月前
README.md Image fuckery again... 8ヶ月前
c_hello.png Added image, updated bunch of stuff... 8ヶ月前
compile.sh Added file types, Ada and C++ highlighting modes... 8ヶ月前
install.sh Very cool redesign... 8ヶ月前
xighlight.c Added file types, Ada and C++ highlighting modes... 8ヶ月前

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