Skip to content

Supporting clause definitions as Implication and improved parsing

Compare
Choose a tag to compare
@vale1410 vale1410 released this 27 May 17:12
· 113 commits to master since this release

Bule support (restricted) implications in a clause definition with straight forward semantics.

dom[1..2].
dom[X] :: p(X) -> dom[Y]: ~q(Y). 

grounds to

~p(1) | ~q(1) | ~q(2).
~p(2) | ~q(1) | ~q(2).

.

Left hand side of the implication is separated by & (a conjunction) and right hand (disjunction) with |.
Other structures are not allowed and the parser will complain!

This release closes
issue #5, #7, #9 and #13