1
1
mirror of https://github.com/anoma/juvix.git synced 2024-11-09 22:11:27 +03:00
juvix/app/Commands
Jan Mas Rovira 10e2a23239
Translation from Juvix Tree to Nockma (#2614)
This PR replaces the JuvixAsm -> Nockma translation with a JuvixTree ->
Nockma translation.

We can now enable some of the JuvixTree tests that did not work with
JuvixAsm->Nockma because they were too slow.


## Notes

We have changed [test031: temp stack with
branching](22ee87f0e7/tests/Tree/positive/test031.jvt)
to avoid using negative numbers (because negative integers are not
supported in Nockma).

Three tree tests trace/output lists. Lists are serialised differently by
the asm and nockma pretty printers so they cannot share a single test
output file. We have created separate nockma output files for these
tests (see eg.
[test028.nockma.out](22ee87f0e7/tests/Tree/positive/out/test028.nockma.out)).

* Closes https://github.com/anoma/juvix/issues/2606

---------

Co-authored-by: Paul Cadman <git@paulcadman.dev>
Co-authored-by: Lukasz Czajka <lukasz@heliax.dev>
2024-02-06 08:33:14 +00:00
..
Clean Use Package.juvix in the global project (#2499) 2023-11-06 11:49:43 +00:00
Compile Add support for Literate Juvix Markdown (#2448) 2023-11-10 13:55:36 +01:00
Dependencies Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
Dev Translation from Juvix Tree to Nockma (#2614) 2024-02-06 08:33:14 +00:00
Doctor Global offline flag (#2335) 2023-09-05 17:11:17 +02:00
Eval Add support for Literate Juvix Markdown (#2448) 2023-11-10 13:55:36 +01:00
Extra JuvixTree parser and pretty printer (#2583) 2024-01-24 12:45:39 +01:00
Format Add FileExt type (#2467) 2023-10-25 12:02:12 +02:00
Html Add support for Literate Juvix Markdown (#2448) 2023-11-10 13:55:36 +01:00
Init Add PackageDescription.Basic module Package variant (#2509) 2023-11-13 17:36:18 +00:00
Markdown Add support for Literate Juvix Markdown (#2448) 2023-11-10 13:55:36 +01:00
Repl Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
Typecheck Add support for Literate Juvix Markdown (#2448) 2023-11-10 13:55:36 +01:00
Base.hs Use writeFileEnsureLn in place of writeFile (#2604) 2024-01-31 11:15:17 +01:00
Clean.hs Use Package.juvix in the global project (#2499) 2023-11-06 11:49:43 +00:00
Compile.hs Use writeFileEnsureLn in place of writeFile (#2604) 2024-01-31 11:15:17 +01:00
Dependencies.hs Read Package on demand and cache it (#2548) 2023-12-06 18:24:59 +01:00
Dev.hs JuvixTree parser and pretty printer (#2583) 2024-01-24 12:45:39 +01:00
Doctor.hs Use a versioned documentation link in the doctor output (#2475) 2023-10-26 11:51:48 +01:00
Eval.hs Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
Format.hs Use writeFileEnsureLn in place of writeFile (#2604) 2024-01-31 11:15:17 +01:00
Html.hs Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
Init.hs Nockma compile refactor (#2582) 2024-01-16 16:22:10 +00:00
Markdown.hs Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
Repl.hs Remove redundant QuasiQuotes pragmas (#2603) 2024-01-30 10:08:07 +01:00
Typecheck.hs Read Package on demand and cache it (#2548) 2023-12-06 18:24:59 +01:00