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

JuvixTree tests #2587

Merged
merged 4 commits into from
Jan 25, 2024
Merged

JuvixTree tests #2587

merged 4 commits into from
Jan 25, 2024

Conversation

lukaszcz
Copy link
Collaborator

  • Implements a translation from JuvixAsm to JuvixTree. It does not work in general, but works for all code generated from Juvix and all JuvixAsm tests.
  • Adds the juvix dev tree from-asm command.
  • Adds tests automatically converted from JuvixAsm tests.
  • Depends on JuvixTree parser and pretty printer #2583

@lukaszcz lukaszcz added this to the 0.6.0 milestone Jan 22, 2024
@lukaszcz lukaszcz self-assigned this Jan 22, 2024
@lukaszcz lukaszcz marked this pull request as ready for review January 24, 2024 13:10
@paulcadman paulcadman merged commit c95fcb3 into main Jan 25, 2024
4 checks passed
@paulcadman paulcadman deleted the asm-to-tree branch January 25, 2024 18:02
paulcadman pushed a commit that referenced this pull request Jan 25, 2024
* Implements JuvixTree evaluator
* Adds JuvixTree evaluation tests
* Adds the `juvix dev tree eval` command
* Depends on #2587 
* Depends on #2583
janmasrovira pushed a commit that referenced this pull request Jan 27, 2024
* Adds the `juvix dev tree compile` CLI command.
* Depends on #2589 
* Depends on #2587 
* Depends on #2583
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
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.

2 participants