|
HelloWorld
How to program a simple, external environments for Soar
This document is not an introduction to Soar programming. Please refer to the Soar Tutorial documents included with the release if you are new to Soar. These examples are written in Java but should be helpful to those looking to implement Soar environments in other languages. See also: SetupIf you would like to run these environments, checkout and build at least the Core and Java components. You will need sml.jar and soar-smljava-(version).jar in your classpath to run the examples. On unix systems, don't forget to update your environment for loading shared libraries. Hello WorldHelloWorld.java (view with markup) is a very simple Soar environment intended to explain the basics of using SML with Java. The source file is verbosely commented with explanations. helloworld.soar is the source file for use with the environment and is also commented with explanation. Simple Asynchronous Interactive EnvironmentSimpleAsyncEnv.java (view with markup) is a more complex interactive asynchronous environment. The source file is verbosely commented with explanations. simpleasyncenv.soar is the source file for use with the environment and is also commented with explanation. | |