rkirsling/modallogic

Modal Logic Playground

JavaScript

383

63 commits

updated Feb 1, 2024

See the code

README

Modal Logic Playground

A graphical semantic calculator for modal propositional logic, built using D3, MathJax, and Bootstrap.

See it in action at 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.
  • I've also extracted the directed graph editing code so that it can be easily repurposed. You can find it here.
directed-graph
modal-logic
semantics

Contributors

rkirsling

63 commits

rkirsling/modallogic

Modal Logic Playground

JavaScript

383

63 commits

updated Feb 1, 2024

See the code

README

Modal Logic Playground

A graphical semantic calculator for modal propositional logic, built using D3, MathJax, and Bootstrap.

See it in action at 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.
  • I've also extracted the directed graph editing code so that it can be easily repurposed. You can find it here.
directed-graph
modal-logic
semantics

Contributors

rkirsling

63 commits

Languages

JavaScript

53.9%

HTML

37.6%

CSS

8.5%