-
Notifications
You must be signed in to change notification settings - Fork 15
Appear
grammarware edited this page Jan 19, 2013
·
5 revisions
The purpose of this transformation operator is to insert an nillable symbol (i.e., reducible to an empty sequence) at any place in any existing grammar production rule. It takes a production rule as an input. Inside that, one nillable subexpression should be marked.
appear:
marked-production
Given the input:
foo:
bar
After using this transformation:
appear(
foo:
bar <qux?>
);
The result will look like this:
foo:
bar qux?
- Appear is a part of XBGF