Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.04 KB

File metadata and controls

40 lines (26 loc) · 1.04 KB

PTS : une Perte de Temps Supreme

This project is an interpretor for Pure Type Systems, a family a typed λ-calculi.

You can try it online on the github pages

Installation

  1. opam install . -y --deps-only
  2. dune build

Description

This interpretor :

  • check if the file is well typed (with the option type_debug, it prints on stdout the typing judgments used, and with the option --get-proof, it prints the proof on a .tex file)
  • If the file is well typed, then it computes its normal form

Supported extension :

  • .stlc for simply typed λ-calculus
  • .f for System F (simply-typed λ-calulus with polymorphism)
  • .fw for System Fω (System F with type constructor)
  • .cc for the Calculus of Constructions
  • .u for the System U (beware that it's an inconsistent system)

Type ./pts.exe -help to see the list of options.

TODO:

  • adding axioms (e.g. for λ0)