GrammarToken
Listing of GrammarToken Types »GrammarToken[form]
is a grammar rules pattern object that represents any input of the specified form.
Details

- GrammarToken is used in GrammarRules, along with FixedOrder, AnyOrder, etc.
- GrammarToken works with any form supported by Interpreter.
- New forms can be introduced by giving rules for GrammarToken["string"] in GrammarRules.
Examples
open all close allBasic Examples (2)
Deploy a grammar that makes use of a built-in GrammarToken:
Apply the grammar to an input:
Deploy a grammar that defines and uses an "Appliance" token:
Scope (1)
Applications (1)
Properties & Relations (1)
Introduced in 2014
(10.0)