I'm working on a program for my school's programming outreach club, What I'm trying to do is have the user type in a string and the program searches the string. For example, they would type something like
moveInstant(4, 8)
and it would execute function
def moveInstant(targetX, targetY)
pyautogui.moveTo(targetX, targetY)
Make sense? basically taking a long string and converting each instance of pseudo code into a predefined function with arguments. The idea is that a user could input a full txt file and it could be executed by the program.