RCTSL:Types of keywords

From Olympus
Jump to: navigation, search

There are many types of keywords in RCTSL. Each type can only be used in specific parts of the task specification. For each keyword, the reference page has a Type line that gives its type. The currently existing types are:

agent declaration 
construct embedded in a DECLARE_AGENTS block
agent definition 
top level construct that defines an agent of the task tree
concept definition
construct embedded in a DEFINE_CONCEPTS block
concept type definition
top level construct that defines a custom concept type
concept item definition
construct embedded in a concept item definition block
concept item definition block
construct embedded in a concept type definition. The only keyword of this type is ITEMS.
directive 
construct embedded in an agent definition. Some directives can only be used in certain agent types. When this is the case, these agent types will appear in the Allowed in section of the directive reference.
macro 
construct to be used within C++ code (e.g. in preconditions or in code blocks like ON_COMPLETION)
subagent definition
construct embedded in a DEFINE_SUBAGENTS block
top level 
construct not be embedded in any other block

RavenClaw Task Specification Language Reference

Personal tools