1
1
mirror of https://github.com/anoma/juvix.git synced 2024-09-20 13:07:20 +03:00
juvix/app/Commands
Paul Cadman 7e71122e7f
[app] Add compile command (#130)
* [app] Add compile command

The compile command drives the (external) clang compiler to build a WASM
binary from a minijuvix file.

The intermediate C files are stored in .minijuvix-build directory
relative to the directory where the command is executed.

The user can specify which runtime (standalone and libc) to build
against.

The file-embed library is used to embed the runtime files into the
minijuvix binary.

* TemplateHaskell is a default extension

* [app] Add the .minijuvix-build dir in the root of the project

* [app] Derive the default output filename from the inputfile

* [chore] Add .minijuvix-build to .gitignore
2022-05-30 17:46:17 +02:00
..
Compile.hs [app] Add compile command (#130) 2022-05-30 17:46:17 +02:00
Extra.hs 87 refactor warning related stuff (#91) 2022-05-06 11:48:07 +02:00
Html.hs 87 refactor warning related stuff (#91) 2022-05-06 11:48:07 +02:00
MicroJuvix.hs 87 refactor warning related stuff (#91) 2022-05-06 11:48:07 +02:00
MiniC.hs 87 refactor warning related stuff (#91) 2022-05-06 11:48:07 +02:00
MiniHaskell.hs 87 refactor warning related stuff (#91) 2022-05-06 11:48:07 +02:00
MonoJuvix.hs 87 refactor warning related stuff (#91) 2022-05-06 11:48:07 +02:00
Parse.hs 87 refactor warning related stuff (#91) 2022-05-06 11:48:07 +02:00
Scope.hs 87 refactor warning related stuff (#91) 2022-05-06 11:48:07 +02:00
Termination.hs 87 refactor warning related stuff (#91) 2022-05-06 11:48:07 +02:00