• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[#Red] Red language group

Kaj
9-Mar-2012
[241]
I suppose it can also target a single window?
Andreas
9-Mar-2012
[242]
You can pass a window ID or title to -window.
Kaj
9-Mar-2012
[243]
The title text as shown?
Andreas
9-Mar-2012
[244x2]
A bit annoying, but it basically works. Especially if you have simple 
window titles :)
Yes.
Kaj
9-Mar-2012
[246x3]
Cool, thanks
I don't think the Evas examples are very special, but I'll make a 
shot
http://web.syllable.org/images/screenshots/Workstation/0.4/Evas-examples-on-SyllableWorkstation.png
GrahamC
9-Mar-2012
[249]
looks good ...it says workstation not server though?
Kaj
9-Mar-2012
[250]
Yes, Server is non-graphical. At least, it only has DirectFB and 
SDL built in, and no desktop. Workstation is Server plus X11 from 
a GoboLinux layer and the ROX desktop from ZeroInstall
Kaj
10-Mar-2012
[251]
I finally succeeded in compiling the Enlightenment widget set and 
desktop
GrahamC
10-Mar-2012
[252]
Sounds like a major milestone.  Bring the next conference forward 
to show it off!
Kaj
10-Mar-2012
[253x4]
:-) It's only the first steps yet, that are guaranteed to work because 
it's on Linux. The major question is whether I can port it to Syllable 
Desktop
Here's the widget set:
http://web.syllable.org/images/screenshots/Workstation/0.4/Elementary-test-1-on-SyllableWorkstation.png
http://web.syllable.org/images/screenshots/Workstation/0.4/Elementary-test-2-on-SyllableWorkstation.png
GrahamC
10-Mar-2012
[257]
I could live with that :)
NickA
11-Mar-2012
[258x2]
Kaj, you're on fire!
Can you give us a tiny taste of the RED code?
GrahamC
11-Mar-2012
[260]
Kaj is reporting a success of compiling this software.  He hasn't 
done the binding to Red/system yet?
Kaj
11-Mar-2012
[261]
Yes, there is no Red code yet, and I will only write any if I get 
it to work on Syllable Desktop
DocKimbel
12-Mar-2012
[262]
I am releasing v0.2.5, if you have some unreported bugs to fix, it's 
the right time to add them to the bugtracker. Kaj, let me know if 
there are any regression for the bindings.
Pekr
12-Mar-2012
[263]
Will you blog? What are latest changes? The bugfixes mainly?
DocKimbel
12-Mar-2012
[264x2]
bugfixes + faster floats + libc init
I will make a blog entry later today to give more details.
Kaj
12-Mar-2012
[266x2]
Trouble ahead for Red on Windows 8:
http://www.osnews.com/story/25704/Microsoft_creates_special_application_class_for_Windows_8_browsers
Pekr
12-Mar-2012
[268]
why?
GrahamC
12-Mar-2012
[269x2]
I think Kaj means that Red uses trying to create a browser using 
webkit will have problems
users
DocKimbel
12-Mar-2012
[271]
Kaj: is the latest revision working fine with all bindings? (at least, 
w/o regressions)
Kaj
12-Mar-2012
[272x2]
I haven't had time for it yet, but I'll get to it
There seems to be a problem with JIT compilers in new Windows 8 Metro 
apps, and other features deemed too advanced
DocKimbel
12-Mar-2012
[274]
I have tested 0MQ, GTK+ and SDL on both Windows and Linux, no regression.
Kaj
12-Mar-2012
[275]
Had to fix the comment syntax for the Goodbye Cruel GTK+ World
DocKimbel
12-Mar-2012
[276]
Release v0.2.5 is out: http://www.red-lang.org/2012/03/redsystem-v025-released.html
Kaj
12-Mar-2012
[277x5]
I've tested almost all binding examples on Syllable and Linux
I've changed the developing branch of the C library binding to be 
the main branch again (technically, it isn't a merge):
http://red.esperconsultancy.nl/Red-C-library/timeline
Could it be that when a function is applied to multiple argument 
expressions, f exp1 exp2, they are computed in reverse order?
Is that acceptable? It's quite anti-intuitive, especially once inline 
assignments will be supported
Steeve
12-Mar-2012
[282x3]
Anti-intuitive ? It makes the generated code simpler to write since 
the parameters are pushed in reversal order so that the called function 
can unstack them in order.
C compilers do the same IIRC.
But I agree it's not rebol compliant.
I'm not sure if C forces any order for parameters evaluation.

But i'm sure it makes the compiler's task easier to evaluate in reversal.
I know you already know Kaj, but it sounded like you asked for logic 
:-)
DocKimbel
13-Mar-2012
[285x2]
Could it be that when a function is applied to multiple argument 
expressions, f exp1 exp2, they are computed in reverse order?


I agree that it is not intuitive, but doing otherwise would make 
it more complicated to support external libs. It could be possible 
to preallocate the stack and fill it in reverse order, so that arguments 
are executed in right order for the user, but that wouldn't work 
for variadic functions (can't preallocate the stack before compiling 
all the arguments).


It would be nice to add a ticket in the tracker to keep this issue 
in mind.
As we do the compilation and code generation in one pass in current 
Red/System, we can't look ahead to determine the boundaries of each 
expression in a variadic block of arguments in advance, to be able 
to extract their datatype.
Kaj
13-Mar-2012
[287x4]
OK. It got me in trouble, though, because I used this statement in 
the Fibonacci computation:
print [
	"Fibonacci " parameter ": " fibonacci parameter  newline
	"Elapsed time: " subtract-time  now-time none  start  newline
	"Process time: "
		(to-float form-integer process-time) /
		to-float form-integer clocks-per-second  newline
]
In the C version I already noticed that I had to put the computation 
in front of the reporting, but I hadn't expected this, and certainly 
not in a language that looks like REBOL
Actually, the single pass nature of Red/System strengthened my assumption 
that the computation would be in natural order