Sources and scripts 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.0 is required. Consult the installation instructions to help you set up Agda and Emacs for the Midlands Graduate School.
-
The (literate)
*.lagda
files are used to generate thehtml
pages with the script./build
. -
This script also generates (illiterate)
./agda/*.agda
files using the scriptilliterate
, which calls the Haskell programilliterator.hs
. -
The program
agdatomd.hs
converts from.lagda
to.md
for use by the scriptfastloop
. -
This script is used for editing the notes in conjunction with
jekyll serve
so that after an update it is only necessary to reload the page on the brouwser to view it. -
The script
slowloop
serves the same purpose, but calls Agda instead ofagdatomd
, via the scriptgeneratehtml
, to that we get syntax highlighting in the html pages. This can be very slow depending on whichlagda
file is changed. This means that after the first reload, one is likely to see the Agda code without syntax highlighting. -
It is possible to run
./slowloop
,./fastloop
andjekyll serve
in parallel, and we do this for editing these notes. -
The loop scripts use
inotifywait
to detectlagda
file changes and trigger the appropriate conversion actions.