World: r3wp
[!REBOL3-OLD1]
older newer | first last |
Paul 24-May-2009 [14378] | >> series == [1 2 3 4 5 6 7 8 9 10] >> series: at series back tail series >> series: [10] |
BrianH 24-May-2009 [14379] | >> series == [1 2 3 4 5 6 7 8 9 10] >> series: back tail series == [10] The AT is implied by TAIL, and then again by BACK. |
Paul 24-May-2009 [14380x2] | yeah only example I can think of. |
I had it written down from something I had been working on. Go ahead and resolve the ticket if you like - if I come across the problem that resulted in my notes then we can revisit it. | |
BrianH 24-May-2009 [14382] | An example where you are trying to go to the same position of another series would be more useful, since that would mean removing an INDEX? function instead of adding an AT function. |
Paul 24-May-2009 [14383] | Yeah in my notes I have "no copy'" so something I was involved with wanted the fucntionality without copy. |
BrianH 24-May-2009 [14384] | Interesting. No copying is going on here, just references passed around. |
Paul 24-May-2009 [14385x3] | Ahhh, just AT series back tail series. |
so in other words the following: at series back tail series The assingment is implied. | |
no need to set series: at series back tail series. But instead the at command is manipulating the series directly for the navigation arguments. | |
Steeve 24-May-2009 [14388] | Wait... Are you Paul ? really ? |
Paul 24-May-2009 [14389] | Yes Steeve. |
BrianH 24-May-2009 [14390] | No, the at series is implied. The assignment is also implied for ports in R3 though. |
Paul 24-May-2009 [14391x4] | Never left. |
Do you get what I'm saying Brian? | |
not explaining it well I don't think. | |
I got two conversations going on - one here and another with Graham on his server. | |
BrianH 24-May-2009 [14395] | I get what you're saying, but AT is still not modifying for series. |
Paul 24-May-2009 [14396] | Yeah I know but in this case if it has a navigational argument I was thinking it should. |
BrianH 24-May-2009 [14397] | Naw, the navigational functions are just functions for series - except ++, -- and FIRST+. They are only modifying for ports. By design :) |
Paul 24-May-2009 [14398] | Can I modify my ticket to better reflect what I was trying to communicate? |
BrianH 24-May-2009 [14399] | Sure. I haven't reviewed it yet in case you wanted to. |
Paul 24-May-2009 [14400] | I will in a few minutes. |
Henrik 26-May-2009 [14401] | Wonderful bugreporting by Ladislav. Thanks. |
Pekr 27-May-2009 [14402] | http://www.rebol.net/r3blogs/0207.html- Should UNSET act as a value? |
BrianH 27-May-2009 [14403x2] | (continued from !CureCode) When the time comes, the Parse Proposals will need to be reorganized so that there are separate sections for general operatioons, and for the operations that are specific to blocks, strings, binaries, ports. At the very least, there needs to be good binary pattern recogntion operations. |
Having the copy operation when applied to a binary! return a binary! is an improvement of R3 over R2 already though :) | |
Oldes 27-May-2009 [14405x3] | Steeve, it's not working.. >> str: to-string #{C49BC5A1C48DC599C5BEC3BDC3A1C3ADC3A9313278} == "ešcržýáíé12x" >> parse str [some [copy tmp 1 skip (probe tmp)]] c ž á é 2 x == true |
(you will not see correct chars here probably) | |
but you can see, that the skip is not working as expected. | |
Steeve 27-May-2009 [14408] | parse/all |
BrianH 27-May-2009 [14409x2] | That's an error - using /all shouldn't fix it because there are no spaces there. |
Write it up in CureCode. | |
Oldes 27-May-2009 [14411] | hm.. than it's ok... BUT there are no spaces inside the string, so why /all ? |
BrianH 27-May-2009 [14412] | Because it's a bug. |
Oldes 27-May-2009 [14413] | yes... I was slower than you:) |
BrianH 27-May-2009 [14414x2] | A bug in PARSE. |
Sorry, my AltME is slow today. | |
Steeve 27-May-2009 [14416] | well, actually i didn't found the bug, it's Brian |
BrianH 27-May-2009 [14417] | In R2 the underlying data of strings and binaries is the same: bytes. In R3, strings are made up of Unicode codepoints, binaries of bytes. |
Oldes 27-May-2009 [14418] | Anyway.. I almost always use parse with /all in R2. |
Steeve 27-May-2009 [14419] | me too |
BrianH 27-May-2009 [14420] | Same here. I never was good at predicting what PARSE without /all would do, exactly. |
Steeve 27-May-2009 [14421] | yep, it's why i didn't saw that bug in R3 |
shadwolf 27-May-2009 [14422] | we need serrious doc on parse i'm sure i could use parse more if i had some serrious explain of it |
Oldes 27-May-2009 [14423] | Parse is the main reason why I use REBOL:) |
shadwolf 27-May-2009 [14424x4] | I too i love parse and i'm sad to not understand it enough to exploit it to its extend |
oldes i'm doing irc client with colot text support that's fun i tool your irc-core as base | |
and that's the kind of application where the use of parse to colorise the text would be fantastique | |
oldes i'm doing irc client with color text support that's fun i took your irc-core as base | |
older newer | first last |