To achieve maximum flexibility, I'm adding a math expression parser I made a while ago to Do a Barrel Roll, and integrating it with YACL. It compiles a string based expression to a tree of nested lambda functions, so that once compiled, the performance difference with actual code should be negligible.
I want to apply this to more parts of the mod, maybe using it to allow users to define custom camera modifiers, but I'll have to see what's possible without bogging down usability of the ui.


