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

Just as abstractize is a preconditioned version of project, this operator is a variation of inject. The XBGF engine checks if the marked part only consists of terminal symbols: if yes, injection happens; if not, the transformation is inapplicable.

Syntax

concretize:
        marked-production

Example

Given the input:

A:
        b c

After using this transformation:

concretize(
 A:
        b <"x"> c
);

Will look like this:

A:
        b "x" c

Relevant files

See also

  • Concretize is a part of XBGF

Contributors

Clone this wiki locally