You are right, rebol is about dialects after all, and Ladislav's BUILD function does the job very well (especially with the /with refinement). However the built-in COMPOSE function is not inspired by a dialected way of doing things, it looks more like the lispy backotes+comma. I think it should either be more comfortable like lisp, or completely rebolesque like Build.
-- Henri On 11/26/05, Gabriele Santilli <[EMAIL PROTECTED]> wrote: > > Hi Henri, > > On Saturday, November 26, 2005, 1:19:18 PM, you wrote: > > HM> I don't want it to be done at runtilme. The value is in fact the name > HM> of a variable, I create a standard block for a standard function, and > HM> then I create several functions using different variables by > HM> replicating/compositing the standard block. > > Do you mind sharing the actual examples? > > HM> Thank you very much, utility.r and build.r are nice, I will probably > HM> find a solution with them, nevertheless they all seem like workaround= s > HM> for the lack of backquotes macros, I still don't understand why > HM> RebolTech decided to use parens for compose. The lispy method seems s= o > HM> much more comfortable, and more accurate with the use of "@" only whe= n > HM> needed instead of the "/only". > > But REBOL has no syntax, in the way Lisp does. So the way to do > that in REBOL is creating a dialect, like the BUILD function. > > Since REBOL is more dynamic than Lisp (REBOL cannot be compiled, > while Lisp is a compilable language), it does not need macros as > much as Lisp does; so the need for a dialect like BUILD is not > that strong, and that's why it's not built in. > > It has to be said, that while you would not be able to really do > macros in Lisp without having quoting, i.e. without support in the > syntax, you can do all that in REBOL without any special support. > > Regards, > Gabriele. > -- > Gabriele Santilli <[EMAIL PROTECTED]> --- http://www.rebol.com/ > Colella Chiara software division --- http://www.colellachiara.com/ > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. > > -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
