Run with elixir repro.exs [modules] [entries]. It has no dependencies.
The script generates modules shaped like the ones DSL libraries (Spark/Ash, etc.) compile configuration into:
- functions that return large literals (lists of structs, a map with ~100 keys)
- small wrapper functions derived from them (
fetch_persisted/1,config/0)
It compiles them with Kernel.ParallelCompiler, with infer_signatures on and then off.