Ani - An Interpreter for Action Notation.
ani [ filename ]
Action semantics is a formalism for the specification of programming languages [1,2]. In action semantics the meaning of a program is an action. Ani is an interpreter for actions: given an action, Ani will perform it. The outcome of the performance can be visualized through a convenient output.
The result of the interpretation of an action has the fol- lowing format:
Outcome [outcome status]
Transients
Bindings
Storage
Commitment
For example, the interpretation of the action
bind "x" to 4 or bind "y" to true
has the two possible outputs below:
Outcome Completed!
Outcome Completed!
If an action diverges, Ani diverges, and in this case, there
is no output (the action 'diverge' is interpreted as
'unfolding unfold').
After load the interpreter, you will see the interpreter
prompt 'Ani '. To see information about Ani type '\help'.
The following examples illustrate how to use Ani:
Ani give 4 then complete
Ani bind "x" to 4.0
Ani \iaf crazy
Ani \parse give 1
See ani/man/ActionNotation for the set of action notation currently implemented.
See ani/man/DataNotation for the set of data notation currently implemented.
ani/ANNOUNCE announcement file
Standard ML of New Jersey, Version 0.93, February 15, 1993.
Version 0.22 23 August 1993.
Hermano Moura (hermano@di.ufpe.br)
Deryck Brown (Robert Gordon University) provided the original action
notation parser used by Ani.
ag (actioneer generator).
Transients empty-transients
Bindings { y --> true }
Storage empty-storage
Commitment Uncommitted action!
Transients empty-transients
Bindings { x --> 4 }
Storage empty-storage
Commitment Uncommitted action!
Ani Directives
Action Notation
ani/CONDITIONS copyright note
ani/FILES distribution directory tree
ani/HISTORY history of this and previous versions
ani/INSTALLATION installation guide
ani/MANUAL this file (manual page)
ani/README general information on Ani
ani/actions/ many examples of actions
ani/doc/ supporting documentation
ani/interface/ user interface source files
ani/interpreter/ action notation interpreter source files
ani/parser/ action notation parser source files
Federal University of Pernambuco
Department of Informatics