retoric
v0.2.5
Published
A npm package to argue on artifacts
Downloads
2
Readme
Retoric
Concepts
This npm module aims to give a development tools to argue on Reasoning objects.
The object-concepts are:
- Reasoning: an item or array that fulfills certain boolean-condition;
- Premise: An axiomatic reasoning child;
- Conjunction: A Reasoning child with decision or-operation;
- Disjunction: A Reasoning child with decision and-operation;.
The properties-concepts are:
- key: A string key-variable to ;
- description: A string description of Reasoning object;
- value: Either a boolean or a Premise artifact;
The callback-concepts are:
- _conclusionMap: a boolean map for conclusion-reduce operation
Use cases
The interested reader may access use-cases described above on test files available on code folders below:
- Objects: src/__test__/classes.test.js
- Checkers: src/__test__/checkers.test.js
Backlog
- Allow property value to be a Reasoning artifact i.e. {Premise|Injunction|Conjunction} or an array with such objects.