gml graph language peg parser in C, C++ and javascript
The gml.peg file can be used to generate a C, C++ gml graph parser using packcc at https://github.com/arithy/packcc
The gml.pegjs file can be used to generate a javascript gml graph parser using pegjs at https://pegjs.org/
The peg file is easy to edit and update if needed
The gmltest.html page is using the gml.pegjs javascript to check for valid gml graph data
The pdf is a description of the gml graph language
The t.gml file is a gml graph test file to use with gml.c and the Makefile
For gml graph layout see also gml4gtk graph viewer at https://github.com/gml4gtk/gml4gtk
There is a GNU GPL Free C++ GML graph language parser in hypercube at https://github.com/tumic0/hypercube
And hypercube also has a basic C++ parser for graphviz dot language, graphml and matrix data