I know this is an odd question, but I\'m wondering if this is possible. Is there any method by which code (which would be typed by a user) could be run during runtime?>
Create a language of your own, and parse it in-application
If on mac, you could theoretically, create a function stub from what they enter in, and use GCC shipped with the application to compile the code at runtime into a dylib, and then use dylib functions to run the function you created.