From b3f1bc6f77e399bd197d473e973c8869a0d3142d Mon Sep 17 00:00:00 2001 From: Ognjen Milan Robovic Date: Sun, 20 Apr 2025 10:07:05 +0000 Subject: Emil... Please... --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..83b67ec --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# xighlight + +## xighlight -- Program for highlighting program output, source code and various text files in terminal. + +Compile: `$ sh compile.sh` + +Install: `$ sudo sh install.sh` + +License: GNU/GPLv3 + +This library depends on (these libraries are included in static version of the program): +- xtandard: https://gitlab.com/xolatile/xtandard +- xyntax: https://gitlab.com/xolatile/xyntax +- xanguage: https://gitlab.com/xolatile/xanguage + +About this program: +- It is extremely slow, it's written to be generic and extensible, not language specific or optimized. +- You can easily add new syntax support with it, for your own language or some that I didn't include. +- There are 3 ways to use this program, you can see them below, or use -h / --help to see it. +- Everything related to my libraries is clean of all warning options on GCC and Valgrind (hopefully). + +Use: +```bash +$ 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..." +``` + +![screenshot](screenshot.png) -- cgit v1.2.3