• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp5907
r3wp58701
total:64608

results window for this page: [start: 64601 end: 64608]

world-name: r3wp

Group: REBOL Syntax ... Discussions about REBOL syntax [web-public]
Steeve:
24-Feb-2012
Okkkkk, there is a huge list for the serialized ones ;-)
Maxim:
24-Feb-2012
actually,  path! also has a few quirks, like allowing parens and 
the use of a  get-set-word at the end
Maxim:
24-Feb-2012
yeah, just have to find the values which are valid in a path (not 
all types are valid, at least in R2)
Maxim:
24-Feb-2012
I bet you didn't know tags where usable directly  ?  not many think 
about it, but since tags are strings, they make a lot of sense for 
representing XML tree structures... and indeed, I used them when 
I had namespaced tags.
Maxim:
24-Feb-2012
I just discovered that this is valid:
>> 3:3.4
== 0:03:03.4
a dangerous gotcha since:
>> 3:3
== 3:03
Maxim:
24-Feb-2012
maybe we can note to this effect within the comments, to indicate 
how the time shifts when two or three number values are in the time.
hehe I can see a noob scratching his head  ;-)

3:03     == 3:03:00  
3.03.4  == 0:03:03.4
Maxim:
24-Feb-2012
its ironic that the above will load but that a single comma with 
kill the loader   :-)
Steeve:
6-Mar-2012
About short Date syntax .
A valid month is taken from system/locale/months:
== ["January" "February" "March" "April" "May" "June"
    "July" "August" "September" "October" "November" "December"
]

The month must be 3 letters a least, but longer sub-strings are valid 
forms as well:

eg. 1-Jan-2000, 1-Janu-2000, 1-Janua-2000,1-Januar-2000,1-January-2000.


One can do a simple rebol function to pick-up a valid month from 
system/locale/months.

Doing this only with plain formal static parse rules would be painfull 
because it should include all the valid sub-strings.
eg. ["Jan" | "Janu" | "Janua" | ...]

What do you think ?
64601 / 6460812345...643644645646[647]