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

Compute new entrypoint root when loading a file in the REPL #1615

Merged
merged 3 commits into from
Nov 10, 2022

Conversation

paulcadman
Copy link
Collaborator

Previously the REPL would use the App effect root (which could be the current directory or the project root of the initially loaded file). Thus files in a different Juvix project could not be loaded. The entrypoint root must be computed each time a new file is :loaded.

This PR also adds shelltests for the REPL commands.

@paulcadman paulcadman added this to the 0.2.7 milestone Nov 9, 2022
@paulcadman paulcadman self-assigned this Nov 9, 2022
@paulcadman paulcadman force-pushed the repl-shelltests branch 2 times, most recently from ff89f42 to 49990d5 Compare November 9, 2022 18:32
Previously the REPL would use app root (which could be the current
directory or the project root of the initially loaded file). Thus files
in a different project could not be loaded.

The entrypoint root must be computed each time a new file is `:load`ed.

Adds shell-tests for REPL commands
@paulcadman paulcadman merged commit df4036d into main Nov 10, 2022
@paulcadman paulcadman deleted the repl-shelltests branch November 10, 2022 11:26
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