-
Notifications
You must be signed in to change notification settings - Fork 4
Graph Grammar Syntax
thnoll edited this page Mar 28, 2018
·
5 revisions
Graph grammars are specified as a JSON-array of rules having the following form:
{
"nonterminal": String,
"rank":Number,
"reductionTentacles":[Boolean],
"index":[String],
"rules":[ HeapConfigurationObject ]
}-
nonterminal: the nonterminal on the left hand side of this rule -
ranksee rank -
reductionTentaclesistrueat position i if the i'th tentacle is a reduction tentacle -
indexis an optional attribute for indexed grammars. (For its syntax see here.) -
rulesis an array of heap configurations which form the right hand sides of this rule. (For their syntax see here.)