If you want to express your medical knowledge with Arden Syntax you can use Arden4Eclipse, an Arden Syntax Editor for the Eclipse IDE. It integrates Arden2ByteCode so Arden Syntax code can be easily written as well as executed.

Screenshots can be found at the homepage.

The repository is available at https://github.com/PLRI/ardensyntax-eclipse-plugin.


The following convenient features are provided after installing Arden4Eclipse:


If you don’t have Eclipse yet, you may download the Eclipse IDE for Java Developers at https://www.eclipse.org/downloads/.

You can choose between two ways of installing the Arden4Eclipse:

Using the Editor

Once Arden4Eclipse is installed, hit ctrl+n and create a new Arden Syntax Project or add a new MLM file to an existing project (Java Project, General Project, etc.). When Eclipse prompts if you want to add the Xtext Nature to the project, choose “yes” to activate the Arden Syntax Editor.

Try inserting a for-loop: Place the cursor into the logic slot, hit ctrl+space to bring up the content assist window and select for - iterate over sequence.
To rename a variable, select it and hit shift+alt+r. You can format (indent) the MLM by hitting ctrl+shift+f.

Running MLMs

To run an MLM with Arden2ByteCode, right-clicking on it and selecting Run As…Medical Logic Module.

When starting a MLM, the output should be displayed in the console window. You may also be prompted for input in that window if you programmed your MLM that way.

Further, you can edit the command line options being passed to Arden2ByteCode by creating and editing a launch configuration in the Run Configurations dialog. This dialog can be opened by right-clicking the MLM and selecting Run As…Run Configurations….