Skip to content
grammarware edited this page Jan 19, 2013 · 5 revisions

The argument production defines the intended result of the transformation — a production that has fewer components in the sequential composition, when compared to the corresponding production in the input grammar with the same defined nonterminal and the same label, if any.

Syntax

project:
        marked-production

Example

Given the input:

a:
        b c d

After using this transformation:

project(
 a:
        b <c> d
);

Will look like this:

a:
        b d

Relevant files

See also

  • Project is a part of XBGF

Contributors

Clone this wiki locally