-
Notifications
You must be signed in to change notification settings - Fork 66
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
Refactoring of exercises processing #64
Conversation
Issue #65 is now fixed, and the format is ready to support translations of the exercises descriptions. |
The PR has not been merged entirely. The last 3 commits are missing (which makes #67 irrelevant). |
AH! Gotcha... I merged the |
Reverted the bogus merge, and pushed a proper one. We should finally be in sync! |
This PR refactors slightly how exercises are read and processed. It adds a proper representation for exercises, and correctly propagates the informations from
meta.json
.The module
Learnocaml_exercise
now contains a proper representation for exercises, with its own encoding. The previous representation is still used as an intermediate state, which is still useful to store the result of reading files. As of now, the functionget
andset
are both replaced by respectivelyaccess
anddecipher
, andupdate
andcipher
. As their name suggest, onlycipher
anddecipher
can encode and decode files properly.This also fixes #26