World: r3wp
[!REBOL3-OLD1]
older newer | first last |
btiffin 5-Apr-2007 [2196] | I wrap most things, properly (usually) but it's nice to let bosses be bosses without having to tell them that money has to be typed in with ticks instead of commas. |
JaimeVargas 5-Apr-2007 [2197] | I understand. Only thing I am saying is that you can accomplish this without needing LOAD/lazy. |
btiffin 5-Apr-2007 [2198x3] | Yeah, but not in one-line of code :) |
Jaime; Just so ya know. Keep up the counter-arguments. This is an issue that needs to be thought through upside down and backwards. So far it's mostly been all pro few cons, and I probably have blinders on regarding the bigger pictures. I have two very specific items in mind. | |
Well that and the coolness of being able to load %random.txt | |
JaimeVargas 5-Apr-2007 [2201x3] | I hear you the "Script way". |
But there is going to be a price for this one liner. Either in load time, security, size, and others. | |
I'm more of the PARSE/LOAD camp. | |
btiffin 5-Apr-2007 [2204] | Agreed. About there being a price, wherever it hides. |
BrianH 5-Apr-2007 [2205] | If I get my wish and you can parse ports in R3, that would deal with the major advantage that LOAD has over PARSE, that you can LOAD files and urls directly. PARSE on ports with a LOAD directive would be the best of both worlds. I only wonder how backtracking will be handled on direct ports. I hope that you will be able to LOAD ports too, particularly LOAD/NEXT. |
Maxim 5-Apr-2007 [2206] | yes to all of the above, wrt backtracking, its not impossible, but its a hell of a complex algorythm. |
Pekr 6-Apr-2007 [2207] | Jaime, Maxim - please put your concerns into blog, so we can hear Carl's opinion on the topic ... |
Maxim 8-Apr-2007 [2208] | pekr, did you look at the blog? I filled it up with (too) many comments, brian had a very good insight in modifying one concept I proposed. |
btiffin 8-Apr-2007 [2209] | Maxim; Never too many comments. |
[unknown: 10] 20-May-2007 [2210x2] | Carl talked once about removing the Xaw (Athena) from View linux... is there any information about this for R3? |
another one which i think wont be in but i can ask ofcourse...will R3 have "transparent" Root-wnidow Layouts under linux? | |
Gabriele 20-May-2007 [2212] | both questions depend on the community - all of that is open source. |
[unknown: 10] 20-May-2007 [2213] | Owww... |
Dockimbel 20-May-2007 [2214] | REBOL/Command for Linux includes AGG (without View/VID), so no dependencies on any X11 libs, can be a workaround while waiting for R3. |
[unknown: 10] 20-May-2007 [2215x2] | I realy thought AGG was already inside rebol/view for linux ? |
Oke ... now understand... That request I posted a few years ago... So that works in Rebol/Command... nice to know ... | |
Pekr 22-May-2007 [2217] | could anyone explain tome, what is the port actor, as mentioned in Carl's presentation? What is difference between actor and awake? |
Gabriele 22-May-2007 [2218x3] | actor is equivalent to current handler |
eg in R2: | |
>> p: make port! http://www.rebol.com >> type? p/handler == object! >> type? p/awake == none! | |
Pekr 22-May-2007 [2221] | another one - why do I need to explicitly state "do task"? Why there is extra set of brackets in make task! [[]] example? |
Gabriele 22-May-2007 [2222] | in R3 it's called actor instead of handler, and the reason is that it is internally very different from r2 handlers. |
Pekr 22-May-2007 [2223] | ok, thanks for the actors explanation :-) |
Gabriele 22-May-2007 [2224x2] | make has been changed so that it does no more take variable number of args |
so if you want to provide a spec for the task you use a block inside the arg block | |
Pekr 22-May-2007 [2226] | re tasks - it does not look natural to me ... you don't start your rebol script by stating [REBOL [] code-here] |
Gabriele 22-May-2007 [2227] | you don't? |
Pekr 22-May-2007 [2228] | no :-) |
Gabriele 22-May-2007 [2229] | all my scripts start with a rebol header.... do won't execute them otherwise :) |
Pekr 22-May-2007 [2230x3] | I can 'do %script.r, which does not contain whole script enclosed in special brackets ... well, it loads it into block, so actually, yes, but :-) |
it is imo confusing - not compatible with how we specify scripts ... but maybe I confuse it with modules. Simply put, typical rebol code is REBOL [header] body, not REBOL [ header] [body] | |
task definition looks exactly like the latter .... | |
Gabriele 22-May-2007 [2233] | afair you can: t: make task! [some code here] ; no spec, not sure it's supported but i think so or: t: make task! [[header] some code here] |
Pekr 22-May-2007 [2234x2] | without the word REBOL , that is :-) |
ah, ok then .... | |
Gabriele 22-May-2007 [2236x5] | or maybe carl made it like make function! |
make function! [[spec] [body]] | |
(i'm going from memory... i think modules were described as i said above so tasks should be similar, but function-like makes sense too if the header is mandatory) | |
anyway these are the kind of things that are going to change during the alpha phase in june | |
ie. we let some developers play with it just so that we can make final decisions on this stuff. | |
Pekr 22-May-2007 [2241x3] | hmm, at least 4 of my msgs lost .... |
seems ok now ... well, I just said that the syntax looks ugly - too many brackets :-) | |
but what is definitely issue to me is that it is not imo consistent with how we construct scripts ... | |
Gabriele 22-May-2007 [2244] | well it's basically going from make task! spec body to make task! reduce [spec body] |
Pekr 22-May-2007 [2245] | and task for me is kind of higher level construct as script or modules are ... well, kind of "instance" of "environment" |
older newer | first last |