Skip to content

ratmice/prop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages