Runtime evaluation: Difference between revisions

m
Line 1,068:
Compiled expressions and statements can take arbitrary arguments and return values to the caller. As with any function, the expression or statement being compiled can refer to its arguments using the <tt>#</tt> prefix operator.
 
An expression always "returns" a value (i. e. evaluates to one) to the caller. Basically, compiling an expression is semantically (and syntactically) equivalent with creating a function with no declared arguments of which the body containsconsists of a single <tt>return</tt> statement, returning the expression.
 
===Evaluating expressions===
Anonymous user