Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rkirsling/modallogic

Modal Logic Playground
https://github.com/rkirsling/modallogic

directed-graph modal-logic semantics

Last synced: 9 days ago
JSON representation

Modal Logic Playground

Awesome Lists containing this project

README

        

Modal Logic Playground
======================

A graphical semantic calculator for modal propositional logic, built using [D3](http://d3js.org/), [MathJax](http://www.mathjax.org/), and [Bootstrap](http://getbootstrap.com/).

See it in action at [rkirsling.github.io/modallogic](http://rkirsling.github.io/modallogic/)!

### Reusable code
* The core part of the code is MPL.js, a library for parsing and evaluating well-formed formulas of modal propositional logic. See the API Reference [here](API-Reference.md).
* I've also extracted the directed graph editing code so that it can be easily repurposed. You can find it [here](http://bl.ocks.org/rkirsling/5001347).