1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 18:13:56 +03:00
juvix/app/Commands/Dev/Core
Paul Cadman efb7f2abd0
Parse JuvixCore with absolute paths (#1770)
Filepaths within a Loc must now be absolute or an error is thrown when
mkLoc is called. This Loc is used when displaying errors.

This commit uses imaginary absolute file paths in the Core repl and Asm
commands in the cases (parsing a single expression for example).

Before this fix, the `core {repl, read, eval}` and `asm` commands would
crash if it encountered an error when invoked with a relative path, or
in the case of a repl when parsing a single expression.
2023-01-26 11:55:06 +00:00
..
Asm JuvixCore to JuvixAsm translation (#1665) 2023-01-09 18:21:30 +01:00
Compile JuvixCore to JuvixAsm translation (#1665) 2023-01-09 18:21:30 +01:00
Eval Support basic dependencies (#1622) 2022-12-20 13:05:40 +01:00
Read Support basic dependencies (#1622) 2022-12-20 13:05:40 +01:00
Repl Refactor CLI (#1527) 2022-09-14 16:16:15 +02:00
Strip JuvixCore to JuvixAsm translation (#1665) 2023-01-09 18:21:30 +01:00
Asm.hs Parse JuvixCore with absolute paths (#1770) 2023-01-26 11:55:06 +00:00
Compile.hs Parse JuvixCore with absolute paths (#1770) 2023-01-26 11:55:06 +00:00
Eval.hs Parse JuvixCore with absolute paths (#1770) 2023-01-26 11:55:06 +00:00
Options.hs JuvixCore to JuvixAsm translation (#1665) 2023-01-09 18:21:30 +01:00
Read.hs Parse JuvixCore with absolute paths (#1770) 2023-01-26 11:55:06 +00:00
Repl.hs Parse JuvixCore with absolute paths (#1770) 2023-01-26 11:55:06 +00:00
Strip.hs Parse JuvixCore with absolute paths (#1770) 2023-01-26 11:55:06 +00:00