JinnIde - Creation of Jinni Prolog Rules

JinnIde is the Jinni Prolog IDE Plugin for JEdit. From the Cassandra release onwards, Jinni Prolog code development is supported by automated creation of Jinni Prolog rules. The following explains how to create a Jinni Prolog rule automatically.

To generate a Jinni Prolog rule JinnIde offers a GUI dialogue that allows creating a JinniDoc-based template. With JinnIde this is a trivial and simple thing to accomplish:

  1. Create a new Jinni Prolog file by selecting File/New or pressing CTRL-N. Of course, alternatively one may use an existing file.
  2. Open up the template viewer or pull down the templates menu and click on Create rule
  3. The GUI dialogue comes up:

  1. Fill out the entries:

  1. After pressing OK all these descriptions are written out to the buffer you just created in step (1) or inserted at the cursor position of JEdit's buffer for the existing file. For above input the following output is generated:

So one can see that, apart from the above developer's descriptions, JinnIde also produces

Internally all this is accomplished by applying the velocity template engine which comes along with the templates plugin available for JEdit (which is thus one of the required plugins for JinnIde). Take a look at the documentation of the templates plugin for the details.

© 2001-2014 Chico Töpfer