1
1
mirror of https://github.com/anoma/juvix.git synced 2025-01-04 05:33:27 +03:00
juvix/app/Commands/Dev/Asm
Ł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
..
Compile Nockma compile (#2570) 2024-01-17 11:15:38 +01:00
Run Add FileExt type (#2467) 2023-10-25 12:02:12 +02:00
Validate Add FileExt type (#2467) 2023-10-25 12:02:12 +02:00
Compile.hs JuvixTree parser and pretty printer (#2583) 2024-01-24 12:45:39 +01:00
Options.hs Translation from JuvixAsm to C (#1619) 2022-12-06 11:33:20 +01:00
Run.hs Use system locale independent readFile and writeFile APIs from with-utf8 (#2473) 2023-10-26 09:13:33 +01:00
Validate.hs Use system locale independent readFile and writeFile APIs from with-utf8 (#2473) 2023-10-26 09:13:33 +01:00