1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 08:27:03 +03:00
juvix/test/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 Tests for the new compilation pipeline (#1703) 2023-01-12 11:22:32 +01:00
Eval Parse JuvixCore with absolute paths (#1770) 2023-01-26 11:55:06 +00:00
Transformation JuvixCore to JuvixAsm translation (#1665) 2023-01-09 18:21:30 +01:00
Asm.hs JuvixCore to JuvixAsm translation (#1665) 2023-01-09 18:21:30 +01:00
Compile.hs JuvixCore to JuvixAsm translation (#1665) 2023-01-09 18:21:30 +01:00
Eval.hs Add internal core read command (#1517) 2022-09-06 15:26:48 +02:00
Transformation.hs Conversion of Nat representation to JuvixCore integers (#1661) 2022-12-20 11:17:39 +01:00