What does the "Consists of" box do exactly?

0 votes
asked Apr 27, 2023 in Grammars by lambdaknight (160 points)
I've been trying to figure what this actually does. In experimenting with it, I irrecoverably lost a whole grammar I was working on, so I'll just ask you.

1 Answer

0 votes
answered May 25, 2023 by andreas (3,420 points)

Sorry for the loss, is actually the whole XML file unusable?

The consists-of was initially used for the automatic selection of one of multiple structures. It's only used in the AFP grammar.

The generic way to select one of many structures is to reference them in a structure with order "variable" and min repeat count of 0.

Please send me an email to andreas@synalysis.com in case you need further assistance with your grammar.

...