Compile-time calculation: Difference between revisions
m
/* {{header|Wren}} Oops, wrong name in the header and lang tag.
(Added Wren) |
m (/* {{header|Wren}} Oops, wrong name in the header and lang tag.) |
||
Line 1,334:
<pre>3628800</pre>
=={{header|
Wren is a hybrid compiler/interpreter in the sense that the source code is first compiled to an intermediate bytecode which is then interpreted by the virtual machine.
Line 1,342:
Not that it makes much difference in practice as the compiler which is written in C is so quick (at least with scripts of moderate length and on modern hardware) that the compile and runtime stages are indistinguishable to the user.
<lang
System.print(factorial10)</lang>
|