Open leuschel opened 1 year ago
Also, it seems that the IF-THEN-ELSE predicate is translated in the parser to two implications, duplicating the left-hand side. We should probably generate an if-then-else predicate instead.
This is easy to change in the parser, but the Prolog side needs to be adjusted first to handle if_predicate
nodes.
Implemented the parser part here: https://github.com/hhu-stups/probparsers/commit/51015934e5323f6786a5b90a4915f386694773cd Although it is still rewritten as implications.
Example: