There is a modular version of the Agda files here at https://github.com/martinescardo/TypeTopology in the folder
source/MGS/.
Sources to generate the lecture notes available at
https://www.cs.bham.ac.uk/~mhe/HoTT-UF-in-Agda-Lecture-Notes/HoTT-UF-Agda.html
Agda 2.6.2.1 or higher is required. Consult the installation instructions to help you set up Agda and Emacs for the Midlands Graduate School.
-
The (literate)
*.lagdafiles are used to generate thehtmlpages with the script./build. -
This make also generates
./agda/*.agdafiles usingilliterator.hs. -
The program
agdatomd.hsconverts from.lagdato.mdfor use by the scriptfastloop. -
This script is used for editing the notes in conjunction with
jekyll serve -watch --incrementalso that after an update it is only necessary to reload the page on the browser to view it. -
The script
slowloopserves the same purpose, but calls Agda instead ofagdatomd, via the scriptgeneratehtml, so that we get syntax highlighting in the html pages. This can be very slow depending on whichlagdafile is changed. This means that after the first is reload, one is likely to see the Agda code without syntax highlighting. -
It is possible to run
./slowloop,./fastloopandjekyll servein parallel, and we do this for editing these notes. -
The loop scripts use
inotifywaitto detectlagdafile changes and trigger the appropriate conversion actions. -
The
installaction of themakefileallows to run an additional action for particular requirements of users or environments, in a fileadditionally, which is not distributed and is ignored bygit. If this file doesn't exist, an empty executable file is created.