Skip to content

gml4gtk/gml-graph-parser

Repository files navigation

gml-graph-parser

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