Runtime evaluation/In an environment: Difference between revisions
Runtime evaluation/In an environment (view source)
Revision as of 06:11, 16 November 2011
, 12 years ago→{{header|Java}}: typo fixing
(omit from Haskell) |
(→{{header|Java}}: typo fixing) |
||
Line 298:
=={{header|Java}}==
{{works with|Java|6+}}
Java is compiled static language and expression evaluation is not intrinsic part of Java or the standard libraries. In scripting languages for example - it makes sense to have eval method, as interpreter can interpret string and include
Clearly there are lots of ways to get around the problem, but as of Java 6, Java can contain scripting environments. For example Mozilla Rihno JavaScript engine is contained in JDK 6 Bean Scripting Framework.
|