Generate functions at compile time

Hi @pitag,
Thank you very much for your detailed comment. I read about using compiler-libs for this use case in a comment in a related thread.