Skip to content

λProlog translations of programming languages from the book "Types and Programming Languages"

Notifications You must be signed in to change notification settings

jtmcx/tapl-lprolog

Repository files navigation

TAPL in λProlog

This repository houses λProlog translations of various programming languages described in the book Types and Programming Languages (TAPL), by Benjamin Pierce. Select theorems, lemmas, and exercises have been translated into abella proofs.

Modules

Module Chapter
tyarith.mod Chapter 8 - Typed Arithmetic Expressions
simple.mod Chapter 9 - Simply Typed Lambda Calculus
simplebool.mod Chapter 9 - Simply Typed Lambda Calculus
simpleunit.mod Chapter 11 - Simple Extensions (Section 11.2)

Building

To install teyjus and abella using opam:

$ opam switch create tapl 4.14.1
$ eval $(opam env --switch=tapl)
$ opam pin add teyjus 'git+https://github.com/teyjus/teyjus#v2.1.1'
$ opam install abella

About

λProlog translations of programming languages from the book "Types and Programming Languages"

Resources

Stars

Watchers

Forks