Hi Marteen,

Not only I'm interested but I really think that such a tool has an inestimable value 
for pedagogical apps as those I am trying to
put together from varying existing material.

Immediately one of the magnificent tools that everybody would have liked to be in 
touch with when he began learning and programming
REBOL - and I named a debugger/simulator - could be to some extent partially created 
using such a tool. It would be easier to get
some intermediate breakpoints and some step by step with words value spying than it is 
for now with many simple evaluations and only
our beginner's heart remember how this could have been of invaluable help ...

I also answer your question inside the comment I did to the other Quote form Max.

Thanks for the great job,
Gerard
----- Original Message -----
From: "Maarten Koopmans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 29, 2004 11:05 AM
Subject: [REBOL] Threading continued


>
> Hi,
>
> I have got some code and some questions. I have a working version of
> 'eval a function that takes a block of code and evaluates it like 'do.
> Big deal? Well... it responds to a 'rest word, giving you the restof the
> block to be evaluated and the value of the last evaluated expression.
>
> So: eval [ 10 + 10 join "a" "b" rest 20 print "howdy" ]
>  >> [ "ab" [ 20 print "howdy"]]
>
> Note that the second item (the rest of the code) is the position in the
> original code, so a ' head on that gives you the original code back.
>
> Anyway.... this interruptable evaluator run on a block with 10.000 now
> invocations 3.5 times slower than do. That's slow, but probably fast
> enough for most things. And Moore's law and all...
>
> On top of such an eval function you can easily build a co-op threading
> engine. Instead of doing a script you would 'eval it, making it four
> times slower but concurrent.
> And it would be easy to add all sort of utility threads out-of-the box
> for newbies, like a dns reader thread that returns the value to a
> function on completion etc.
>
> Question: is this a thing any of you want despite the performance hit of
> 400% ?
>
> It is easy for me to get there, but I need to know if there is anybody
> who'd like to see it available.
>
> Thanks,
>
> Maarten
> --
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>
>

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to