autodeclare variables
Hello Everyone!
Is there a way to autodeclare variables?
For example:
I want to import an expression from another computer program. Now this expression is stored as a string, that means I have to evaluate it in sage.
sage_eval(expression)
It works fine, but if the expression contains variables, these have to be manually declared first as var('variables').
I want to do this automatically, e.g.: sage_eval(expression, autodeclarevariables=on)
Is there a way to do something like that?