Re: A Proposal for an ixml Preprocessor

On 11/11/2024 13:25, Steven Pemberton wrote:
> Enclosed is a document proposing a preprocessor that allows the 
> construction of an ixml grammar from several 'library' grammars 
> without having name clashes, and without changing the semantics of ixml.
>
> Best wishes,
>
> Steven

    *All processed libraries are concatenated with the invoking grammar.*

I think it would be much more powerful if only the rules required (i.e. 
accessible from via nonterminal chains) for the requested rules are 
incorporated. Then you can partially reuse lower-level subgrammars, 
writing your own higher layers.

-- 
*John Lumley* MA PhD CEng FIEE
john@saxonica.com

Received on Tuesday, 12 November 2024 12:24:15 UTC