Hi Folks I've been using the Perl module Marpa to design a parser for Graph::Easy style graph definitions, with great success.
So far, I haven't written a lexer to turn the definitions into an intermediary language, but I've designed that intermediary language along with a Marpa-style grammar, which handles many cases of Graph::Easy syntax. In a day or two I'll release a set of modules under the Graph::Easy::Marpa namespace, which has currently 12 files containing examples of the intermediary language, and a number of tests, all documented. -- Ron Savage http://savage.net.au/ Ph: 0421 920 622