xighlight/README.md

34 lines
792 B
Markdown

# xighlight
I'm gonna update this, I swear...
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:
```bash
$ sh compile.sh
```
Installing:
```bash
$ sudo sh install.sh
```
Using:
```bash
$ cat my_c_program.ext | xighlight
$ xighlight < my_c_program.ext
$ xighlight -i my_c_program.ext
```
This is what it prints to standard output, when standard input is C source code:
![screenshot](c_hello.png)