4 ms·
Rebol family of languages (including Red) uses near equivalents of fexprs. Here's a self-modifying function ;^) >> foo: has [x][append body-of context? 'x [
by 9214 8y ago
Rebol family of languages (including Red) uses near equivalents of fexprs.
Here's a self-modifying function ;^)
>> foo: has [x][append body-of context? 'x [+ 1] 1]
== func [/local x][append body-of context? 'x [+ 1] 1]
>> loop 3 [probe foo]
1
2
3
== 3
>> ?? foo
foo: func [/local x][append body-of context? 'x [+ 1] 1 + 1 + 1 + 1]