Copyright © 2011-2015 Data Access Technologies, Inc. (Model Driven Solutions)
Alf is an action language for UML developed in response to the OMG Concrete Syntax for a UML Action Language Request for Proposals. The Alf specification document can be found at http://www.omg.org/spec/ALF. (See also http://solitaire.omg.org/issues/task-force/ALF11 for the list of open issues currently being addressed by the Alf 1.1 Revision Task Force.)
This implementation is based on the Alf 1.0.1 specification. It compiles Alf source text to the executable Foundational UML (fUML) subset of UML. The compilation can target either of two fUML execution engine implementations:
- The fUML Reference Implementation execution engine (see http://fuml.modeldriven.org)
v1.1.4 (this version includes updates for all issue resolutions approved for fUML 1.2, as well as an "urgent issue" resolution to be included in fUML 1.2.1). - The fUML execution engine from the Moka framework for model execution in the Eclipse Papyrus tool (see http://wiki.eclipse.org/Papyrus/UserGuide/ModelExecution), v1.0.0 or later.
The implementation handles the full Alf syntax at the Extended compliance level, as given in Annex C Consolidated LL Grammar of the Alf Specification.
Static semantic checking is directly based on validating the constraints defined in Part III of the Alf Specification. However, as errors were discovered in these definitions, or inconsistencies with the descriptions in Part II were identified, these were corrected in the implementation. All such issues have either been corrected in the latest version of the specification or have been reported to the Alf Revision Task Force for correction in a future version.
The latest version of the implementation is availabel at http://alf.modeldriven.org.
Data Access Technology, Inc. is copyright owner of the source code for this implementation. For licensing terms, see
the file LICENSING.txt
.
The latest packaged distribution of the implementation is available in the
dist
directory.
Within this directory, the file alf.zip
unzips into the installation directory for Alf.
The installation directory includes Unix (BASH) shell scripts and DOS batch files for running Alf.
By default, the Libraries
and UML/Libraries
subdirectories are expected
to be in the same directory as the scripts. If you move them, set the environment variables
ALF_LIB
and UML_LIB
, respectively, to their paths.
The file alf-src.zip
unzips into four Eclipse projects that, together,
include the full source of the implementation. Eclipse 4.4 or later is required.
-
org.modeldriven.alf
- This is the base project, including the Alf parser, static semantic checking and generic mapping to fUML. However, it is not dependent on any specific fUML implementation. -
org.modeldriven.alf.fuml.impl
- This project extends the base project to specialize the mapping to target the fUML Reference Implementation and to allow compiled Alf text to be executed. It does not depend on the fUML Reference Implementation project directly but, rather, uses an exportedfuml.jar
file. -
org.modeldriven.alf.eclipse
- This project extends the base project to specialize the mapping to target the Eclipse UML2 metamodel implementation (v5.0.1 or later). It depends on Eclipse plugins and must be built in an Eclipse environment. -
org.modeldriven.alf.eclipse.papyrus
- This project extends theorg.modeldriven.alf.eclipse
project to allow compiled Alf text to be executed using the fUML execution engine from the [Moka framework] (http://wiki.eclipse.org/Papyrus/UserGuide/ModelExecution) for model execution in the Eclipse Papyrus modeling tool (v1.0.0 or later). It depends on Eclipse plugins and must be built in an Eclipse environment.
For further information on using the implementation, see the wiki.