Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.81 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.81 KB

.

Prop

name should probably change, Is intended to be a simplish but relatively complete example for intuitionistic propositional logic. It is a work in progress, and not as simple as it should be.

What does it purport to show?
Syntax

It tries to use a bidirectional Unicode ↔ ASCII syntax, This should eventually include a code formatter for converting between character sets. This should be bijective in that converting from ASCII → Unicode → ASCII should produce a file exactly equivalent to the first input.

Variables which start with the '\' character, followed by an ASCII name get mapped to a corresponding Unicode symbol (that cannot start with '\').

Future

We strive to keep the codebase simple enough to be used as a parsing example, but if it does not detract from that purpose. It may eventually grow to include:

  • Actual checking of proofs, As a proof checker it should take inspiration primarily from tutch.
  • A mechanism for extracting markdown documentation comments, with automagic pdf generation via lumpy.
  • Mixfix is a possibility
  • User-defined Unicode ↔ ASCII map for user defined symbol translation.

if these features do turn out to detract from that goal, this should be implemented in a companion program sharing the syntax.