More on grammar metadata

Hi folks,

I got some encouraging replies to my earlier post about grammar metadata, so I thought it might be useful if I made it a little easier to play with. To that end, I’ve crafted a branch that incorporates the changes into the spec:

  https://ndw.github.io/ixml/branch/metadata/

and builds a complete grammar that includes the feature:

  https://ndw.github.io/ixml/branch/metadata/ixml.ixml.html

You can parse experimental grammars with this grammar to see the how the metadata is represented. For example, if you save that grammar as “metadata.ixml”:

  coffeepot -g:metadata.ixml -i:test.ixml -pp

You can’t use “test.ixml” to actually parse input because current iXML processors won’t recognize the metadata in the prolog. But if this idea gets traction, I’ll publish a NineML release that supports it as an experimental feature.

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh
Saxonica

Received on Friday, 15 March 2024 12:13:20 UTC