Skip to content

3.1.0–DclareForMPS

auto WIKI updater edited this page Aug 19, 2023 · 1 revision

Getting started

Plugin Installation

You can install the plugin from the Jetbrains plugin Marketplace:

plugin.png

Where to find the various parts of the plugin

When installed you can find the plugin in various places.

  • create a language and add DclareMPS as a used language or add the DclareMPS plugin to an existing language:

    plugin.png

  • you will see a new MPS aspect has added called Rules. Under this aspect you will create and edit your rules.

    plugin.png

  • you will see that a preference pane with the name Dclare has been added:

    plugin.png

  • you will see that a new tool has been added called Status:

    plugin.png

  • you will see that a new tool has been added called Checker:

    plugin.png

Helloworld

Syntax

Rule

Attribute

Method

Node/Model/Module/Repository

Struct

Equation

Rule Aspect

Ruleset

Node Construction

Model Construction

Error/Warning/Info Construction

Reference Opposite

Quotation Label

List Literal

Native Block

Checked Dot Expression with Else

Expression Tracing

Settings

Developer Mode

Engine Auto On

Thresholds

Synchronisation

Tracing

Status Tool

Messages

Status

Aspects

Debugging

Hotspot analyse

Auto Checking

Checking Settings

Checking Tool

Semantics

Declarative

Fixpoint

Reactive

Ripple Out

Incremental

Identity Matching

Update Granularity

Null Handling

Exception Handling

Orphan Handling

Containment

Optionality

Constant Functionality

Gui Library

The GUI library is an MPS language that allows you to create Swing GUIs in a declarative way. The library is documented here.