If you are wondering about the numbering scheme: I forgot to use the 14 and hate to waste things.
The grammar was finished in the last posting? No, it was not, of course not 😉
I added the
Matrix data type but forgot to add something to read it back in. That is hopefully repaired now. The
Object thingie had been changed back from being hardcoded into the identifier to being parsed regularly.
The grammar validates with abnf and abnfgen which is also a generator for tests. The latter does not alway work for our grammar (goes into a very large, maybe infinite loop) which shows something. I don’ know what exactly but it shows something ;-). The program called Bill’s ABNF Parser, a tool over at the IETF webpage is quite nit-picky but all over OK with it.
Uploaded to Little
Next: use of the grammar to write a parser that prints the AST. Once we have the AST, the rest are mere details. No, of course not, that would be nice, but it is a very good start.