1
1
mirror of https://github.com/anoma/juvix.git synced 2024-09-20 13:07:20 +03:00
juvix/app
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
..
Commands [app] Add compile command (#130) 2022-05-30 17:46:17 +02:00
App.hs Generic Errors and refactoring (#123) 2022-05-26 17:52:08 +02:00
CLI.hs [app] Add compile command (#130) 2022-05-30 17:46:17 +02:00
Command.hs [app] Add compile command (#130) 2022-05-30 17:46:17 +02:00
GlobalOptions.hs Add the termination checker to the pipeline (#111) 2022-05-30 13:40:52 +02:00
Main.hs [app] Add compile command (#130) 2022-05-30 17:46:17 +02:00