mix compile.ethyl (Ethyl v0.2.0) View Source

A task to compile Ethyl expressions into BEAM bytecode

Compiling Ethyl expressions may be valuable so that one can measure code coverage with a test suite.

The design of this compiler is loosly based on the 1.12 Elixir compiler, but it is adapted for Ethyl's unique structures. Namely, This compiler wraps expressions in superfluous modules. This is necessary to measure coverage with the built-in :cover module.