apt install zlib1g-dev libncurses5-dev
on Ubuntu for examplestack build Agda alex happy
stack build --copy-bins --local-bin-path .
~/.emacs
file, changing the path to match your system
(setq cedille-path "/path/to/cedille-dir/")
(add-to-list 'load-path cedille-path)
(require 'cedille-mode)
Since Agda 2.5.4 now uses a library system, you need to tell Agda
about the three libraries used for Cedille (these are for the Cedille
sources, the IAL, and some stuff for the parser). If you run make
(or directly ./create-libraries.sh
) it will create the libraries
file with the full paths to these libraries. Then you can add an
Agda2 program argument (via customize-group then “agda2” in emacs)
to reference the libraries file with
--library-file=<path-to-your-generate-libraries-file>
.
Warning: you should compile Cedille to an executable using make
,
rather than from within Agda in Emacs. Or else please look at
Makefile
for extra arguments you have to give to Agda
when compiling Cedille.