Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 722 Bytes

File metadata and controls

1 lines (1 loc) · 722 Bytes

First you need to download ZIP file named CS3110-Final-Project-main from our GitHub repo, unzip it and cd to its directory. To build and run our system, first enter command: dune build, then input: dune exec ./src/main.exe. You will then see our Propositional Logic REPL v1.0 with commands you could choose to input. Valid commands include premise to add a premise; goal to set the goal; derive to apply Modus Ponens rule. The supports four forms of input now: A; A & B; A -> B; !A. If the input is empty or syntactically invalid (e.g. A &, !, A ->, A && B, A => B, A B, invalid variable), it raises a Parse_error. You can also input show, reset, help, shortcuts and quit based on your needs.