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

A number of sample DSL programs #14

Merged
merged 3 commits into from
Jun 20, 2024
Merged

A number of sample DSL programs #14

merged 3 commits into from
Jun 20, 2024

Conversation

anshumanmohan
Copy link
Contributor

I am adding a number of programs written in our aspirational DSL.

The policies under the directory now can, I think, already be handled by our Calyx queues. Of course there is work to be done re: parsing the program and harnessing the eDSL to generate an appropriate tree, but if we allow ourselves to make any Calyx tree, we can get these programs running. Note that this already features hierarchical policies: rr_hier.sched is the motivating example from Formal Abstractions.

Sometimes I have a file named something_sugar.sched. That is just something.sched, but with some syntactic sugar to ease the way. I am keeping both versions so that we don't get bogged down by the lack of implementation of the syntactic sugar.

In the directory soon, I always use syntactic sugar. I have placed there some policies that we will be able to support once calyxir/calyx#1810 lands.

For an understanding of what these policies do, please see #13. For an idea of the AST that would support these policies, see #5.

@anshumanmohan anshumanmohan merged commit 519e85a into main Jun 20, 2024
@anshumanmohan anshumanmohan deleted the sample-dsl-progs branch June 20, 2024 22:26
@anshumanmohan anshumanmohan mentioned this pull request Jul 3, 2024
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