Jump to content

Runtime evaluation: Difference between revisions

Added Julia language
(Added Julia language)
Line 840:
typeof bar; // 'string'
</lang>
 
=={{header|Julia}}==
{{works with|Julia|0.6}}
 
To run an entire script in the current env:
 
<lang julia>include("myfile.jl")</lang>
 
To run a string in the current env:
 
<lang julia>include_string("""
x = sum([1, 2, 3])
@show x
""")
 
@show typeof(x) # Int64</lang>
 
=={{header|Mathematica}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.