Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: [new-line new-lines dialect] NEW-LINES dialect wrapper for NEW-LINE func

From: gregg::pointillistic::com at: 18-May-2007 9:21

Hi Anton, AR> Well, I suggested a dialect when NEW-LINES was being AR> designed, but they were in too much of a hurry. That's too bad. I'm always pushing for dialects where they make sense...and sometimes where they don't I suppose. AR> Your dialect seems easy to read but I think it could AR> be more concise. It doesn't really need 'marker(s), 'in or AR> 'item(s). I often allow optional words that make a sentence more complete. It's something I'd like to see discussed more; Carl once mentioned that he considered it for REBOL in general, but didn't include it. My concern is that allowing extra words as filler makes them part of the grammar, so they aren't available later, if you extend the dialect. AR> I would also probably move the block to be modified outside AR> the dialect block, as the second argument, to facilitate AR> directly specified (anonymous) blocks. I thought about that too. If we do that, should the block be the first or second arg? If second, it's backwards from new-line. Including it in the dialect has the negative effect of possible conflict with a keyword, forcing you to use COMPOSE; but, like filler words, it can make for more complete sentences. Does anyone else have thoughts on this? AR> ("eigth" is also missing an 'h') Thanks! In both blocks, too, because I copied it. -- Gregg