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

Basic Geb integration #1748

Merged
merged 20 commits into from
Feb 1, 2023
Merged

Basic Geb integration #1748

merged 20 commits into from
Feb 1, 2023

Conversation

lukaszcz
Copy link
Collaborator

@lukaszcz lukaszcz commented Jan 23, 2023

This PR:

It gives compilation errors for language features that require more substantial support (recursion, polymorphism). The additional features are to be implemented in future separate PRs.

  • Adds a new target geb to the CLI command juvix dev core compile, which produces a *.geb output file in the .juvix-build directory.
  • Adds a few tests. These are not yet checked automatically because there is no GEB evaluator; checking the *.geb output would be too brittle.

@lukaszcz lukaszcz added this to the 0.3 milestone Jan 23, 2023
@jonaprieto jonaprieto linked an issue Jan 23, 2023 that may be closed by this pull request
@lukaszcz lukaszcz changed the title Geb integration Basic Geb integration Jan 24, 2023
@lukaszcz lukaszcz force-pushed the geb-integration branch 3 times, most recently from 9e10498 to 306692d Compare January 27, 2023 12:25
@lukaszcz lukaszcz marked this pull request as ready for review January 27, 2023 12:52
@lukaszcz lukaszcz force-pushed the geb-integration branch 3 times, most recently from ff71cf2 to f2bb6ae Compare January 31, 2023 10:47
jonaprieto
jonaprieto previously approved these changes Jan 31, 2023
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.

Some comments (I still have to review Translation/FromCore)

src/Juvix/Compiler/Backend/Geb/Extra.hs Outdated Show resolved Hide resolved
src/Juvix/Compiler/Backend/Geb/Language.hs Outdated Show resolved Hide resolved
src/Juvix/Compiler/Backend/Geb/Language.hs Show resolved Hide resolved
src/Juvix/Compiler/Backend/Geb/Language.hs Outdated Show resolved Hide resolved
src/Juvix/Compiler/Backend/Geb/Pretty/Options.hs Outdated Show resolved Hide resolved
@jonaprieto jonaprieto merged commit a5d19c5 into main Feb 1, 2023
@jonaprieto jonaprieto deleted the geb-integration branch February 1, 2023 11:04
jonaprieto pushed a commit that referenced this pull request Feb 3, 2023
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.

Add basic GEB backend
3 participants