Provides the classes for the scripting specification of the behaviors.
Package Specification
The scripting capabilities are organized around three notions:
- The LanguageState is a particular implementation of a State where each of the M-DEVS function just calls
a dedicated script. It is enough to select this state to be able to specify the category behaviours by scripts.
- The ScriptSpecification contains the chosen script language as well as the scripts for each of the
M-DEVS function.<\li>
- The LanguageInterpreter defines a particular scripting language and the necessary mechanisms to go
back and forth between Java and the scripting language in terms of data structures. Additionally, one associates
to an interpreter a tokenizer for syntax coloring edition.
An parameterizable InterpreterFactory is provided for having a list of available interpreters.
For the time being, the following scripting languages are defined: Java, Python, Scheme (two versions) and Smalltalk. Prolog and Jess are
under testing but not available yet.
Related Documentation
Please refer to the user's manual for further details.