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

World: r3wp

[Red] Red language group

james_nak
22-Aug-2011
[3023]
Thanks Jocko, that makes more sense since the female voice is so 
much better.
Pekr
23-Aug-2011
[3024]
Kaj - as you are so fast in creating bindings, you can port View 
engine as well, so that we coul use VID with RED later :-)
Kaj
23-Aug-2011
[3025]
I already told you: we can't use it. Besides, Red won't be compatible 
with REBOL, so it won't be able to run VID. The same goes for the 
View engine: it's very REBOL specific
Henrik
23-Aug-2011
[3026]
it does not prevent anything conceptually similar to be made, however.
Pekr
23-Aug-2011
[3027x3]
Kaj - I expect RED being kind-of compatible with REBOL, or I am not 
interested in it. I expect we will have parser, and REBOL-like constructs. 
We don't need 100% compatibility for porting. It is just that I thought 
that View (apart from its possible licence restrictions) is significantly 
smaller to port, when comparing to things like GTK or SDL?
Maybe one day it will come anyway, if Carl does not appear anytime 
in foreseable future. Add 2 months, and we are one year in an R3 
develompent limbo ...
I mean - maybe one day RMA ports it themselves :-)
Kaj
23-Aug-2011
[3030]
Any technical considerations are moot with software that you're not 
allowed to port
Pekr
23-Aug-2011
[3031]
btw - do we know the licence of View engine?
Kaj
23-Aug-2011
[3032x2]
No, that's the point
The new casting implementation has broken PeterPaint
Dockimbel
23-Aug-2011
[3034x3]
Ah, I was expecting some regressions...
I am working on some new type casting fixes, they might fix your 
issue. I am not sure I'll be able to release them today, probably 
tomorrow.
The following class of expressions is not emitting correct native 
code: A <op> B, where A is an integer! expression and B is byte! 
variable.
Kaj
23-Aug-2011
[3037]
It has also broken the cURL binding
Dockimbel
23-Aug-2011
[3038]
I tried to not break anything with this sensible commit, so I ensured 
that all current unit tests were passing as long as all my test apps 
(including Red's memory allocator). It would be useful to identify 
your regressions, so we can add new regression tests and avoid that 
in the future.
Kaj
23-Aug-2011
[3039]
I'll wait for your fixes. It's not useful to hunt for deep bugs that 
are already known
Dockimbel
23-Aug-2011
[3040]
Do you have runtime errors reported?
Kaj
23-Aug-2011
[3041]
No, I'm getting internal compiler errors during compilation, so I 
don't even know where they are in my source; and no pixels drawn 
in SDL
Dockimbel
23-Aug-2011
[3042]
Oh, those are easier to fix. :-)
Kaj
23-Aug-2011
[3043]
Not for me
Dockimbel
23-Aug-2011
[3044x2]
To locate internal compiler error, just run the compiler in verbose 
mode (like -v 5), and watch for "expr: " outputs, that should help 
you locate the part of your source causing that.
Usually, the last "expr: " output is enough to locate the error.
Kaj
23-Aug-2011
[3046]
Sorry, but I don't really have time to do such deep debugging
Dockimbel
23-Aug-2011
[3047x2]
The "expr: " outputs code from Red/System source, not compiler source.
At least, you'll know which expression in your Red/System app is 
causing the issue.
Kaj
23-Aug-2011
[3049]
I'll look into it when the errors are still there with your fixes
Dockimbel
23-Aug-2011
[3050]
You can also send me the source code, and I'll do the internal debugging, 
it is probably a minor error.
Kaj
23-Aug-2011
[3051]
If you want, you can compile the cURL binding for one
Dockimbel
23-Aug-2011
[3052x2]
I've released a fix for your compilation issue.
Fixes released. Hope they will fix your issues too. I won't be able 
to work on Red tonight, so if more fixes are needed, that will be 
for tomorrow.
Kaj
23-Aug-2011
[3054x2]
Thanks, cURL works again
It took me a day to hook up a (quit) signal to a GTK program. GTK 
is incredibly bloated
Kaj
24-Aug-2011
[3056x3]
I can now load a GDK image and set it as the GTK window icon
Now I can add a text label to the window
And now a button with an associated action callback
Kaj
25-Aug-2011
[3059x2]
I've bound the line entry field, but I'm having serious problems 
with crashing callbacks in both GTK and SDL
I'm going to return to cURL for a while to see if I can trigger the 
problem there
Dockimbel
25-Aug-2011
[3061]
A regression in today's commit or an older issue?
Kaj
25-Aug-2011
[3062]
No, it's probably always been this way, at least since I started 
the SDL binding
Dockimbel
25-Aug-2011
[3063]
If you can send me a short sample, I can do some investigations.
Kaj
25-Aug-2011
[3064x3]
I've only done very small things with callbacks so far. The somewhat 
bigger transfers in cURL were directly to files, with its own internal 
callbacks
Yes, if I can trigger it in cURL, that would currently be the most 
accessible example
So far I suspected multithreading in SDL's sound playing, but it 
seems the problem is more fundamental
Endo
25-Aug-2011
[3067]
Doc: why UNTIL doesn't return a value. It can simply return TRUE, 
because if loop is over the last expression evaluated as TRUE. So 
it can always return TRUE. No?
Dockimbel
25-Aug-2011
[3068x2]
Do you think that UNTIL returning always TRUE is useful?
Or I should rather ask if UNTIL returning always TRUE is more useful 
than returning nothing?
Endo
25-Aug-2011
[3070]
I'm not sure if this is possible in Red/System,

i: 0 wait-me: until [++ i i > 5]
;do something async and check wait-me also, to be at sync.
Kaj
25-Aug-2011
[3071]
It would be useful if there would be a BREAK that would return FALSE
Dockimbel
25-Aug-2011
[3072]
Kaj: agreed.