Xighlight C source code...
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Ognjen Milan Robovic 226c334ee9 Added Xofya highlighting... vor 2 Monaten
.gitignore Revised readme file and added screenshot... vor 2 Monaten
LICENSE Initial commit vor 8 Monaten
README.md Updated readme... vor 2 Monaten
compile.sh Added file types, Ada and C++ highlighting modes... vor 7 Monaten
install.sh Very cool redesign... vor 7 Monaten
screenshot.png Revised readme file and added screenshot... vor 2 Monaten
xighlight.c Added Xofya highlighting... vor 2 Monaten

README.md

xighlight

xighlight -- Program for highlighting program output, source code and various text files in terminal.

  • Everything related to my libraries is clean of all warning options on Clang, GCC and Valgrind.
  • You can easily add new syntax support with it, for your own language or some that I didn't include.
  • There are 2 ways to use this program, you can see them below, or use -h / --help to see it.

Compile:

$ sh compile.sh

Install:

$ sudo sh install.sh

Use:

$ xighlight my_program.ext                   -- "This way, language is selected by the extension."
$ cat my_program.ext | xighlight [extension] -- "You need to specify the language, check -h / --help."
$ xighlight [extension] < my_program.ext     -- "Again, since it's reading from standard stream..."

Currently supported programming and scripting languages are:

  • C, Ada, C++, assembly, Flat assembly, Fortran, shell.

screenshot