Elixir library to execute and inline expressions at compile time.
def deps do
[
{:inline, "=> 1.0.0"}
]
end
Compile a regular expression at compile time (without using sigils):
require Exp
rex = Exp.inline(Regex.compile!("[0-9]+"))
Documentation: hexdocs.pm/exp.