World: r3wp
[Core] Discuss core issues
older newer | first last |
Maxim 8-Nov-2006 [6098x7] | and they only do so to interact with 'old people. |
like teachers, parents and employers. | |
if we could actually code IM apps as easily as we can send mail, then REBOL would Definitely attract attention to a younger crowd. | |
(this is a suggestion for R3) | |
hehe, to-logic "false" == true | |
try to convince non REBOL users why this is logical... and well, I think you are on the bad side of the discussion ;-) | |
I think this whole mess needs to be explicitely dealt with and exhaustively documented, in R3 in the least. right now, I'm realizing that these issues permeate REBOL and they are probably the only real inconsistency in the language. Each type seems to have its own understanding of how to treat an input value... its probably quite frustrating for novices, IMHO. | |
Pekr 9-Nov-2006 [6105] | Maxim - about protocols - that's why I wanted something higher-level, like Uniserve being inbuild. We should not develop protocols from scratch, but plug them into some existing architecture, which does multiplexing without the need for the dev to think how to achieve it ... |
Graham 9-Nov-2006 [6106x2] | I've forgotten .. how to restore a url encoded string ? |
like this one .. "alcohol %26 tobacco" | |
Maxim 9-Nov-2006 [6108] | is it decode-url ? |
Graham 9-Nov-2006 [6109x2] | nope |
errr.. perhaps there isn't a native function to do this ? | |
Rebolek 9-Nov-2006 [6111x2] | DEHEX |
>> dehex "alcohol %26 tobacco" == "alcohol & tobacco" | |
Graham 9-Nov-2006 [6113x2] | OH ?? I tried that too ... hmm. |
oh well....brain not working properly ! | |
Rebolek 9-Nov-2006 [6115] | Interesting, >> to lit-word! first [ < ] == '< >> to lit-word! first [<] ** Syntax Error: Invalid tag -- < ** Near: (line 1) to lit-word! first [<] |
Cyphre 9-Nov-2006 [6116] | It looks Rebol's lexical parser detects #"<" without space at the end as a tag! |
Rebolek 9-Nov-2006 [6117] | I cannot INCLUDE script with that line (to lit word! first [ < ]). 'include uses LOAD/ALL and LOAD/ALL changes the line to (to lit word! first [<]). While the first line works OK, the second one crashes. |
Cyphre 9-Nov-2006 [6118] | >> load [< ] == [<] >> load [<] ** Syntax Error: Invalid tag -- < ** Near: (line 1) load [<] >> load [<a ] ** Syntax Error: Invalid tag -- <a ** Near: (line 1) load [<a ] >> |
Rebolek 9-Nov-2006 [6119] | yes, LOAD is the cause. |
Pekr 9-Nov-2006 [6120] | it seems so ... but wouldn't we expect a block? |
Rebolek 9-Nov-2006 [6121] | I don't expect anything, I just want to set some words for parser :) |
Cyphre 9-Nov-2006 [6122] | so it looks like a bug to me. There should be added a condition where the '< is at the end of loaded block imo. |
Rebolek 9-Nov-2006 [6123x2] | you cannot parse [to '<] but you can parse [to _lt] if _lt is '< .... |
Yes, a bug probably | |
Cyphre 9-Nov-2006 [6125] | The lexical parser shoul probably check for <...> in the TAG! detection but maybe Rebol is just checking for the first '< to be faster? |
Anton 9-Nov-2006 [6126] | Ok, Rebolek and anyone else, Syntax errors should not be called "crashes". A crash is something more serious which takes down the interpreter. |
Pekr 9-Nov-2006 [6127x3] | lexical parser should give precedence to ] followed by a space, as it is a closure to initiated block, no? :-) |
(me not being parse expert at all :-) | |
I agree with Anton - for me "crash" is when something takes down rebol ... | |
Rebolek 9-Nov-2006 [6130] | Anton sorry, I'm no native speaker, I'll take more care |
Anton 9-Nov-2006 [6131] | No problem, just keeping terminology clear. |
Cyphre 9-Nov-2006 [6132] | Rebolek: please put it in RAMBO if there isn't already present. |
Rebolek 9-Nov-2006 [6133] | OK. What should be the priority to have it fixed in 1.3.3? ;) |
Pekr 9-Nov-2006 [6134x2] | red-icons = old time problem with timestamps we can't rely upon |
actually I think that bug is gonna be fixed, as solution seems to be obvious ... | |
Cyphre 9-Nov-2006 [6136] | BTW you can always use this workaround: to-lit-word "<" |
Pekr 9-Nov-2006 [6137] | other - lowering dekstop timeout - absolutly obtrusive experience trying to connect to internet, when you are behind the proxy. I would not connect by default |
Anton 9-Nov-2006 [6138x2] | Hmm.... I think "medium". It's good to also note in your bug report why it was a problem for you (the space was sucked out of the block). |
(also note the workaround you use.) | |
Rebolek 9-Nov-2006 [6140x2] | I've no workaround right now, because I've noticed it half an hour ago, but Cyphre's example looks promising. |
I'm not sure why I'm using first [ < ] instead of "<" because the second looks more logical | |
Maxim 9-Nov-2006 [6142x6] | I have a little question regarding extern library useage... |
I am supplying a string! to a function, which is supposed to be used as a buffer. | |
lets say: buf: make string! 100 | |
but when the function returns, my string is still size 0. although I know the call has worked! | |
cause If I send a string filled up with 100 spaces, I actually get some chars overwritten and a 0 char where it should... | |
so my question is basically, what is the proper/expected means of submitting a buffer ? | |
older newer | first last |