1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-19 04:41:36 +03:00
juvix/app
Łukasz Czajka e5ea085f1c
JuvixTree parser and pretty printer (#2583)
This PR implements:
* JuvixTree parser.
* JuvixTree pretty printer.
* `juvix dev tree read file.jvt` command which reads and pretty prints a
JuvixTree file.
* The `tree` target in the `compile` command.
* Removal of `StackRef` in JuvixAsm. This makes JuvixAsm more consistent
with JuvixTree and simplifies the data structures. `StackRef` is not
needed for compilation from Core.

Tests for the parser will appear in a separate PR, when I implement an
automatic translation of JuvixAsm to JuvixTree files.

---------

Co-authored-by: Paul Cadman <git@paulcadman.dev>
Co-authored-by: Jan Mas Rovira <janmasrovira@gmail.com>
2024-01-24 12:45:39 +01:00
..
Commands JuvixTree parser and pretty printer (#2583) 2024-01-24 12:45:39 +01:00
TopCommand Add support for Literate Juvix Markdown (#2448) 2023-11-10 13:55:36 +01:00
App.hs Nockma compile (#2570) 2024-01-17 11:15:38 +01:00
AsmInterpreter.hs Nockma compile refactor (#2582) 2024-01-16 16:22:10 +00:00
CommonOptions.hs Add FileExt type (#2467) 2023-10-25 12:02:12 +02:00
Evaluator.hs Nockma compile refactor (#2582) 2024-01-16 16:22:10 +00:00
GlobalOptions.hs Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
Main.hs Read Package on demand and cache it (#2548) 2023-12-06 18:24:59 +01:00
TopCommand.hs Read Package on demand and cache it (#2548) 2023-12-06 18:24:59 +01:00