AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 8603 |
r3wp | 82214 |
total: | 90817 |
results window for this page: [start: 90801 end: 90817]
world-name: r3wp
Group: REBOL Syntax ... Discussions about REBOL syntax [web-public] | ||
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 | |
Steeve: 24-Feb-2012 | but path! needs all the other dataypes to be finished first | |
Maxim: 24-Feb-2012 | no, afaik, just paren!, word and its own additional format quirks. as the global block definition expacts, so too will parens, and thus the path. | |
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 | hehe. but it may adds another complexity to the < parsing rule maybe some precedende in the rule will be required to make sure the this/<tag> isn't short-circuited by another simpler rule. | |
Maxim: 24-Feb-2012 | maybe some precedende in the rule == . Maybe some precedende manipulations in the rules | |
Maxim: 24-Feb-2012 | actually... strike that... I just discovered how twisted the loader is . | |
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: 24-Feb-2012 | I can't use the time! rule inside date!, the allowed forms are different. Youpiiiiiiiiii | |
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 ? | |
Steeve: 6-Mar-2012 | I try to resume my thought. Is it valid to run some code in the rules using (...) ? | |
Andreas: 6-Mar-2012 | No () please, but you can of course use code to generate the static rule in the first place :) | |
Andreas: 6-Mar-2012 | Yes, strictly no code blocks in the rules. | |
Andreas: 6-Mar-2012 | Just use the generated block :) | |
Ladislav: 6-Mar-2012 | The order of subwords in the above "exhaustive rule" shall be reversed, though. | |
Ladislav: 8-Mar-2012 | However, the example Steeve posted does not contain "code blocks" |
90801 / 90817 | 1 | 2 | 3 | 4 | 5 | ... | 905 | 906 | 907 | 908 | [909] |