mps-coderules/reactor
Fedor Isakov 4ea4b5cae5 Automatically update files in .idea folder. 2018-03-05 11:56:32 +01:00
..
.idea Automatically update files in .idea folder. 2018-03-05 11:56:32 +01:00
API Reimplement unification algorithm in Kotlin using jtrove lib. Add dependency on trove4. 2017-10-30 18:22:02 +01:00
Core Roll back an optimisation discriminating non-primary constraint symbols. 2017-11-09 12:02:27 +01:00
Test Minor performance tweaks. 2017-11-03 12:09:43 +01:00
.gitignore Update gitignore. 2017-06-07 11:51:05 +02:00
.travis.yml Publishing the build artefacts to github releases. 2017-06-07 12:38:47 +02:00
README.md Add the build status badge. 2017-06-07 11:42:55 +02:00
Reactor.iml Reimplement unification algorithm in Kotlin using jtrove lib. Add dependency on trove4. 2017-10-30 18:22:02 +01:00
pom.xml Reimplement unification algorithm in Kotlin using jtrove lib. Add dependency on trove4. 2017-10-30 18:22:02 +01:00

README.md

Constraints Reactor

An engine for evaluating constraint rules.

Written in Kotlin and Java.

Build Status

This is an implementation of the Constraint Handling Rules semantics with custom extensions, influenced by JCHR.

The main features are built-in support for terms as the data structure, including terms unification, and logical variables.

The use of terms as constraint parameters enables to implement optimizations for handling multi-head rules. Also, this implementation relies heavily on term unification when matching rules.

Logical variables enable to pass parameters to constraints as indirect references, which may be assigned later. Assigning a value to an unbound logical variable reactivates the constraint in which it serves as a parameter. Two logical variables may be joined to be treated as one.

NOTE: this implementation does not include support for parsing the CHR syntax.

License

Copyright 2014-2017 JetBrains s.r.o.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.