First ... It would be possible to do a simple syntax highlighting with PEG.
I'm only looking for it to be able to recognize and highlight the main things that are common to c style languages
Second ... If there are examples of this or something similar, please let me know
Thirdly ... If I go about it wrong, and there are more common and proven ways to do this, then let me know
source share