#statement #latex #parser #analysis #propositional #file #analyze

app mini-prop

A lightweight CLI to parse and analyze propositional statements

3 unstable releases

0.2.0 Nov 13, 2022
0.1.1 Nov 8, 2022
0.1.0 Nov 7, 2022

#8 in #propositional

Download history 18/week @ 2024-02-23 15/week @ 2024-03-01 40/week @ 2024-03-29 11/week @ 2024-04-05

51 downloads per month

Custom license

7KB
124 lines

Mini-Prop

Mini-Prop is a CLI tool for parsing LaTex formatted propositional statements and performing normalization and analysis steps on them.

Installation

Crates.io:

$ cargo install mini-prop

From source:

Clone the main branch to your local mashine.

$ git clone https://github.com/emilHof/mini-prop.git && cd mini-prop

Build the binary with cargo.

$ cargo build --release

Move the binary into your path.

$ cp ./target/release/mini-prop /usr/bin/

Usage

There are currently two main ways of passing propositions. One is through the terminal itself.

$ mprop "A \land (B \lor C)" normal

Alternatively you can pass mini-prop the path to a text file containing the propositions.

$ mprop -f ./path/to/file/props.txt normal

Dependencies

~3.5MB
~66K SLoC