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

World: r4wp

[#Red] Red language group

BrianH
9-Mar-2013
[6147x2]
In many ways, R3's module system design is even more beneficial for 
a language like Red than it is for R3 itself. Actually, that was 
one of the things I was taking into account when we were thinking 
it through. Back before Red was announced I was thinking about putting 
a JIT compiler into R3, and R3's extensions are similar in some ways 
to what modules would be in a Red-like language. So R3's module system 
was basically designed with Red in mind.
In order for R3 to get the full benefit of its module system, Ladislav's 
include and Saphiron's encapper would have to be enhanced to use 
and process them. Red can get the benefit from day one just because 
it's compiled.
Kaj
9-Mar-2013
[6149]
red>> {}
*** Load Error: string ending delimiter } not found!
== {}}
DocKimbel
9-Mar-2013
[6150x2]
Error fixed.
About the path composition for files, I might give it a try tomorrow.
Kaj
9-Mar-2013
[6152]
red>> ""
*** Load Error: string ending delimiter not found!
== """
DocKimbel
9-Mar-2013
[6153]
Sounds like we really need LOAD regression tests if we want to finish 
this...
Kaj
9-Mar-2013
[6154x2]
Yep. Another one:
red>> view [{}]
Box: skipping unknown dialect word "{".
Box: skipping unknown dialect word "}".
BrianH
9-Mar-2013
[6156x2]
It's on my todo list to do more LOAD tests for R3. You can use those 
then, at least as a start.
Unfortunately they won't happen today.
DocKimbel
9-Mar-2013
[6158x2]
I need to port them to Quick-Test anyway.
BTW, I have no clue where the R3 tests are located online?
BrianH
9-Mar-2013
[6160]
https://github.com/rebolsource/rebol-test
DocKimbel
9-Mar-2013
[6161]
Thanks.
Kaj
9-Mar-2013
[6162x2]
file! is suddenly broken:
red>> print %x
unset
BrianH
9-Mar-2013
[6164]
Those tests manage to be unified between R2 and R3 by tagging the 
ones that aren't. A #red tag could be added...
DocKimbel
9-Mar-2013
[6165x2]
Works here.
Where do I find LOAD tests? There are only these ones: https://github.com/rebolsource/rebol-test/blob/master/load-tests.txt
Kaj
9-Mar-2013
[6167]
Fresh build, on Linux
DocKimbel
9-Mar-2013
[6168]
Let me stash my changes to see if there's a side-effect.
BrianH
9-Mar-2013
[6169x2]
There aren't that many yet, which is why I need to add some.
All tests are here: https://github.com/rebolsource/rebol-test/blob/master/core-tests.r
Kaj
9-Mar-2013
[6171]
Wait, my console-pro isn't rebuilt
DocKimbel
9-Mar-2013
[6172]
Fresh console build with latest pushed commit (on Win7):

red>> print %x
x
Kaj
9-Mar-2013
[6173]
I'm getting #411 again on two programs
DocKimbel
9-Mar-2013
[6174]
With the exact same error message?
Kaj
9-Mar-2013
[6175x3]
Yes. I've checked in my current state of GTK so you can test it
If you update everything, it happens on console-pro and GTK-IDE
{} is OK now that I've forced a build
DocKimbel
9-Mar-2013
[6178]
On Linux only?
Kaj
9-Mar-2013
[6179x2]
Dunno, probably not
I'm running View 2.7.8.4.3
DocKimbel
9-Mar-2013
[6181]
Can you try it with /Core 2.7.6? (just in case...)
Kaj
9-Mar-2013
[6182x2]
Sigh. rebol.com only lists 2.5
Found it in the maze. It works
DocKimbel
9-Mar-2013
[6184]
Great!
Kaj
9-Mar-2013
[6185]
Well, I haven't used that in many years. I would like it to work 
with 2.7.8
DocKimbel
9-Mar-2013
[6186x2]
Have you tested with Core 2.7.8?
I only trust 2.7.6 for my production code, I had too many weird behaviors 
and bugs in 2.7.8. 2.7.6 has some bugs too, but at least I can spot 
them easily and it seems to much more stable overall than 2.7.8.
Kaj
9-Mar-2013
[6188x2]
Same issue
2.7.6 and 2.7.7 have problems, especially in View, that make them 
unstable on Linux. I'm using 2.7.8 in Syllable
DocKimbel
9-Mar-2013
[6190]
2.7.7 is definitely a no-go.
Kaj
9-Mar-2013
[6191x2]
It works fairly well for me
Red works OK on those versions, except this problem
DocKimbel
9-Mar-2013
[6193x2]
I have never tested deeply View on non-Windows platforms, as I never 
needed it for my production code.
I will give it a look tomorrow testing with 2.7.8.
Kaj
9-Mar-2013
[6195x2]
Thanks
Make sure not to change anything, as any shift in the code makes 
the problem go in hiding