Golog is a logic-based high-level programming
language for defining complex actions using a repertoire of user
specified actions.
- Sequence:
Do action
, followed by action
.
- Test actions: c?
Test the truth value of expression c in the current situation.
- While loops:
- Conditionals:
-
Nondeterministic action choice:
-
Nondeterministic choice of arguments:
.
Nondeterministically pick a value for x, and for that value of x,
do the action
.
- Nondeterministic finite choice of action arguments:
. Choose an element x from
the finite set
and for that x
do the program
.
- Procedures, including recursion.