blob: 22c5ae5dd0c7be7ada1dc915964e64088549c365 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
-- in this case, a simple statement macro can be used
-- `block ... end` expands to `(function() ... end)`
def_ block (function() _END_")"
function peval(fun)
print(fun())
end
peval block
return 10,'hello',54
end
|