elenchus-parser 0.8.0

English-like DSL parser for the elenchus consistency checker (facts, premises, rules, checks).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
---
source: crates/elenchus-parser/tests/errors.rs
expression: "err(\"NOT lonely\\n\")"
---
RESULT: 1 syntax error

NOT  (1 problem)
  syntax  : NOT <Subject> <predicate> [<object>]
  example : NOT socrates is immortal
    line 1, col 5 - NOT expects an atom: <Subject> <predicate> [<object>]
      | NOT lonely
      |     ^^^^^^