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

World: r4wp

[#Red] Red language group

DocKimbel
14-Jun-2012
[513x2]
I think that REBOL only uses select() for low level events handling, 
I would be surprized if it used the much faster alternatives (which 
are the core of libevent and derivatives).
Can you call all the series navigation actions on R3 ports?
Pekr
14-Jun-2012
[515x3]
you can look into Other section - that can be good reminder into 
ports, schemes, devices and low level event system - http://rebol.net/wiki/Table_Of_Contents
as for navigation, not sure ...
http://rebol.net/wiki/Event_System
Kaj
14-Jun-2012
[518x2]

I simply want event port being just another kind of ports, funcitoning 
as a kind of seris" 

Hasn't that model been abandoned in R3?"
Yes, R3 ports are thinner and more specialised
Gerard
14-Jun-2012
[520x2]
Hi Doc, check for a new donation from me through PayPal.  I could 
afford 100 Euros this time. Hope it will help you a bit more.
Recently tried to run the Hello World on my Android based Galaxy 
Samsung Tab 10 but after seeing the "executing ..." msg. Nothing 
appeared. I will try to look at what could be done but I suspect 
I also have to first learn a bit more about Android and my machine 
to help ... I'm very patient and began to read about the ARM. and 
Android itself. What an evolving world we live in ...
Steeve
14-Jun-2012
[522x2]
Doc: Working Actions I tested in R3: append, change, copy, pick, 
head, at, length?, tail; tail?,empty?, clear, first
Bugous/missing: last, foreach, second, third...
Oups! (skip, back, next )are also working
BrianH
15-Jun-2012
[524x4]
Steeve: first, second and so on are not actions in R3, they just 
call PICK. PICK is implemented for ports.
I prefer that model; more consistent.
You can make a port work a lot like a series, and you mostly did 
with the virtual block scheme. FOREACH and PARSE not working on ports 
can be a bit annoying, but they would only work on a subset of the 
port types that either work like series or (theoretically) like files 
(like open/direct file ports in R2).
If Red adopts R3's port model, I would definitely like to try to 
implement that port PARSE idea I was thinking of for R3.
DocKimbel
15-Jun-2012
[528]
@Gerard: received, thank you very much!  What version of Android 
do you have?
Gerard
15-Jun-2012
[529x2]
@Doc: Android version 3.1 and kernel is 2.6.36.3
@Doc: Seem there is a new update for my system. I will first download 
and install it and I'll retry later the Red/system app in Native 
mode.
Henrik
15-Jun-2012
[531]
Doc, have you looked at Flattr integration? I've only just heard 
of it, but maybe it's another donation option for those of us, who 
are unable to use Paypal and wary about banktransfers.
DocKimbel
15-Jun-2012
[532x2]
Flattr: yes, and I have received at least one donation on it, but 
can't retrieve it unless I accept to pay a monthly fee. I understand 
the logic behind it, but don't find it very handy.
@Gerard: I will try it under 3.1 in the emulator.
GiuseppeC
15-Jun-2012
[534x2]
Doc, no series in RED ?
Or blocks ?
DocKimbel
15-Jun-2012
[536x2]
If Red wouldn't have series and blocks, it wouldn't have much in 
common with REBOL. ;-)
@Gerard: works under emulator with 3.1, the kernel version is much 
lower though than the one you've reported, I have 2.6.29 here.
GiuseppeC
15-Jun-2012
[538]
Sorry Doc, I have made the wrong question: I don't see in the documentation 
block and series manipulation functions. Maybe I am looking at the 
wrong place ?
DocKimbel
15-Jun-2012
[539x2]
Which documentation? There's currently no documentation about Red, 
only about Red/System.
Red and Red/System are two different things that you should not confuse.
GiuseppeC
15-Jun-2012
[541]
Ok, I am officially confused ! :-)
DocKimbel
15-Jun-2012
[542x2]
:-)
Have a look at these ones:
- http://static.red-lang.org/red-system-specs.html#section-1

- slides 7 to 13 in my SFD presentation: http://www.red-lang.org/2011/09/red-at-software-freedom-day-2011.html
Kaj
15-Jun-2012
[544]
The DSL link in the docs is going to the French Wikipedia. You may 
want to anglicise that
GiuseppeC
15-Jun-2012
[545x2]
Read ! Very interesting.
Now I have understood.
DocKimbel
15-Jun-2012
[547x2]
Kaj: hehe, good one. :-)
URL fixed.
Gerard
15-Jun-2012
[549x2]
@Doc : Thanks for the try of the emulator - Now installing the Android 
update for my - almost 50 % left to do after 30 minutes - for an 
88 MB download - !!!  I will retest after everything is completed...
@Doc : Now I'm upgraded to Android version 3.2 Kernel is left unchanged 
to version 2.6.36.3 - Will try later for the tests - other more urgent 
taks are awaiting  for me now ...
DocKimbel
15-Jun-2012
[551]
No problem, I will test with 3.2 too.
GiuseppeC
15-Jun-2012
[552]
Doc, Maybe it has been asked thousand of times. Which will be the 
differences in RED Lang compared to REBOL ?
Kaj
15-Jun-2012
[553]
Only 999 times :-)
DocKimbel
15-Jun-2012
[554]
Hehe :-) For the core language, from user perspective, it will be 
very similar. For the external libs (GUI mainly), Red will provide 
different options. For more detail, you can re-read all the slides 
from the two presentations I've made for Red.
Gerard
15-Jun-2012
[555]
@Doc : No better success even if running from NativeEXE.apk version 
0.5 and Android version 3.2 - will continue to read before being 
able to investigate myself what could be done - Please don't loose 
your time on this case for now - You have much better  to do ... 
even if it's annoying a bit. I don't despair but I really can't be 
useful to you for now... my understanding of the inner working of 
this stuff exceeds my current capabilities !
Andreas
17-Jun-2012
[556]
a "hello world!" written in and compiled by red/system running on 
a raspberry pi:

[pi-:-raspberrypi]:~$ ./hello-reds.arm 
hello from red/system!

([pi-:-raspberrypi]:~$ uname -a

Linux raspberrypi 3.1.9+ #90 Wed Apr 18 18:23:05 BST 2012 armv6l 
GNU/Linux)
Henrik
17-Jun-2012
[557]
Nice :-)
Pekr
17-Jun-2012
[558]
cool :-)
DocKimbel
17-Jun-2012
[559]
Does the provided hello.reds script work too?
Andreas
17-Jun-2012
[560]
hello.reds works as well, yes.
GrahamC
17-Jun-2012
[561]
who's raspberrypi ?
Pekr
17-Jun-2012
[562]
I expect it's Andreas' RaspberryPi, as Doc tweeted, that his is still 
undelivered?