Thanx for the code. I'm turn it into a program for studying. As per my reply to rns, the Graphviz DOT language is the ultimate target, and my code for that already uses various events.
That's not to say events are mandatory. Indeed, the original version of the code only ever had events because I could not write the grammar to handle the strings [1] [2], so I used events to do the string parsing manually. Switching to actions is always a possibility. As always, I'm not limited by your skills/knowledge of these issues, but I am limited by my lack thereof. [1] Look for the definition of ID: http://www.graphviz.org/content/dot-language [2] My version: https://metacpan.org/pod/MarpaX::Demo::StringParser#What-is-the-grammar-parsed-by-this-module -- You received this message because you are subscribed to the Google Groups "marpa parser" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
