r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3-OLD1]

[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"
Gabriele
22-May-2007
[2246x2]
so you just write a wrapper task: func [header body] [make task! 
reduce [header body]]
if you look at it this way... i'd actually want it to not support 
the above example at all.
Pekr
22-May-2007
[2248]
ok, so then take my note for the discussions .... pekr did not like 
task syntax :-)
Gabriele
22-May-2007
[2249]
:)
Pekr
22-May-2007
[2250]
btw - could scheme be seens as a "class" for port?
Gabriele
22-May-2007
[2251]
yes, i think carl described it exactly like that.
Pekr
22-May-2007
[2252x2]
or is scheme different things? It seems to me it contains mostly 
definitions?
aha, ok .... at some point, Carl blogged about classes/objects in 
R3, but maybe I am confused? What happened to that concept? IIRC 
it was related to some low level stuff, to save memory or something 
like that ...
Gabriele
22-May-2007
[2254x2]
carl hasn't mentioned that at the devcon.
imho it's not really that important once you have user types.
Pekr
22-May-2007
[2256x2]
was it that one? http://www.rebol.net/r3blogs/0035.html
we will have user types?
Gabriele
22-May-2007
[2258]
yes... carl said he had some issues while implementing them
Pekr
22-May-2007
[2259]
implementing what? classes, or custom user types?