Runtime evaluation: Difference between revisions

Content added Content deleted
(Added Arturo implementation)
Line 1,892: Line 1,892:


TODO: Is there a way to execute statements as well as evaluate expressions? [[Category:TI-89 BASIC examples needing attention]]
TODO: Is there a way to execute statements as well as evaluate expressions? [[Category:TI-89 BASIC examples needing attention]]

=={{header|Transd}}==
<lang Scheme>#lang transd

MainModule : {
str: "(textout \"eval output: \" (+ 1 1))",

_start: (λ
(eval str)
)
}</lang>
{{out}}
<pre>
eval output: 2
</pre>


=={{header|UNIX Shell}}==
=={{header|UNIX Shell}}==