[REBOL] Re: [COMPOSE] Build
From: lmecir::mbox::vol::cz at: 31-Oct-2004 16:54
I decided not to do any upgrade, instead I created a brand new dialect.
It looks as follows:
build-block [x (y) [z] u :v] [x: 1 y: 1 + 1 z: 1 + 2 u: [contents of
u] v: [contents of v]] ; == [1 (2) [3] [contents of u] contents of v]
This dialect looks very human-readable, doesn't it? (I found a lot of
possible usages for it). You can easily "stack" it like:
build-block [let's see :what] build-block [what: [the rise of the
(y)]] [y: 'sun] ; == [let's see the rise of the (sun)]
I posted the implementation (easy exercise for a reader :-) to
http://www.fm.vslib.cz/~ladislav/rebol/build-block.r
-Ladislav
P.S. had to check www.rebol.org to see my and Gregg's message. The last
message that made it to my box was: "[REBOL] Re: rejoin with tag" posted
by Carl Read :-(