0.2.5 • Published 1 year ago

retoric v0.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Argue yourself

Retoric

Version codecov downloads

Concepts

This npm module aims to give a development tools to argue on Reasoning objects.

The object-concepts are:

  1. Reasoning: an item or array that fulfills certain boolean-condition;
  2. Premise: An axiomatic reasoning child;
  3. Conjunction: A Reasoning child with decision or-operation;
  4. Disjunction: A Reasoning child with decision and-operation;.

The properties-concepts are:

  1. key: A string key-variable to ;
  2. description: A string description of Reasoning object;
  3. value: Either a boolean or a Premise artifact;

The callback-concepts are:

  1. _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:

  1. Objects: src/__test__/classes.test.js
  2. Checkers: src/__test__/checkers.test.js

Backlog

  1. Allow property value to be a Reasoning artifact i.e. {Premise|Injunction|Conjunction} or an array with such objects.