Currently the only way to modify the options passed into EEx's 
Code.string_to_quoted!/2 call is by calling Code.put_compiler_option/2 for 
:parser_options.

Specifically I'd want to pass in a custom :static_atoms_encoder function 
while compiling certain EEx templates. However Code.put_compiler_option 
feels a bit hackey and it modifies configuration that not only affects the 
compilation of my specific EEx templates.

Ideally you'd be able to pass along options to EEx.compile_* that get 
passed down to Code.string_to_quoted to allow for more fine grained control 
over the code generation.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/85799e27-9ec8-4579-9790-75150d73a57cn%40googlegroups.com.

Reply via email to