Re: Just a little question before 4.0 will be released

new topic     » goto parent     » topic index » view thread      » older message » newer message
jeremy said...

I wonder if it wouldn't be better to not allow so many delimiters but just double the delimiter.

I was first going to do just that but it became apparent that a choice of delimiter was needed because of the probability that the text being encode could contain it. Also, parsing it is just slightly slower.

For instance, this would fail...

sequence s = #// 
    The URL is http://www.rapideuphoria.com  
// 
jeremy said...

Further, provide a "stripping" delimiter,

sequence s = #@@ 
    abc, def 
      abc, def 
@@ 
 
-- "abc, def\n  abc, def" 

When the stripping delimiter is used, all the white space of the first string is stripped from subsequent lines.

I also toyed with this one too, but it fails when the first line is meant to to be indented.

sequence s = #@ 
__  abc, def 
  abc, def 
@ 

should display as

  abc, def 
abc, def 

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu