elenchus-parser 0.6.0

English-like DSL parser for the elenchus consistency checker (facts, premises, rules, checks).
Documentation
1
2
3
4
5
6
7
---
source: crates/elenchus-parser/tests/errors.rs
expression: "err(r#\"\n        PREMISE wings_need_bone:\n            WHEN Creature.A has flying\n        CHECK Creature.A\n        \"#)"
---
Syntax Error at line 4, col 9: expected THEN to complete the WHEN ... THEN implication
  |         CHECK Creature.A
  |         ^--- here