In an effort to make learning to program in ASTRA easier, this section contains a number of example programs that illustrate some of the core features / techniques related to ASTRA.
The programs are organised into the following sections:
Basic Language Constructs
This section of the guide presents simple ASTRA programs that illustrate how basic AgentSpeak(L) concepts are realised in ASTRA.
Hello World
Terminal Hello World
Main Hello World
Using Subgoals
Querying Beliefs in Plans
Control Flow Statements
This second set of programs focus more on the extended suite of control flow statements that are supported in ASTRA.