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

World: r4wp

[#Red] Red language group

GrahamC
3-Jun-2013
[8159]
Is Gabriele still going to do the parse implementation?  Or was that 
just a rumour?
DocKimbel
3-Jun-2013
[8160]
It was supposed to be a private info, but somehow private chats are 
leaking massively here these days. :-)
GrahamC
3-Jun-2013
[8161]
Blame Pekr!
Pekr
3-Jun-2013
[8162]
Gabriele was mentioned here in the past, I believe :-)
Kaj
3-Jun-2013
[8163]
Yep
Gerard
3-Jun-2013
[8164]
For your information, http://en.wikipedia.org/wiki/Parsing_Expression_Grammar
gives some PEG related info that could be used to explain how REBOL 
uses PARSE to do almost ALL the same work ... and presents some fundamental 
differences with CFG and RegEx parsing. As you'll see for some simple 
(and not so simple) grammars REBOL Parse function works on par with 
the PEG theory.
Geomol
4-Jun-2013
[8165]
Is it a good think, that REBOL works on par with PEG, or are there 
more benefits in CFG parsing? Both methods have pros and cons, but 
maybe one of them would have advantages in relation to REBOL (or 
the REBOL way of thinking)?
Pekr
4-Jun-2013
[8166]
Geomol - there is also some reasoning in the rebol.net wiki document 
I posted. There was u user, Peta, who helped with the process, then 
disappeared ...
Geomol
4-Jun-2013
[8167]
Thanks, Pekr. Reading it now...
Ladislav
4-Jun-2013
[8168]
#[[Geomol

Is it a good think, that REBOL works on par with PEG, or are there 
more benefits in CFG parsing? Both methods have pros and cons, but 
maybe one of them would have advantages in relation to REBOL (or 
the REBOL way of thinking)?
]]Geomol


- indeed, no need to reinvent the wheel, the arguments why the Parse 
expressions are the Rebol way have been summarized already
Geomol
4-Jun-2013
[8169x2]
My view is, that if the first wheel wasn't round but oval or square, 
then it might be a good idea to reinvent it. And in programming, 
it's in general a good idea to rewrite every few years.


But the problem with REBOL is found in a different place. It's about 
making a solid foundation to build upon, and to make sure, each level 
of the tall building is solid before moving on to the next level. 
Much like it was described in "R3 Alpha Test Priorities":
http://www.rebol.net/wiki/R3_Alpha_Test_Priorities
Therefore it's cool to see a project like Red, that seems to be well 
thought trough, and where there is slow but (I feel) solid progress 
towards a goal.
Ladislav
4-Jun-2013
[8171x2]
As opposed to that, my opinion is that being pointed to a documentation 
you should read it before presenting opinions that "it may be oval 
or square" before even trying to read it.
...and by "reinventing the wheel" I meant just thinking whether PARSE 
has the properties desirable for Rebol, since that has already been 
documented sufficiently as far as I am concerned
Geomol
4-Jun-2013
[8173]
Are you trying to shut me down?


I asked for Gerard's opinion about PARSE, if it should be more of 
a PEG or CFG parser. I read him, as he commented on R2 PARSE, that 
it works on par with PEG theory.
Ladislav
4-Jun-2013
[8174]
Yes, but he also pointed you to the documentation you did not read
Geomol
4-Jun-2013
[8175x2]
Gerard pointed to
http://en.wikipedia.org/wiki/Parsing_Expression_Grammar

, which I read. Therefore I asked him about his opinion.
Cheer up, pal! No need to pick on others like that.
Ladislav
4-Jun-2013
[8177]
Aha, reading the above discussion, my apologies must go to Pekr since 
it was him pointing to the documentation summarizing the properties.
Pekr
4-Jun-2013
[8178]
No need to apology in this case, I am used to more heavy calibre 
from Ladislav, when I tend to talk nonsense :-)
Gabriele
4-Jun-2013
[8179]
Parse: I simply wanted to try porting Topaz's PARSE. Not sure if 
that would or could become the built in one. I hope to still be able 
to do it eventually... we'll see.
Pekr
5-Jun-2013
[8180]
There are some suggestions, for the next version of Windows8, after 
the Blue (8.1), to be called Windows Red. Now we need to release 
some juicy Red apps to confuse ppl :-)
Geomol
5-Jun-2013
[8181]
Is there a Blue language? If such a language was made, maybe it should 
be the exact opposite of Red? (Whatever that is.)
Pekr
5-Jun-2013
[8182x2]
Yes, there is :-) http://en.wikipedia.org/wiki/List_of_programming_languages
Red nor World are there ...
Geomol
5-Jun-2013
[8184]
Blue is a system for teaching object-oriented programming, developed 
at the University of Sydney, Australia. It is an integrated development 
environment (IDE) and a programming language. Blue has been used 
for teaching since 1997. The development was stopped in 1999 when 
one of its principals, Michael Kšlling, began applying the IDE design 
to the Java programming language, resulting in BlueJ.


Sydney, Australia. Opposite side of the World, opposite of Red. :)
DocKimbel
5-Jun-2013
[8185x2]
Pekr, it is just up to you for Red to be in that list as we already 
have a wikipedia page for Red. ;-)
FYI, I will work on fixing the last bugs added to the tracker today, 
then I'll go back to the work on Android port.
Pekr
5-Jun-2013
[8187]
Sorry for stupid question, but by tracker, do you mean Github Issues 
section? Or is there any other bug tracker you use?
DocKimbel
5-Jun-2013
[8188]
Github's bugtracker.
Bo
5-Jun-2013
[8189]
The opposite of Red in reflective color is Green, and in additive 
and subtractive color systems is Cyan.
Geomol
5-Jun-2013
[8190]
I was thinking blue and red pills. :)
Bo
5-Jun-2013
[8191]
Now I understand.  I was being too much "science" and not enough 
"fiction".
DocKimbel
5-Jun-2013
[8192x2]
I took over the red account on Github: https://github.com/red:-)
Fortunately, github's helpdesk was kind enough to free that username 
after my request as it was dormant for more than a year. Cybersquatting 
names doesn't pay on Github!
GrahamC
5-Jun-2013
[8194]
Was that one of my accounts?
Arnold
6-Jun-2013
[8195]
One good thing about Github :)
Pekr
6-Jun-2013
[8196]
Red is now part of list of programming languages - http://en.wikipedia.org/wiki/List_of_programming_languages
DocKimbel
6-Jun-2013
[8197x2]
Great! Thanks. :-)
Feel free to also update the Red page itself.
Pekr
6-Jun-2013
[8199]
well, not sure my English is OK for that :-) Nor do I feel technically 
skilled, to claim anything about the language and its characteristics 
....
DocKimbel
6-Jun-2013
[8200x3]
You can look at how other similar pages are filled and add some sections, 
like an HelloWorld example in Red and Red/System.
Can anyone see a [Close] button on this page? https://github.com/dockimbel/Red/issues/484


Seems like a bug, or has Github changed once again their UI and hide 
the close action somewhere else?
Doh! I'm still logged under my new `red` account...ignore my above 
question.
Pekr
6-Jun-2013
[8203]
Doc, in your last ticket fix example: mp1/mp-digit: allocate 10 ---- 
where does 'allocate comes from? Can't find it in docs. Or is that 
just out of context example, and 'allocate is some wrapper to 'malloc?
DocKimbel
6-Jun-2013
[8204x2]
It's part of Red/System runtime library which is undocumented so 
far. Some of the contributors have made some extraction tools to 
generate automatic docs, but none of the initiative has reached a 
usable state...
`allocate` function is currently just mapped to malloc(), my intention 
was to make a native fine-tuned implementation for Red/System, but 
as it's very low priority, it won't happen soon.
Pekr
6-Jun-2013
[8206]
OK, thanks! Looking forward to further progress and First Red android 
APK example relase :-)
DocKimbel
6-Jun-2013
[8207]
Me too. :-)
Arnold
6-Jun-2013
[8208]
If you are not sure of your english being good enough, well go ahead 
and just do edit the site and we will tell you what can be approved. 
Nothing held against you! Happy to see a little more life (or is 
it live) on the site. together we can do more than on our own. It 
takes just some initiative now and then.