Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unverified binary generation #70

Open
hrutvik opened this issue Oct 12, 2023 · 0 comments
Open

Unverified binary generation #70

hrutvik opened this issue Oct 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@hrutvik
Copy link
Collaborator

hrutvik commented Oct 12, 2023

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:

  1. Create a folder compiler/binary/unverified which prints the result of pure_compilerProgTheory to S-expressions
  2. Add a Makefile in this directory for downloading the latest CakeML and compiling the S-expressions to produce a PureCake executable (borrowing from examples/Makefile)
  3. Update the GitHub Actions workflow for creating a binary (.github/binary.yml) to use the unverified pathway
@hrutvik hrutvik added the enhancement New feature or request label Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant