1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-20 13:21:47 +03:00
juvix/app
Paul Cadman df4036d600
Compute new entrypoint root when loading a file in the REPL (#1615)
* Add shelltests for `juvix repl`

* repl: Compute entrypoint root when loading a file

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

* Move preludePath to Juvix.Extra.Paths
2022-11-10 11:26:38 +00:00
..
Commands Compute new entrypoint root when loading a file in the REPL (#1615) 2022-11-10 11:26:38 +00:00
TopCommand Add translation from Internal to Core (#1567) 2022-11-07 14:47:56 +01:00
App.hs Add juvix-repl-mode for emacs (#1612) 2022-11-09 16:36:40 +01:00
CommonOptions.hs Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00
Evaluator.hs Add translation from Internal to Core (#1567) 2022-11-07 14:47:56 +01:00
GlobalOptions.hs Support go to definition for the standard library (#1592) 2022-10-19 15:55:16 +01:00
Main.hs Compute new entrypoint root when loading a file in the REPL (#1615) 2022-11-10 11:26:38 +00:00
Root.hs Compute new entrypoint root when loading a file in the REPL (#1615) 2022-11-10 11:26:38 +00:00
TopCommand.hs Add translation from Internal to Core (#1567) 2022-11-07 14:47:56 +01:00