World: r3wp
[Red] Red language group
older newer | first last |
Dockimbel 30-Dec-2011 [4206x2] | Done a quick implementation test on SWITCH, it seems to be working fine. |
(will be back in an hour) | |
PeterWood 30-Dec-2011 [4208] | I think that the addition of a default keyword in CASE would be an improvement. |
Dockimbel 30-Dec-2011 [4209x2] | Ok, runtime errors added to both SWITCH and CASE, raised when no clause matches. No change were necessary for CASE. |
Peter: I followed the same syntax as REBOL for CASE, but I am unsure that adding 'default keyword would be better. On one side, you have a better compatibility with REBOL, so easier for all REBOL old timers, on the other hand, we break compatibility (on syntax level only), but have a more consistent syntax inside Red/System. Also the CASE semantics do not require a special keyword for making a default clause. Need some time to think about it. | |
Henrik 31-Dec-2011 [4211] | Silly question: Does C-string mean that it's a C-compatible string type and whether there will be other string types in the future? |
PeterWood 31-Dec-2011 [4212x4] | In short "yes". C-String in Red/System is simply a null terminated list of bytes. As I understand, strings in Red will support unicode but Nenad hasn't decided what form they will take yet. |
If the compiler is only looking for 'default inside a switch statement, a good solution may be to #define defaiult as true in common.reds and then I can write case [ a = 1 [b: 1] default [b: 0]] and old REBOLers can write case [ a = 1 [b: 1] truet [b: 0]] | |
truet -> true | |
On the other hand, even if the syntax changed and default was a keyword, the old REBOLers could still write case [ a = 1 [b: 1] true [b: 0]] and belt-and-braces types could write case [ a = 1 [b: 1] true [b: 0] default [b: 0]] ;-) | |
Gabriele 31-Dec-2011 [4216x2] | Topaz SWITCH changed since then. |
You have SWITCH and SWITCH-DEFAULT now. | |
Dockimbel 31-Dec-2011 [4218] | Other strings in the future: for Red/System, possible but very low priority for now. Red will have a R3-like string! datatype with Unicode support. |
Dockimbel 1-Jan-2012 [4219x2] | Red/Systerm ARM port on OSNews: http://www.osnews.com/story/25468/Red_System_Language_Gets_OS_X_ARM_Android_Backends |
Kaj did it again. :-) Thanks a lot! I hope that the article comments won't be too harsh. :-) | |
Kaj 1-Jan-2012 [4221] | It has little to do with Syllable this time, but I'm sure our Syllable house troll will still manage to make an appearance. Sorry for that |
BasL 2-Jan-2012 [4222] | No comments until now, only one 'like' ... |
Kaj 2-Jan-2012 [4223x2] | That's typical when people don't know what to think about it - which is typically the case with REBOL and Syllable topics :-) |
There are seven retweets, though, and the page view counter on the Red site has suddenly broken down, but last night shortly after publication it had already gone up by two thousand | |
Henrik 2-Jan-2012 [4225] | The "Like" was me. |
Kaj 2-Jan-2012 [4226x4] | Cool, thanks :-) |
The counter works again, and there are about 4000 extra views so far | |
Note that there are many links in the article, so not even all readers will click to the Red site | |
Oh, there are eight retweets, some by people with many followers | |
Dockimbel 2-Jan-2012 [4230] | So far 2500 page views today, 1300 yesterday. |
Jerry 2-Jan-2012 [4231] | When Red 1.0 is out, I promise 10k page-views from China. :-) |
Kaj 2-Jan-2012 [4232x2] | Why not now? :-) |
Basics of sales: you have to present three times before you make a sale | |
Dockimbel 2-Jan-2012 [4234x3] | Current counter: 3500 page views today. |
Around 450 are coming from my last news on freecode (ex-freshmeat): http://freecode.com/projects/red-language. | |
Forgot that my news was from 26 december, so all current traffic is from OSNews. | |
Kaj 2-Jan-2012 [4237] | Mac isn't tagged as an OS on Freecode |
Dockimbel 2-Jan-2012 [4238] | Thanks for noticing, I've added it (should be online by tomorrow). |
Kaj 2-Jan-2012 [4239x5] | I did research on the atexit() issue. The situation is horribly convoluted |
I made an implementation for Syllable Desktop based on __cxa_atexit. You could try that on ARM Debian | |
However, x86 GNU/Linux does have atexit. Also, the cURL binding imports atexit through the C library binding, so if cURL programs load but GTK programs don't, that's sinister | |
What I found for sure is that the Android Bionic C library has an atexit implementation | |
Another thing is that when I actually try atexit, it works but ends with a crash | |
Dockimbel 3-Jan-2012 [4244] | Donation page opened: http://www.red-lang.org/p/donations.html |
Kaj 3-Jan-2012 [4245x2] | http://fantom.org |
http://chapel.cray.com | |
Janko 4-Jan-2012 [4247x2] | http://www.youtube.com/watch?v=4II94h6-IFY-- TWiT about ZMQ. At 13:42 he starts talking about funding / open source / community / financial model -- the often asked question about open soruce + making a living in Rebol / Red / Topaz / World ... "Open source is a very agressive competetive strategy, a little team can attack a big market" |
oops .. sorry, because of 2 links from Kaj I thought this is the links channel | |
Kaj 4-Jan-2012 [4249] | Yeah, Pieter is in Texas these days |
Kaj 5-Jan-2012 [4250] | http://www.osnews.com/story/25481/Developers_Must_Unite_For_Mobile_App_Portability |
Dockimbel 5-Jan-2012 [4251] | For russian readers, article about Red: http://www.linux.org.ru/news/opensource/7209300 72 comments... I don't know if it's globally positive or not, I guess that skepticism would dominate, which is understandable. As Kaj said, you need to present three times before making a sale. ;-) |
Pekr 5-Jan-2012 [4252x2] | It would be probably best to stop reporting RED is related to REBOL, and introduce its paradigms as a new rocket science :-) |
ditto for Syllable. But I am not sure OSNews.com would publish language alpha state news, if not OS related. I tried to report on R3 alpha and some milestones, and it was refused ... | |
Kaj 5-Jan-2012 [4254x2] | I'm slowly disconnecting them. The current article wasn't about Syllable anymore, but Red has a track record on OSNews now :-) |
I don't know if they would report on it without any connection, though. There are simply too many languages. It must be notable somehow | |
older newer | first last |