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

World: r4wp

[#Red] Red language group

Kaj
18-Mar-2013
[6363]
I think you can just use (). I'm using that in one place
DocKimbel
18-Mar-2013
[6364x2]
He's only available on email, he doesn't use any chats or ML.
Good point, about (). :-) Will change it.
Kaj
18-Mar-2013
[6366]
Well, I haven't opened my mail in several months
DocKimbel
18-Mar-2013
[6367]
:-)
Kaj
18-Mar-2013
[6368x2]
Bruno's work looks very good
However, there are no real widgets. I would have to implement them, 
or a widgets toolkit on top of Curses would have to be bound first. 
That's a bit too much work for me
Endo
18-Mar-2013
[6370]
Curses, very nice work!
NickA
18-Mar-2013
[6371]
I'm just excited to hear there's a new contributor.  Where did he 
come from?
Arnold
18-Mar-2013
[6372]
France
DocKimbel
19-Mar-2013
[6373]
I have fixed a pointer arithmetic bug on ARM backend. Now all Red 
tests, including interpreter's one are passing (same as for IA-32), 
console is working fully too. I have a few more tests to add before 
making the 0.3.2 release tomorrow (finally!).
Andreas
19-Mar-2013
[6374]
Very cool, congrats Doc!
DocKimbel
19-Mar-2013
[6375]
Thanks Andreas. :-)
PeterWood
19-Mar-2013
[6376]
Great !!
DocKimbel
20-Mar-2013
[6377x2]
Red language factoids by Ohloh (auto-generated): http://www.ohloh.net/p/red-language/factoids#FactoidAgeEstablished
You can click on the "I use this" button if you have an account at 
Ohloh.
Arnold
20-Mar-2013
[6379]
This is super great news. Please prepare a beginners guide for dummies 
also, I might need one ;)
DocKimbel
20-Mar-2013
[6380x2]
Still a bit early for a prime time, as we don't have yet proper errors 
handling. One thing that would be useful though, for anyone trying 
Red, would be to dig out Peter's extraction scripts from the repo 
(in /docs), update/enhance them if needed and make a nice CSS for 
displaying the resulting list of actions/natives/mezz. Anyone?
PRIN/PRINT now do an implicit REDUCE of their argument. Internally, 
it does a `reduce/into` to re-use the same block buffer each time, 
diminishing significantly the stress on the memory manager.
AdrianS
20-Mar-2013
[6382]
Just noticed the Tower of Hanoi as an activity indicator in the top 
right, on Ohloh - appropriate?
http://www.ohloh.net/p/red-language
DocKimbel
20-Mar-2013
[6383x3]
I've noticed it too, seems that Tower of Hanoi are trendy. ;-)
As is "Red" name:

http://en.wikipedia.org/wiki/Red_(Taylor_Swift_album)
http://www.sfr.fr/telephonie-mobile/series-red-de-sfr.html
and many more...
I need to hire Taylor Swift for making the promotion of Red 1.0 ;-)
Bo
20-Mar-2013
[6386]
Doc, maybe you can start a Kickstarter campaign to raise money to 
pay her. ;-)
Kaj
20-Mar-2013
[6387]
The Download link on Ohloh is wrong
DocKimbel
20-Mar-2013
[6388x3]
Link fixed, thanks.
Added multi-line input support to Red console...yes, you can now 
paste your Red script directly into the console. ;-)
In the process, I've uncovered several new bugs, so I'm processing 
them before making the release.
Arnold
20-Mar-2013
[6391]
Programming is the art of creating bugs
Kaj
20-Mar-2013
[6392]
Hear hear
DocKimbel
20-Mar-2013
[6393x3]
@Rebolek: as you have implemented a multi-line input support for 
your gfx console for R3, you might be interested in having a look 
at how I've achieved it for Red:


https://github.com/dockimbel/Red/blob/master/red/tests/console.red


I'm not fully satisfied by my implementation, but don't have more 
spare time to work on it further. If you have a better/simpler approach 
and are willing to share it, I'll be glad to include your improvements.


Adding to this, my current implementation doesn't handle well a multi-line 
string included in a multi-line block, it works, but the prompt is 
incorrect. I guess I should use a stack-based approach...
The Red console script is a good showcase of what Red is already 
capable of achieving, so for those wondering what Red can do right 
now, just read it carefully (questions are welcome, here, on SO chat 
or on Red ML). ;-)
After testing deeper with R2 console, it definitely needs a stack 
to be handled correctly, I will change my implementation tomorrow.
Gregg
20-Mar-2013
[6396]
Even if not perfect, that's great news Doc.
DocKimbel
20-Mar-2013
[6397x2]
Thanks Gregg.
Another new startup using a "Tower of Hanoi"-like logo: http://www.scanadu.com
(logo is animated at the end of the video).
Arnold
21-Mar-2013
[6399]
All these logos are missing some pegs. Could be a real cool way of 
depicting progress. All of the tower starting at the left (REBOL) 
site and ending as a full tower on the right Red site. We are now 
somewhere with the top two layers on the second pin. (Only to find 
out we moved the complete tower to the middle pin.)

Great progress Doc
Jerry
21-Mar-2013
[6400]
Does Red support NaN, positive infinity, and negative infinity?
Rebolek
21-Mar-2013
[6401]
@DocKimbel: Thanks, I have a look at it. I'm not bit stalled with 
implementation of INPUT function, I'm not sure how to delay evaluation 
until ENTER is pressed.
DocKimbel
21-Mar-2013
[6402x2]
Jerry: no, these are not yet supported. You can see what is missing 
for full floats support here: 


https://github.com/dockimbel/Red/wiki/Floating-point-support-todo-list
6. Decide on how to handle NaN and INFs.


I haven't looked at how R3 handles them yet, IIRC, R2 doesn't provide 
any support for them?
Endo
21-Mar-2013
[6404x2]
New console is great!
1) Q is not QUIT anymore?
2) red>> EXIT
== c
DocKimbel
21-Mar-2013
[6406x3]
I've remove Q, use QUI.
Sorry, QUIT.
EXIT/RETURN do not work in the interpreter yet.
Kaj
21-Mar-2013
[6409x2]
Rebolek, if you mean INPUT in Red, it's implemented in the C library 
binding:
http://red.esperconsultancy.nl/Red-C-library/dir?ci=tip
Arnold
21-Mar-2013
[6411x2]
Thanks for removing q alias of quit !!! Thank you thank you thank 
you!!!!
Really top move! (really!)