But what if the user wants to paste non-latex code? But yes, I agree that it would have benefits.
Explicit functions are turned into implicit ones by rearranging (and adding a `y = ` to the beginning if necessary). This way the shader code is the same