Skip to content

ericlovesmath/TAPL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Types and Programming Languages

OCaml implementations of selected chapters in Types and Programming Languages by Benjamin C. Pierce, without direct references of the original ML implementations.

Run dune test to run let_expect tests, and dune utop to explore. dune promote will update tests.

Run dune build and rlwrap ./_build/default/bin/main.exe -impl <IMPL> for a simple REPL interface

The Makefile provides convenient wrappers for building and running code

NOTE: web depends on the Bonsai frontend library, which is only supported (as of (2025-12-10) on OCaml 5.1.1 until Jane Street's js_of_ocaml_patches issue is resolved. web will not build unless ocaml <= 5.1.1 is used, but the rest of the library will build on later versions.

About

Implementing Types and Programming Languages by Benjamin Pierce

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages