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

World: r3wp

[!REBOL3]

BrianH
17-Feb-2011
[7489]
Put the parse rules in a comment here: http://issue.cc/r3/1302
Kaj
17-Feb-2011
[7490]
Nice work
BrianH
17-Feb-2011
[7491]
I'm hoping to get a grammar for the whole language. We would then 
be able to convert it to various syntax highlighting engines, analysis 
tools, whatever. Figuring out the R2 syntax will take some different 
tricks though, as it doesn't have TRANSCODE and proper binary handling. 
I eventually hope to be able to write a TRANSCODE for R3 and R2 in 
REBOL source form, for documentation and analysis purposes.
Oldes
17-Feb-2011
[7492]
There is a bug in R3, which will be very difficult to find... I was 
parsing very large XML files and have got invalid chars in the result. 
I cannot reproduce it unfortunatelly.
PeterWood
17-Feb-2011
[7493x2]
That sounds both very worrying and a challenge - how big were the 
XML files? Were they utf-8 encoded? Did you verify the utf-8 encoding 
in the XML or could it have contained invalid utf-8 sequences?
If you can give a few hints, I'll see if I can reproduce the bug.
BrianH
17-Feb-2011
[7495]
For that matter, were you parsing them as string or binary data? 
If binary, were you using string constants?
Oldes
17-Feb-2011
[7496]
It will not be easy as I do other operations as well.. like image 
resizing using extensions etc.. but it's strange... parsing as string.
BrianH
17-Feb-2011
[7497]
Might be memory corruption then.
Oldes
17-Feb-2011
[7498x4]
hm.. I can reproduce it... and it must be GC related, because when 
I set recycle/off, the result is correct
But it's possible, that it's my extension which is the reason.. I 
guess. How much safe is creation binaries from C level and passing 
them to REBOL?
Hm... now I 've got System Error #1301: invalid datatype 176
with recycle/off it's fine... it must be related to my extensions.
Andreas
17-Feb-2011
[7502]
sounds like a memory corruption problem
Kaj
17-Feb-2011
[7503x4]
Creating and returning binaries is supposed to be safe if you do 
it in one go
Is there any place in your extension where you create more than one 
series in one command?
Is there any place in your extension where series are passed between 
commands and are supposed to survive between calls?
The act of processing large data may very well trigger such a vulnerability, 
because otherwise no garbage collection would happen to be done
Robert
20-Feb-2011
[7507x2]
Is this a known bug?

>> 2**3
** Syntax error: invalid "integer" -- "2**3"
** Near: (line 1) 2**3
Is this a known bug?

>> 2**3
** Syntax error: invalid "integer" -- "2**3"
** Near: (line 1) 2**3
Pekr
20-Feb-2011
[7509x3]
Robert - spaces?
2**3 vs 2  ** 3?
:-)
Robert
20-Feb-2011
[7512]
Ah... ;-) To much c-coding. And there I don't use spaces that much.
Pekr
21-Feb-2011
[7513]
REBOL3 A111 release coming - http://www.rebol.com/r3/changes.html
Andreas
21-Feb-2011
[7514x2]
A111 binary downloads now available for Win32, Linux, OSX:
http://www.rebol.com/r3/downloads.html
(Along with a new Linux binary variant, 4.4, "libc6-2-11-x86".)
jocko
22-Feb-2011
[7516]
a very important point is that this version (exe + dll from Carl) 
is compatible with the RMA R3-gui
Pekr
22-Feb-2011
[7517]
what does it mean, compatible, though?
GrahamC
22-Feb-2011
[7518]
presumably runs the gui
jocko
22-Feb-2011
[7519]
according to Carl :

The most current graphics library changes have been included. Many 
thanks to Cyphre and the RMA project.
Beforehand, it was better to use the RMA compiled host-kit
I also have seen that some bugs disappeared.
Sunanda
22-Feb-2011
[7520]
Is there a reason for R3's GET being more permissive that R2's?
All these return the value in R3.....In R2 they cause errors:
   get string!
   get :binary!
   get []
   get "xxx"
BrianH
22-Feb-2011
[7521]
It seems to extend to all other types as well. It looks intentional.
Henrik
26-Feb-2011
[7522]
Carl asks:


this week tried building libr3.so on PPC ... but there is a problem, 
the compiler is too old.

I tried updating gcc, but all the apt-get 
links are too old, and  it failed.   I'm looking for a ppc compiler 
>= 3.4, if you know where one is archived.
Andreas
26-Feb-2011
[7523x2]
osx ppc?
apt-get sounds more like linux ppc.
Henrik
26-Feb-2011
[7525]
I'll try to see if Carl can come in here to solve the issue.
Andreas
26-Feb-2011
[7526x4]
tell him to fix his apt sources list to use archive.debian.org urls
that'll get his "apt-get links" working again
if there's any chance to get at a (i assume gcc) compiler >= 3.4 
depends on how old a distro he is using
(-> moving to Linux)
BrianH
26-Feb-2011
[7530]
He got it working on Gentoo.
Sunanda
27-Feb-2011
[7531]
This may just be a variant of CC#1506.....But why does this throw 
an error:
    do [print 222 break]
    222
    ** Throw error: no loop to break

While this does not?
    also true do [print 222 break]
    222
    == true
BrianH
27-Feb-2011
[7532x3]
That's http://issue.cc/r3/1509
It is definitely not #1506, though the behavior of the first example 
was complained about in that ticket.
The behavior in the first example is arguably correct, but let's 
not rehash that argument. See #1506 for details.
Gregg
27-Feb-2011
[7535]
As Andreas said in another group, /wait works with CALL under Windows, 
but there is no /output refinement yet. I believe RT is hoping for 
outside help on CALL for R3 due to its complexity under R2. I don't 
know if there's a bounty for it or not.
Pekr
27-Feb-2011
[7536]
there were some bounties for some R3 related stuff, but I don't remember 
if it was for CALL, most probably not ...
GrahamC
27-Feb-2011
[7537x2]
No bounties offered by RT though
Carl did offer to provide the ODBC sources but that has not happened 
either