1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 01:52:11 +03:00
juvix/app/Commands
Łukasz Czajka f2298bd674
JuvixCore to JuvixAsm translation (#1665)
An implementation of the translation from JuvixCore to JuvixAsm. After
merging this PR, the only remaining step to complete the basic
compilation pipeline (#1556) is the compilation of complex pattern
matching (#1531).

* Fixes several bugs in lambda-lifting.
* Fixes several bugs in the RemoveTypeArgs transformation.
* Fixes several bugs in the TopEtaExpand transformation.
* Adds the ConvertBuiltinTypes transformation which converts the builtin
bool inductive type to Core primitive bool.
* Adds the `juvix dev core strip` command.
* Adds the `juvix dev core asm` command.
* Adds the `juvix dev core compile` command.
* Adds two groups of tests: 
- JuvixCore to JuvixAsm translation: translate JuvixCore tests to
JuvixAsm and run the results with the JuvixAsm interpreter,
- JuvixCore compilation: compile JuvixCore tests to native code and WASM
and execute the results.
* Closes #1520 
* Closes #1549
2023-01-09 18:21:30 +01:00
..
Compile Support basic dependencies (#1622) 2022-12-20 13:05:40 +01:00
Dev JuvixCore to JuvixAsm translation (#1665) 2023-01-09 18:21:30 +01:00
Doctor Refactor CLI (#1527) 2022-09-14 16:16:15 +02:00
Extra JuvixCore to JuvixAsm translation (#1665) 2023-01-09 18:21:30 +01:00
Html Support basic dependencies (#1622) 2022-12-20 13:05:40 +01:00
Repl Add --show-de-bruijn option to juvix repl (#1694) 2023-01-04 17:09:41 +01:00
Typecheck Support basic dependencies (#1622) 2022-12-20 13:05:40 +01:00
Base.hs Refactor CLI (#1527) 2022-09-14 16:16:15 +02:00
Compile.hs Compiler output (#1705) 2023-01-06 17:54:13 +01:00
Dev.hs Support basic dependencies (#1622) 2022-12-20 13:05:40 +01:00
Doctor.hs Support basic dependencies (#1622) 2022-12-20 13:05:40 +01:00
Html.hs Support basic dependencies (#1622) 2022-12-20 13:05:40 +01:00
Init.hs Support basic dependencies (#1622) 2022-12-20 13:05:40 +01:00
Repl.hs Compiler output (#1705) 2023-01-06 17:54:13 +01:00
Typecheck.hs Refactor CLI (#1527) 2022-09-14 16:16:15 +02:00