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

World: r3wp

[!REBOL3-OLD1]

Maxim
5-Apr-2007
[2179x2]
those are datatypes Jaime.
but user types are still a mystery... there is no information leading 
use to beleive we will be able to complement the in-memory data with 
a molded form,  which can be loaded too.
JaimeVargas
5-Apr-2007
[2181]
I think datatypes is not enough as charaterization. You still want 
to encapsulate the methods related to a type.
Maxim
5-Apr-2007
[2182x2]
R3 will have classes to... I just wonder why the artificial separation 
of prototypes, modules, datatypes and classes is needed in REBOL.
they can really all be one and the same, if the core system allows 
us to play with the internal accessors.   python does this beautifully. 
  you can make prototypes out of classes by implementing the accessors 
so they created a dict on each allocation, for example.
JaimeVargas
5-Apr-2007
[2184x2]
So this new lazy LOAD is kind of a PARSER of REBOL values + foreign. 
I think it maybe easier to provide  *rebol value rules*, so you can 
construct your PARSER as desired instead of triggering exceptions.
Just like default relust for alpha, digits, whitespace should be 
provided.
btiffin
5-Apr-2007
[2186]
I look at this problem from two views.  wanting a forth style block 
editor and wanting to let a construction boss sit at home and edit 
his own data blocks.  The forth style CLI just needs strings...any 
string including something like  p [   putting an open bracket on 
a line by itself.  This can be done with string parsing and a dialect 
pass, but hey.  The other issue is a lot deeper.  I want the boss 
to type in $1,000,000 and not have to call me when load kakks and 
(when I'm not careful enough) breaking a script.
JaimeVargas
5-Apr-2007
[2187]
My reasoning is that the new feature is a mixed but I am afraid it 
doesn't really buy much.
Maxim
5-Apr-2007
[2188x2]
which is what Brian and I are suggesting on the R3 blog.  brian's 
idea is to include LOAD within the parser as a directive.
I suggested supplying parse rules to load, but I feel his idea encompases 
mine but not the other way around.
JaimeVargas
5-Apr-2007
[2190]
mixed: "mix between scanner, parser, and interpreter".
Maxim
5-Apr-2007
[2191]
read about it here, http://www.rebol.net/cgi-bin/r3blog.r?view=0078#comments
JaimeVargas
5-Apr-2007
[2192x2]
btiffin, You can always make a parser that stops at an invalid value.
And decide either to fail, or clean-and-continue.
btiffin
5-Apr-2007
[2194]
Yeah, but that gets tedious, and being lazy, error prone when it 
is data dependant "bugs" that can break scripts.
JaimeVargas
5-Apr-2007
[2195]
Nah. That is easy to handle if you know how to construct your parsers 
properly. As easy an extra rule.
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 :-)