ToposInstitute/polytt

A type theory with native support for Polynomial Functors.

OCaml

43

182 commits

updated Oct 8, 2023

See the code

README

PolyTT 🦜

A type theory with native support for Polynomial Functors.

For examples, see std-lib/Tutorial.poly.

Building

Install opam using our preferred package manager. On Mac you can install it with homebrew via:

$ brew install opam

Once you have opam you can install all the dev dependencies and then build polytt:

$ opam init
$ opam switch create . ocaml-base-compiler.5.0.0
$ opam install --deps-only --locked .
$ dune build

Alternatively, flake.nix file is provided to setup an entire development environment with nix:

$ nix develop

Running

$ dune exec polytt std-lib/Tutorial.poly

References

Contributors

MonoidMusician

76 commits

solomon-b

54 commits

TOTBWF

46 commits

olynch

3 commits

ToposInstitute/polytt

A type theory with native support for Polynomial Functors.

OCaml

43

182 commits

updated Oct 8, 2023

See the code

README

PolyTT 🦜

A type theory with native support for Polynomial Functors.

For examples, see std-lib/Tutorial.poly.

Building

Install opam using our preferred package manager. On Mac you can install it with homebrew via:

$ brew install opam

Once you have opam you can install all the dev dependencies and then build polytt:

$ opam init
$ opam switch create . ocaml-base-compiler.5.0.0
$ opam install --deps-only --locked .
$ dune build

Alternatively, flake.nix file is provided to setup an entire development environment with nix:

$ nix develop

Running

$ dune exec polytt std-lib/Tutorial.poly

References

Contributors

MonoidMusician

76 commits

solomon-b

54 commits

TOTBWF

46 commits

olynch

3 commits

Languages

OCaml

94.6%

Emacs Lisp

3.0%

Makefile

1.3%

Nix

1.1%