Skip to content

spitters/corn

 
 

Repository files navigation

C-CoRN

The Coq Constructive Repository at Nijmegen.

Install with OPAM

Make sure that you added the Coq repository:

opam repo add coq-released https://coq.inria.fr/opam/released

and run:

opam install coq-corn

Corn depends on math-classes from opam.

Install from source

Prerequisites

This version of C-CoRN has been tested with 8.6 through 8.8.1 and later. It requires

  • SCons 1.2 or make

Git checkout and submodules

C-CoRN depends on Math Classes version 8.8.1, which is a library of abstract interfaces for mathematical structures that is heavily based on Coq's new type classes.

Building C-CoRN

C-CoRN uses SCons for its build infrastructure. SCons is a modern Python-based Make-replacement.

To build C-CoRN with SCons say scons to build the whole library, or scons some/module.vo to just build some/module.vo (and its dependencies).

In addition to common Make options like -j N and -k, SCons supports some useful options of its own, such as --debug=time, which displays the time spent executing individual build commands.

scons -c replaces Make clean

For more information, see the SCons documentation. Make is still supported.

Building documentation

To build CoqDoc documentation, say scons coqdoc.

Packages

No packages published

Languages

  • Coq 99.1%
  • Other 0.9%