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.

README.md 959B

9 months ago
7 months ago
3 months ago
1234567891011121314151617181920212223242526272829
  1. # xighlight
  2. xighlight -- Program for highlighting program output, source code and various text files in terminal.
  3. - Everything related to my libraries is clean of all warning options on Clang, GCC and Valgrind.
  4. - You can easily add new syntax support with it, for your own language or some that I didn't include.
  5. - There are 2 ways to use this program, you can see them below, or use -h / --help to see it.
  6. Compile:
  7. ```bash
  8. $ sh compile.sh
  9. ```
  10. Install:
  11. ```bash
  12. $ sudo sh install.sh
  13. ```
  14. Use:
  15. ```bash
  16. $ xighlight my_program.ext -- "This way, language is selected by the extension."
  17. $ cat my_program.ext | xighlight [extension] -- "You need to specify the language, check -h / --help."
  18. $ xighlight [extension] < my_program.ext -- "Again, since it's reading from standard stream..."
  19. ```
  20. Currently supported programming and scripting languages are:
  21. - C, Ada, C++, assembly, Flat assembly, Fortran, shell.
  22. ![screenshot](screenshot.png)