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

ToTreeless: allow backends to define custom pipelines #7273

Merged
merged 1 commit into from
May 17, 2024

Conversation

omelkonian
Copy link
Contributor

When developing backends, the translation from internal syntax to treeless syntax currently only exports toTreeless with a fixed pipeline of optimization passes (compilerPipeline).

This PR introduces toTreelessWith to allow backends to tweak that and use a custom pipeline (I already need that in agda2rust), while also exporting necessary utilities to build those pipelines.

@omelkonian omelkonian merged commit 2d0fe9f into master May 17, 2024
25 checks passed
@omelkonian omelkonian deleted the orestis/custom-treeless branch May 17, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants