- From: Norm Tovey-Walsh <norm@saxonica.com>
- Date: Mon, 25 Jul 2022 13:36:22 +0100
- To: M Joel Dubinko <micah@dubinko.info>
- Cc: "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>, public-ixml@w3.org
Received on Monday, 25 July 2022 12:44:04 UTC
> I’ll respond to some of the comments below. But first, a general > question: I know about the ixml test suite [1], but is there anything > comparable for testing a bare Earley parser? (For example, given > grammar X and input Y, you should expect a trace Z as follows...) I found a couple of examples online when I was first starting out. These are the ones from my notes: https://loup-vaillant.fr/tutorials/earley-parsing/parser https://web.stanford.edu/class/archive/cs/cs143/cs143.1128/lectures/07/Slides07.pdf IIRC, they both have worked out examples for one or two simple grammars. John’s discussion of his parser includes some printed parse tables, so you might get information that way. You can run my processor under a debugger and explore the chart. (CoffeePot has a --show-chart option, but it appears only to work if the parse fails; that’s probably a bug.) > (And apologies if I missed it, but is there a zip or other way to > conveniently download the whole ixml suite? Not ready for it yet, but > still aiming to have something semi-presentable by Balisage) git clone? Be seeing you, norm -- Norm Tovey-Walsh Saxonica
Received on Monday, 25 July 2022 12:44:04 UTC