Browsable CPR Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: ontoware/cpr/extracted
Source used for this grammar: Hugo Brunelière, Core Plan Representation, CPR.ecore, 2005/08/10

Summary

Syntax

Integer ::=
	integer
String ::=
	string
Boolean ::=
	"true"
	"false"
Plan ::=
	[sub_plans]::Plan+ [super_plan]::Plan [objectives]::Objective+ [actions]::Action+
Objective ::=
	[objective_plan]::Plan [criterias]::EvaluationCriteria+
EvaluationCriteria ::=
	[criteria_objective]::Objective
Action ::=
	[action_plan]::Plan [sub_actions]::Action+ [super_action]::Action [actor]::Actor [resources]::Resource+ [timeSpecs]::TimeSpec+
Actor ::=
	[actor_action]::Action [sub_actors]::Actor+ [super_actor]::Actor
Resource ::=
	[resource_action]::Action
TimeSpec ::=
	[timeSpec_action]::Action

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []