All Projects → darius → mccarthy-to-bryant

darius / mccarthy-to-bryant

Licence: GPL-3.0 License
Propositional logic in terms of if-then-else

Programming Languages

python
139335 projects - #7 most used programming language
lua
6591 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Code for "The language of choice".

logic.py and utils.py go with the first half. Then ttt_tabulate.py/ttt_tabulate_3way.py. bdd.py goes with the rest.

Generalized to n-way decisions, in nway_logic.py and dd.py.

lua/ has a LuaJIT port, to check for reasonable performance when not stuck with CPython.

Other files are for testing and other demos, e.g. puzzler.py, nqueens.py, problems.py.

play.{html,js} tried to animate the choice-tree transformations, but it's unfinished.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].