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

Draft: Add lab on new module system #227

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

WeeknightMVP
Copy link
Collaborator

@WeeknightMVP WeeknightMVP commented Sep 27, 2022

This lab describes Cryptol's new module system, which has not yet been merged. To test it requires a workspace in which one can build Cryptol from source and access different Git branches. With these prerequisites, assuming cryptol-course and cryptol-specs are cloned or downloaded to the same directory, the following should work:

$ cd ~/workspace  # or whatever
$ git clone https://github.com/GaloisInc/cryptol
$ git clone https://github.com/GaloisInc/cryptol-specs
$ git clone https://github.com/weaversa/cryptol-course
$ cd cryptol-course
$ git switch new-module-system
$ cd ../cryptol
$ git switch functors-merge
$ ./cry build
...
$ CRYPTOLPATH=../cryptol-course:../cryptol-specs ./cry run
Cryptol> :m labs::NewModuleSystem::NewModuleSystemAnswers
labs::NewModuleSystem::NewModuleSystemAnswers>

@WeeknightMVP
Copy link
Collaborator Author

We should turn off CI for this branch until functors-merge is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant