CohenCyril / lip-ssr-tuto

Ssreflect tutorial for LIP members
GNU Lesser General Public License v2.1
0 stars 1 forks source link

lip-ssr-tuto

A tutorial for LIP members

Meta

Building and installation instructions

Unfortunately the Coq platform has not been release for 1 year :confused:, so we have to rely on either of the following four options.

In all cases but the last you need to clone this repo and cd into it.

Using opam

After having installed opam and configured it for Coq cf official doc, run:

opam install --deps-only .
make

You can now run your favorite editor, you may need to install your favorite language server (i.e. opam install coq-lsp or opam install vscoq-language-server)

Using nix

After installing nix and cachix, run once:

cachix use coq
cachix use coq-community
cachix use math-comp
cachix use cohencyril

Then, every time you want to use it you need to run (may take a few minutes the first time)

nix-shell
make

You can now run your favorite editor, you do not need to install your favorite language server (they are included in the shell)

Using docker (warning, the image is > 17GB)

You need to install docker.

Then start vscode with the devcontainer extension, then click on "reopen in container" (or F1 and type the latter).

Using codespaces (limited in time)

Go to the repo and start a codespace (Shortcut here)

Documentation

Follow the lectures in order.