Chinese version: 中文
LConsole is a liner based console program for syntax highlight.
LConsole is base on my monkey language. I think that maybe useful to others, so i created this repository. At the meantime, it used as a reference for myself.
The highlight code in highlighter.go
is not very suited for other programming language,
but should not be so difficult to do it.
Below is the demo program showing what it is:
Just download the repository and run ./run.sh
There are some limitations you need to konw:
ThemultiLineMode
ofliner
is not supported.- The code is not tested thoroughly.
- I only tested the code in centos and windows.
MIT