This is an experimental project exploring the viability of a visual FLINT editor based on MPS
- Install Java 11
- Clone the repository
- Run
gradlew initProject
- Start the ide for your specific platform. The executables are locatied in
build/mps/bin
To build the FlintIDE run gradlew buildFlintIde
. This will generate compressed artifacts in code/build/artifacts/
.
To install the IDE unpack the archive for your platform to an empty directory.
Then run executable from the bin directory. If you're using linux you can simply run gradlew startFlintLinuxIde
.
- Click create a new project. Name the project and solution whatever you want.
- Right click on the solution and create a new model. Name it whatever you like.
- In the used languages tab select Flint and press OK.
- Right click on the created model and select
New > FlintModel
or selectImport FlintModel from json
. - Create a Flint model. (Tip: Use control space to get suggestions)
- To view the activity diagram of a fact. Right click on a Fact select Visualize Activity diagram.
- To preview the generated json right click in the Flint model and select preview generated text. The file is located at
/solutions/{solution-name}/source_gen/{solution-name}/{model-name]/{flint-model-name}.flint.json
. - Right click on the created model and select
New > FlintModelRunner
- Configure the runner.
- To open the Compliance By Design demo right click in the FlintModelRunner and select Run FlintModel.