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: jjmmes::yahoo::es at: 19-May-2007 9:00

Hi Gregg,=0A=0AYour dialect is potentially very useful. The syntax I prefer is:=0A=0Anew-lines blk spec-block=0A=0Awhere spec block is something more like the forthcoming rebol printf-like functionality, but where you can specify the layout of multiple lines=0A(I usually have a file with a bunch of data repeating and what is useful is to be able to layout the say 5 repeating lines in a meaningful way so=0Athat the file can be inspected)=0A=0AThanks=0Ajose=0A=0A----- Mensaje original ----=0ADe: Gregg Irwin <gregg-pointillistic.com>=0APara: Anton Rolls <rebolist-rebol.com>=0AEnviado: viernes, 18 de mayo, 2007 17:21:10=0AAsunto: [REBOL] Re: [new-line new-lines dialect] NEW-LINES dialect wrapper for NEW-LINE func=0A=0A=0AHi Anton,=0A=0AAR> Well, I suggested a dialect when NEW-LINES was being=0AAR> designed, but they were in too much of a hurry.=0A=0AThat's too bad. I'm always pushing for dialects where they make=0Asense...and sometimes where they don't I suppose.=0A=0AAR> Your dialect seems easy to read but I think it could=0AAR> be more concise. It doesn't really need 'marker(s), 'in or=0AAR> 'item(s).=0A=0AI often allow optional words that make a sentence more complete. It's=0Asomething I'd like to see discussed more; Carl once mentioned that=0Ahe considered it for REBOL in general, but didn't include it. My=0Aconcern is that allowing extra words as filler makes them part of the=0Agrammar, so they aren't available later, if you extend the dialect.=0A=0AAR> I would also probably move the block to be modified outside=0AAR> the dialect block, as the second argument, to facilitate=0AAR> directly specified (anonymous) blocks.=0A=0AI thought about that too. If we do that, should the block be the first=0Aor second arg? If second, it's backwards from new-line.=0A=0AIncluding it in the dialect has the negative effect of possible=0Aconflict with a keyword, forcing you to use COMPOSE; but, like filler=0Awords, it can make for more complete sentences.=0A=0ADoes anyone else have thoughts on this?=0A=0AAR> ("eigth" is also missing an 'h')=0A=0AThanks! In both blocks, too, because I copied it.=0A=0A=0A-- Gregg=0A=0A-- =0ATo unsubscribe from the list, just send an email to =0Alists at rebol.com with unsubscribe as the subject.=0A=0A=0A=0A=0A=0A=0A=09=09=0A______________________________________________ =0ALLama Gratis a cualquier PC del Mundo. =0ALlamadas a fijos y m=F3viles desde 1 c=E9ntimo por minuto. =0Ahttp://es.voice.yahoo.com