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

Add the juvix dev tree compile command #2590

Merged
merged 2 commits into from
Jan 27, 2024
Merged

Add the juvix dev tree compile command #2590

merged 2 commits into from
Jan 27, 2024

Conversation

lukaszcz
Copy link
Collaborator

paulcadman
paulcadman previously approved these changes Jan 25, 2024
app/Commands/Dev/Tree/Compile/Base.hs Show resolved Hide resolved
app/Commands/Dev/Tree/Compile/Base.hs Outdated Show resolved Hide resolved
app/Commands/Dev/Tree/Compile/Base.hs Outdated Show resolved Hide resolved
app/Commands/Dev/Tree/Compile/Options.hs Outdated Show resolved Hide resolved
Copy link
Collaborator

@janmasrovira janmasrovira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've made some suggestions. Since this was approved before, I'm requiring changes so this doesn't get merged accidentally before looking at the comments

@janmasrovira janmasrovira merged commit 6649209 into main Jan 27, 2024
4 checks passed
@janmasrovira janmasrovira deleted the tree-compile branch January 27, 2024 07:54
paulcadman pushed a commit that referenced this pull request Jan 29, 2024
* Generalizes JuvixCore map and fold recursors to work also for
JuvixTree.
* Adds a transformation framework to JuvixTree.
* Adds identity trasformation tests for JuvixTree.
* Depends on #2590 
* Depends on #2589 
* Depends on #2587
paulcadman pushed a commit that referenced this pull request Jan 30, 2024
* Moves the "apply" transformation from JuivxAsm to JuvixTree. This
transformation removes the `CallClosures` nodes.
* Makes Nockma compilation tests use JuvixTree instead of JuvixAsm
files.
* Depends on #2594 
* Depends on #2590
* Depends on #2589 
* Depends on #2587
paulcadman pushed a commit that referenced this pull request Jan 30, 2024
* Adds the `FilterUnreachable` transformation in JuvixTree.
* Depends on #2596 
* Depends on #2595 
* Depends on #2594 
* Depends on #2590 
* Depends on #2589 
* Depends on #2587
paulcadman pushed a commit that referenced this pull request Jan 31, 2024
* Adds smoke tests for `juvix dev tree` CLI commands.
* Fixes a bug with printing JuvixAsm.
* Depends on #2597 
* Depends on #2596 
* Depends on #2595 
* Depends on #2594 
* Depends on #2590
janmasrovira pushed a commit that referenced this pull request Jan 31, 2024
* Adds the `--transforms`, `--eval` and `--no-print` options to the
`juvix dev tree read` command.
* Depends on #2598 
* Depends on #2597 
* Depends on #2596 
* Depends on #2595 
* Depends on #2594 
* Depends on #2590
paulcadman pushed a commit that referenced this pull request Feb 1, 2024
* Adds negative tests for the JuvixTree evaluator
* Depends on #2600 
* Depends on #2599 
* Depends on #2598 
* Depends on #2597 
* Depends on #2596 
* Depends on #2595 
* Depends on #2594 
* Depends on #2590
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.

3 participants