Find file
Fetching contributors…
Cannot retrieve contributors at this time
109 lines (84 sloc) 1.73 KB
Graph Grammar
graph:
statements
statements:
terminated_declaration
terminated_relation
statements terminated_declaration
statements terminated_relation
terminated_declaration:
declaration ;
declaration:
item_declaration
tag_declaration
step_declaration
terminated_relation:
relation ;
relation:
step_execution
step_prescription
step_execution:
instance_list -> step_instance
instance_list -> step_instance -> instance_list
instance_list <- step_instance
instance_list <- step_instance <- instance_list
step_instance <- instance_list
step_instance -> instance_list
step_prescription:
tag_instance :: step_instance_list
step_instance_list :: tag_instance
instance_list:
item_instance
tag_instance
instance_list , item_instance
instance_list , tag_instance
tag_instance:
< T_NAME tag_description >
< T_NAME >
tag_description:
: tag_component_list
tag_component_list:
tag_component
tag_component_list , tag_component
tag_component:
T_NAME T_NAME
T_TYPE T_NAME
T_NAME
T_NAME T_NAME ( param_list )
T_TYPE T_NAME ( param_list )
T_NAME ( param_list )
param_list:
param
param_list , param
param:
T_NAME
item_instance:
[ item_definition tag_description ]
[ item_definition ]
item_definition:
T_NAME T_NAME
T_TYPE T_NAME
T_NAME
step_instance_list:
step_instance
step_instance_list , step_instance
step_instance:
( T_NAME )
( T_NAME tag_description )
T_ENV
item_declaration:
item_instance attribute_list
item_instance
tag_declaration:
tag_instance attribute_list
tag_instance
step_declaration:
step_instance attribute_list
step_instance
attribute_list:
attribute
attribute_list , attribute
attribute:
T_NAME = T_NAME
T_NAME = T_NUMBER
T_NAME = T_QUOTEDVAL