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

World: r3wp

[!REBOL3-OLD1]

Maxim
5-May-2009
[13916]
so we can do array transformations in REAL TIME for things like polygons 
and 3d objects  :-)
BrianH
5-May-2009
[13917x3]
Yes, we would likely have to nail down the semantics of the basic 
types before we could specify Rebin.
Maxim, there are much better array transform libraries than STL.
Ones that aren't as huge either, and that can be accessed through 
a C API.
Maxim
5-May-2009
[13920x6]
maybe, but STL already allows us to do 3d object things like inverse 
IK for games or 3D modeling applications ... that is what one of 
the engineers was using to build plugins for Maya.
(where I used to work)
now if we can be the go-between things like these libs and opengl 
.....   :-D  can you see where I'm going ?  we already have a dataflow 
engine which could act as the kernel for managing when updates need 
to occur, and all rebol is doing is the whiping, while the grunt 
work is done by the various libs out there  ...
seems like I'll have to port liquid sooner than later  hehehe
brian, does R3 have manual alloc/de-alloc functions for level library 
work...  I mean, access to memory which isn't part of the garbage 
pool?
level library == library-level
Pekr
5-May-2009
[13926]
GC, library interface, rebin, plug-ins- those topis are still kind 
of foggy - I think that no decision was made so far.
Henrik
5-May-2009
[13927]
Alpha 51 released with lots of Vector! fixes. Steeve? :-)
BrianH
5-May-2009
[13928]
Henrik, could you test ticket 744? I don't have a Mac.
PeterWood
6-May-2009
[13929x3]
Re: #744. They no longer crash but the "launched" script uses the 
same console session as the original script so keyboard input and 
screen output gets mixed up. This is different from the behaviour 
under Windows where R3 opens a new console session for the "launched" 
script.
The following session shows that launch does not effectively run 
a script as a separate process and return immediately.

>> ans: "yes"      

== "yes"

 >> do [ while [ans <> "no"] [ans: ask "(l)aunch, yes or no ?" if 
 ans = "l" [launch %launched.r]]]
(l)aunch, yes or no ?l
Checking for rebol.r file in /Users/peter/Desktop/Rebol3/
Checking for user.r file in /Users/peter/Desktop/Rebol3/


Evaluating: /Users/peter/Desktop/Rebol3/launched.r

launched script
Do you want to continue running the launched script?yes

yes

Do you want to continue running the launched script?yes
yes
Do you want to continue running the launched script?yes
yes
Do you want to continue running the launched script?no
no
(l)aunch, yes or no ?y
(l)aunch, yes or no ?y
(l)aunch, yes or no ?no
== none

The source of %launched.r is:

REBOL []

print "launched script"

ans: ""
while [ans <> "no"] [

   print ans: ask "Do you want to continue running the launched script?"
]
Same problem with call:

>> call "pwd"

/Users/peter/Desktop/Rebol3

== none
BrianH
6-May-2009
[13932]
I'll mark it as tested then, and we can post any tweaks to the behavior 
as new tickets.
PeterWood
6-May-2009
[13933x2]
Would you like me to open a new ticket for the above?
I checked call on Windows and it doesn't work either. I opened ticket 
757.
BrianH
6-May-2009
[13935x3]
CALL works correctly on Windows. The behavior you describe in ticket 
757 is by design. See the comments for that ticket.
The Mac version should work like the Windows version does.
I am not assuming that it does though - I can't test it.
Henrik
6-May-2009
[13938x2]
The mac version appears to be working. At least call "ls" gives me 
a directory listing.
and returns none
BrianH
6-May-2009
[13940]
Could you post system/options from R3 on Mac? Just run R3 and type 
in system/options
Henrik
6-May-2009
[13941x2]
I can't paste here, as copy/paste is broken. Will be a couple of 
minutes...
http://rebol.hmkdesign.dk/files/sysops.txt
BrianH
6-May-2009
[13943]
I look forward to AltME 3.
Henrik
6-May-2009
[13944]
I look forward to a VMWare with working copy/paste :-/
BrianH
6-May-2009
[13945]
Does LAUNCH work for you?
Henrik
6-May-2009
[13946x2]
It launches a script alright, but am not sure what proper behavior 
would be for returning.
NONE is returned, even though the script itself returns an integer. 
I suppose that's correct?
BrianH
6-May-2009
[13948x2]
Yeah. CALL doesn't return a value yet. I'm waiting for the host source 
before I make proposals.
Or rather, CALL retrns none.
Henrik
6-May-2009
[13950]
LAUNCH also returns none.
BrianH
6-May-2009
[13951]
>> source launch
launch: make function! [[
    {Runs a script as a separate process; return immediately.}
    script [file! string! none!] "The name of the script"
    /args arg [string! block! none!] "Arguments to the script"
    /local exe
][
    if file? script [script: to-local-file clean-path script]
    exe: to-local-file system/options/boot
    args: to-string reduce [{"} exe {" "} script {" }]
    if arg [append args arg]
    call args
]]
Henrik
6-May-2009
[13952]
oh
BrianH
6-May-2009
[13953]
I see bugs already. LAUNCH could use a revamp like LOAD.
Henrik
6-May-2009
[13954]
could you explain?
BrianH
6-May-2009
[13955]
Not correct for script = none. Might be some other tweaks too.
Graham
6-May-2009
[13956x2]
Does R3 have a way to launch a Rebol console?
apart from calling the R3 binary.
BrianH
6-May-2009
[13958x2]
LAUNCH, perhaps?
I don't get the question, sorry. Please explain what you want.
Graham
6-May-2009
[13960x3]
sometimes you want to start a Rebol console from an encapped application.
but you don't want to have to need to have rebol.exe locally.
That can be used to debug the application with access to all the 
variables etc.
BrianH
6-May-2009
[13963]
Encapping is going to be different in R3, as is the console. It is 
intended that a graphical console will be developed, and callable 
from any graphical host. Hosts will be the new encapped apps.
Graham
6-May-2009
[13964]
a graphical console will be good.
BrianH
6-May-2009
[13965]
We want our REPL :)