pure
pure copied to clipboard
Unverified binary generation
When testing compiler modifications we generally don't want to wait for a verified binary to be compiled in-logic. This issue is about creating an unverified binary pipeline. The idea is to translate the PureCake compiler to CakeML in-logic, and print the result to S-expressions. Then we should be able to use a pre-built CakeML binary to produce an executable PureCake compiler.
Overall:
- Create a folder
compiler/binary/unverifiedwhich prints the result ofpure_compilerProgTheoryto S-expressions - Add a
Makefilein this directory for downloading the latest CakeML and compiling the S-expressions to produce a PureCake executable (borrowing fromexamples/Makefile) - Update the GitHub Actions workflow for creating a binary (
.github/binary.yml) to use the unverified pathway