Pegged, a Parsing Expression Grammar (PEG) generator in D
Elie Morisse
syniurge at gmail.com
Wed Aug 7 15:14:56 PDT 2013
Hi Philippe,
I wrote a Kate(the official text editor of KDE, also used in
KDevelop) syntax highlighting file for Pegged:
http://www.homo-nebulus.fr/dlang/pegged.xml
Screenshot:
http://imgur.com/sb3jFqs.png
Of course for the syntax highlighting to work the grammar must be
in a separate file and included like this in a .d file:
mixin(grammar(import("Tales.pgd")));
More information about the Digitalmars-d-announce
mailing list