World: r4wp
[#Red] Red language group
older newer | first last |
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 [6411x3] | Thanks for removing q alias of quit !!! Thank you thank you thank you!!!! |
Really top move! (really!) | |
R3 should follow this. So many time you want to use short temp var p and q and then it all just quit on you :( | |
Henrik 21-Mar-2013 [6414] | Curious. I never found that to be a problem and use q for quit many times a day. I hope 'q can be chosen freely. |
Arnold 21-Mar-2013 [6415] | More than once the console quit on me when I wanted to use q. |
DocKimbel 21-Mar-2013 [6416x2] | Henrik: you'll be able to add your own definitions in a %user.red script when the time comes. |
If there is any last minute bug, it is now time to speak, else the fix won't be in 0.3.2 release. If we are ready I'll make the release in a couple of hours. | |
Henrik 21-Mar-2013 [6418] | DocKimbel, ok, that's fine. :-) |
Jerry 21-Mar-2013 [6419] | Gonna write a short blog article for 0.3.2? |
DocKimbel 21-Mar-2013 [6420] | As usual, yes. |
older newer | first last |