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

World: r4wp

[#Red] Red language group

DocKimbel
25-Sep-2012
[2144x2]
Will you be studying RT's code to see how everything was accomplished?


Certainly not!! The GPL precludes me from looking at the code, the 
risk is too high to unconsciously write similar code and infringe 
the license. It is even worse than that, all Red contributions implementing 
a feature that exists in R3, will need to pass through a peer-reviewing 
process to determine if it is a derivative work of R3 or not. The 
reviewing persons would be able to look at R3 sources, but doing 
so, would not be able to contribute code to Red. So I strongly advise 
current and future Red contributors that wants to add REBOL features 
to Red from looking at R3 sources.

so C to Red/System rewrite would have to happen anyway ....

 No!! Porting GPL code to another language falls under derivate work 
 clause too. If it wasn't the case, it would be too easy to workaround 
 GPL terms by porting it from language A to B, then from B to A.


There is a reason why most big software companies prohibit their 
developers from looking at GPL source code.

Yes, that's how GPL can be bad to non-GPL world.
Besides that, GPL is great if you live in a GPL-only world.
Pekr
25-Sep-2012
[2146x2]
Amen!
Your above post should be posted to the discussion forums ... the 
split of REBOL community might be apparent. As for me, I am staying 
with the active project, hence with Red ... Well, I am a coding lamer, 
so most probably I personally don't need to worry about eventually 
looking into R3 source code :-)
DocKimbel
25-Sep-2012
[2148x2]
Feel free to re-publish my post everywhere you want. ;-)
(just fix the typos first ;-))
Pekr
25-Sep-2012
[2150]
Well, I think that I will be a nice guy for quite some time, not 
trying to steal the happiness of guys out there :-)
Janko
25-Sep-2012
[2151]
So let me just say what I am thinking.. I wonder if R3 would be released 
already if you weren't making so much progress with Red..  I hope 
2 (or more) options will be able to bring even more people into Rebol 
family of languages. The time is about to be right. Python is getting 
sort of backlash (finally).
Pekr
25-Sep-2012
[2152x2]
Well, R3 is not out yet, Carl did not say, which year he will release 
R3 sources on :-)
Before the Christmas, we might see extensive Red alpha, along with 
Android support ;-)
DocKimbel
25-Sep-2012
[2154]
Janko: it can be a good or bad motivation for newcomers. Some might 
find it great to have the choice, other might be afraid by the fragmentation.
Janko
25-Sep-2012
[2155x2]
Because rebol/red are so different than anything else it might at 
the end help people learn about this coding mindset / convention, 
and then they have more choices. Sometimes lang choice is highly 
determined by runtime also (by my own exp).. in this case having 
many runtime options (red red/system rebol topaz) is a good thing.
anyway... Red is speeding with new dev last weeks, this is awesomest 
news for me.
DocKimbel
25-Sep-2012
[2157x2]
I agree with you about the runtime choice. I wish Gabriele had more 
time to work on Topaz.
Janko: more "awesomenesses" to come in the next days/weeks. ;-)
Kaj
25-Sep-2012
[2159]
It's ironic that we will have a GPL interpreter and a BSD compiler. 
It's much more logical to have a BSD interpreter and a GPL compiler...
DocKimbel
25-Sep-2012
[2160]
The frontier between both architectures is blurry in modern language 
implementations. Red final compiler will be able to work both AOT 
and JIT, so BSD is the way to go.
Kaj
25-Sep-2012
[2161]
I know, the irony is on the REBOL side
Arnold
25-Sep-2012
[2162]
I'm on the Red team!
DocKimbel
25-Sep-2012
[2163x2]
Red Unicode printing support extended to all Unix platforms:

http://static.red-lang.org/hello_unicode2.png
For those testing Unicode output on Windows, you need to change the 
default raster font of DOS console to Consolas (recommended) or Lucida. 
The default font is unable to print Unicode characters.
Jerry
25-Sep-2012
[2165]
print "^(4F60)^(597D), ^(4E16)^(754C)!"  ; Chinese
NickA
25-Sep-2012
[2166]
Fast progress
james_nak
25-Sep-2012
[2167]
Nice. And I am glad you are continuing your work Doc.
DocKimbel
26-Sep-2012
[2168]
Jerry: My Windows doesn't support CJK, I'm not sure my Linux VM supports 
those characters too...will try it.
Rebolek
26-Sep-2012
[2169]
You can add support for CJK to Windows very easily. Just check one 
radio-box in font or localization settings.
DocKimbel
26-Sep-2012
[2170x3]
Is it possible to add such font to DOS console?
Ah, found an HowTo: http://stackoverflow.com/questions/3780378/how-to-display-japanese-kanji-inside-a-cmd-window-under-windows
And now Red speaks Chinese too: http://static.red-lang.org/hello_unicode3.png
GrahamC
26-Sep-2012
[2173]
lol
Henrik
26-Sep-2012
[2174]
Doc, does it also work in source code or only printed strings?
DocKimbel
26-Sep-2012
[2175x2]
Henrik: look better at the screenshot. ;-)
(I've put the source of hello.red behind the console window)
GrahamC
26-Sep-2012
[2177]
Probably violates rules for legal variable names
DocKimbel
26-Sep-2012
[2178]
You can use any Unicode character in your Red words.
GrahamC
26-Sep-2012
[2179]
Hello World in Chinese should probably be .. world hello and not 
hello world
DocKimbel
26-Sep-2012
[2180]
I don't know Chinese, so I just took the string Jerry gave me.
GrahamC
26-Sep-2012
[2181]
You'll have to change your print string :)
Pekr
26-Sep-2012
[2182x2]
I don't get any chars for Chinese, and in the Greek string third 
char is incorrect too ...
font I use is Lucida Console ...
Henrik
26-Sep-2012
[2184]
You can use any Unicode character in your Red words.

 - ok, that was what I was looking for, as R3 can do this. Thanks.
Jerry
26-Sep-2012
[2185]
Graham is right, In Chinese, "World Hello" is better than "Hello 
World". You can change it if you want, Doc. :-) But I saw other langauge, 
such as Falcon, use "Hello World" in Chinese to demo their unicode 
support.
DocKimbel
26-Sep-2012
[2186x2]
Pekr: switch to Consolas which has the best range of Unicode glyphs 
support.
(you won't be able to display CJK anyway though)
Pekr
26-Sep-2012
[2188x3]
I can select only two fonts there - raster, or Consolas ....
btw - Czeh version of hello world does not display any character 
correctly :-)
dunno if bug, or I should somehow adapt font, anything else, etc.
PeterWood
26-Sep-2012
[2191]
Is the source file of your Czech version UTF-8 encoded?
DocKimbel
26-Sep-2012
[2192x2]
Third greek character incorrect
: be sure you're using latest revision.
Pekr: try typing your Czech characters in Notepad (it has excellent 
Unicode support).