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

feat: binary constraints format #514

Merged
merged 2 commits into from
Jan 9, 2025
Merged

Conversation

DavePearce
Copy link
Collaborator

No description provided.

This adds a "compile" command to the CLI.  This is where compilation
will be controlled.  A notion of "legacy" versus "non-legacy" is patched
in.

This goal here is to retain the ability to read legacy bin files using
the original format (for now).  However, writing them is not really
supported at this time.
This adds support for binary encoding / decoding of HIR schema's via the
gob format.  To help ensure consistency between compiled source files
and encoded binary files, all tests are additionally run through a
filter which encodes and then decodes the file before running the test.

This also makes a breaking constraint by using an option to implement
the vanishing domain, instead of a pointer.  This seems to serialise
better.
@DavePearce DavePearce linked an issue Jan 9, 2025 that may be closed by this pull request
@DavePearce DavePearce merged commit 3a770dd into main Jan 9, 2025
2 checks passed
@DavePearce DavePearce deleted the 463-feat-binary-constraints-format branch January 9, 2025 04:42
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.

feat: binary constraints format
1 participant