Runtime evaluation: Difference between revisions

→‎Insitux: correction
(→‎Insitux: inclusion)
(→‎Insitux: correction)
Line 693:
=={{Header|Insitux}}==
 
All valid Insitux code can be evaluated at runtime using <code>eval</code>, including function definitions, withwhich accessremain toin the sameglobal scope, aswith theaccess <code>eval</code>to invocationglobal including the comparativelyscope ephemeralbut <code>let</code>not variableslocal.
 
<syntaxhighlight lang="insitux">
(letvar x 123)
[
(eval "(letvar y 100) (+ x y)")
y
]
Line 709:
</pre>
 
Error messages differ between normal code and evaluated code.
It's almost as if the original code was directly present, except error messages which are slightly different.
 
<b>Normal invocation error output:</b>
112

edits