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

Loader, generate-json-serializer, generate-pprint, generate-eq, and generate-utest #901

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

elegios
Copy link
Contributor

@elegios elegios commented Feb 4, 2025

This PR includes commits from several other PRs, and will thus need to be merged after them. More minimal diff here.

The primary content of this PR is a Loader, a new API meant to make it easy to incrementally construct a program even when you need to programmatically include additional files. The interface wraps the boot-parser, but tries to provide an interface that should hopefully stay mostly the same even after we use the new mlang-pipeline.

Secondarily, I also adapt generate-json-serializer.mc to work with the new loader and add generate-pprint.mc and generate-eq.mc for structural pprint and eq functions, then use the latter two to implement a generate-utest.mc.

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