Runtime evaluation: Difference between revisions

m
(Added a "../" defore "compiler" in import statement. Added a comment about the working versions.)
Line 954:
</lang>
 
=={{header|Mathematica}}/{{header|Wolfram Language}}==
Mathematica's <code>ToExpression</code> evaluates an expression string as if it were placed directly in the code. Statements are just <code>CompoundExpression</code>s, so they also work. Any evaluation can be limited with <code>TimeConstrained</code> and <code>MemoryConstrained</code>.
<lang Mathematica>Print[ToExpression["1 + 1"]];
1,111

edits