Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

jonhue/propose

Repository files navigation

Propose

Build truthtables with your command line.

capture

Operands

F <-> G | biconditional
F -> G  | implication
F xor G | exclusive or
F + G   | or
F * G   | and
!F      | not

Installation

Install Propose with PIP

$ pip3 install propose

Usage

Pass an inline formula:

$ propose "a * b"

Pass a file instead:

$ propose --file formula.propose

To get a list of all available commands and options:

$ propose --help

Development

Clone this repository

$ git clone git@github.com:jonhue/propose.git

Install Propose with Pip. You may want to use a virtualenv

$ make setup

Rebuild & reinstall Propose:

$ make reload

Run tests:

$ make spec

About

Build truthtables with your command line

Resources

License

Code of conduct

Stars

Watchers

Forks