I know in advance that my target grammar is complex. So I would like to start at the lower, simpler levels and start testing my lexeme and grammar rules as I write them.
* Can I change the starting rule of a (SLIF) grammar at runtime? I would like to test very basic rules -- the kind that I'll only see in slices far into a file -- (bottom-up) before defining the grammar from the top down. If I can specify a rule and a string (to G->parse or R->read), I can write easy regression tests that each rule recognizes valid strings and rejects invalid strings. I could modify the grammar file(s) for each test, but that seems like a bad idea. I'm all ears if there's a better way to do this. * At a higher level, can you point me to any great examples of regression tests for a Marpa grammar? * Even more generally, how do people develop and test a Marpa grammar? Thanks! - Ryan -- 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.
