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

World: r4wp

[#Red] Red language group

Kaj
26-Apr-2013
[7365]
Yes, and it was "advertised" as you say as already implemented. But 
why are we discussing this over? We are working on fixing it
Andreas
26-Apr-2013
[7366]
I didn't see any advertisement beyond the basic Red string! supporting 
Unicode. Doc stated multiple times that the external en/decoders 
are not yet in place for this to be of much use.
Kaj
26-Apr-2013
[7367x2]
It was announced last year that Unicode support was implemented in 
a week. What I found first is that Unicode support is useless, and 
now I've found that only ASCII is really supported
But I'm tired of trying to convince people of it. I'll just go back 
to finishing what I need
Andreas
26-Apr-2013
[7369]
If Unicode support wouldn't be implemented, Peter would have a very 
hard time writing those transcoders.
Kaj
26-Apr-2013
[7370]
If you're happy with your definition of "support", I'll go back to 
implementing the support I need
Andreas
26-Apr-2013
[7371]
Just a matter of discerning internal implementation details and user-visible 
external features.
Gregg
26-Apr-2013
[7372]
Could we say that internal unicode support exists, but is not available 
for I/O?
DocKimbel
26-Apr-2013
[7373]
Kaj: you're basically saying that all the Unicode tests we wrote 
in the tests suite are lying...which is obviously wrong.
Andreas
26-Apr-2013
[7374]
Precisely, yes.
Kaj
26-Apr-2013
[7375x2]
Yes, internal features are of no use to me. I want to write actual 
programs
Again, I'm tired of explaining this. Red can input some Unicode and 
print some Unicode. That's enough to support the test suite, but 
mostly useless in real life programs
Andreas
26-Apr-2013
[7377]
More importantly, Red can internally _represent_ Unicode.
DocKimbel
26-Apr-2013
[7378]
Writing actual programs: I would like too, but until I/O is not fully 
implemented in Red, we are limited into what can be done. That's 
why Red is in alpha state.
Kaj
26-Apr-2013
[7379]
I'm not contesting that. I just want features to be represented truthfully, 
lest we get slaughtered on the public Internet
DocKimbel
26-Apr-2013
[7380]
Agreed, if we have some misleading naming or feature not implemented 
as advertised, please report them with all the required details for 
me to process it, either here or on the bugtracker. But simply bashing 
Red won't help.
Kaj
26-Apr-2013
[7381x2]
Please, I'm not bashing Red, I'm trying to represent it truthfully. 
I'm trying to protect it from getting bashed. Why would I bash a 
project I spent the last two years of my life on?
It's exactly that I sometimes get the feeling that you're not taking 
my observations seriously that I am afraid for this misrepresentation
Gregg
26-Apr-2013
[7383]
I think this is just a misunderstanding. Kaj, would you be happy 
with a simple language change, for now, that descibes the current 
state of external unicode support?
Kaj
26-Apr-2013
[7384]
Yes, I think it's very dangerous to claim that Red has Unicode and 
Latin-1 support
Gregg
26-Apr-2013
[7385]
We could say they are supported internally, but I/O is TBD. But I'm 
all for a simple text change that solves this for now.
Andreas
26-Apr-2013
[7386x2]
Well, the console Latin1 claim is wrong, other than that, there are 
no claims that Red supports Latin1.
Gregg: that's already what is claimed at the moment, but it seems 
to not be a very communicable message.
DocKimbel
26-Apr-2013
[7388]
Kaj: I do take into account all observations, and especially from 
people that work on it and with it since the beginning. I just can't 
do miracles and implement in a night features that take weeks.
Gregg
26-Apr-2013
[7389]
Where is the exact text in question?
Kaj
26-Apr-2013
[7390]
I'm not asking that of you, and I'm working on it myself
Andreas
26-Apr-2013
[7391]
So it's probably better to not mention Unicode at all, for now (which 
is what I understand Kaj suggesting).
Gregg
26-Apr-2013
[7392]
I'm good with that. I'm American so I don't care about any of this. 
;-)
Kaj
26-Apr-2013
[7393x5]
Not really. Mentioning internal features as such is fine. It's not 
even true that I/O is to be done, because I support it
Unicode support was claimed on Twitter
Finally had the chance to look over this:
For: print read 

http://syllable.org", do you feed string/load with an UTF-8 input 
even on Windows?"
Yes, syllable.org is UTF-8
DocKimbel
27-Apr-2013
[7398]
Looks like the newer Beagleboards are using regular ARM CPU (no more 
Cortex-M series), so Red should run just fine on them:

http://techcrunch.com/2013/04/23/the-beaglebone-black-is-a-new-single-board-computer-that-can-brew-beer/
Paul
27-Apr-2013
[7399]
Thanks Doc, I might go ahead and create that group and just do repost 
on RED status updates via Linked in as new news is posted.  Does 
RED have an "official Logo" yet?
DocKimbel
27-Apr-2013
[7400x2]
Nope, as we haven't found someone skilled enough yet to convert the 
Tower of HanoĻ draft into a real logo.
You can use the one I'm using for #red_lang on Twitter.
Marco
28-Apr-2013
[7402]
I'd like to know what your development environment for Red/System 
is especially that used by Doc.
In the meantime...
	My development environment:
	OS: Windows 7
	Editor: Notepad++ v5.0.3
	  not the latest version but I prefer this one,

   using "Python" as the language for syntax highlithing and coloring

   (there is not a "REBOL" language) and used mainly for the folding 
   on indentation

   (I can not live without folding, and folding on indentation makes 
   life even easier)

   I have added a menu item with a keybord shortcut to run REBOL with 
   the currently shown file as argument.

   I have added also a menu item with a keybord shortcut to run my modified 
   version of REBOL-Word-Browser

 At the end of the r/s file I add these lines (mostly taken from Bruno 
 Anselme):
		#if OS = '???? [{
		REBOL []
		appname: "myprog"

  rs-dir: %../Red-master-0.3.2_Bruno/red-system                ; locate 
  here your red-system directory
		dest: rejoin [what-dir appname ]
		print [ "------ Compiling" appname "------" ]
		do/args rs-dir/rsc.r rejoin ["-o " dest " " dest %.reds ]

		print [ "Destination file:" dest ]
		call/wait/show/console dest
		halt
		;}]

 This way pressing the shortcut I can run REBOL that compiles the 
 program I am writing and than starts the program.
	Any suggestion is welcomed!
DocKimbel
28-Apr-2013
[7403x2]
Nice way to get self-compiled Red/System scripts. :-)
I use Textpad on Win7 for coding. As Textpad does not support Unicode, 
I also use Notepad++ for Red UTF-8 scripts. On Windows, I use PE 
Explorer for reviewing the disassembled code and IDA Pro for debugging 
it (hopefully, this happens rarely). I also use IDA Pro on Linux/IA-32 
and gdb everywhere else. On Mac, I try to use osxdebug, when it's 
not crashing.


I dream about the day when I'll be able to replace all those tools 
with a cross-platform Red[/System] IDE.
Gregg
28-Apr-2013
[7405]
I should set up a keyboard shortcut for UltraEdit, but I've been 
focused more on Red Mezz lately, so just have a build script for 
the console, and then I paste things into the console to play. When 
I start doing more real Red compiled work, I will revisit Arnold's 
redcompiler script.
Arnold
28-Apr-2013
[7406]
I had the idea of adding a button to it to compile the console and 
1 to launch the console and as such making it more of an IDE/toolbox. 

Pretty busy and going away for a short holiday, no computer.
Gregg
28-Apr-2013
[7407]
I did a similar tool a long time ago, for encapping REBOL scripts. 
Maybe we can merge them. 

http://www.rebol.org/view-script.r?script=enlist.r&sid=ghz24nd
Arnold
28-Apr-2013
[7408]
ok with me. I had some trouble with the compiler script last time 
I used it. Location of red or rsc compiler is changed by compiler, 
the active directory changes.
DocKimbel
28-Apr-2013
[7409x6]
I have spend many hours today reviewing again Kaj's claims and looking 
into the code to see what is implemented. There are many public claims 
made by Kaj about Red that I need to correct, so these are my answers:
1) "I found out that not only does Red not support Unicode, it doesn't 
support Latin-1, not even on Windows" Red *does* "support" Unicode, 
Latin-1 "support" was not claimed in Red, except for the console 
script. I've put quotes around support word, because you're mixing 
up internal representation and I/O encoding formats.
2) "The printing backend doesn't fully support Unicode, either." 
It does, as proven by the test suite.
3) "So for most purposes, Red is currently ASCII only" Obviously 
not, it is for your specific purposes. Again, look at the Unicode 
tests.
4) "It was announced last year that Unicode support was implemented 
in a week. What I found first is that Unicode support is useless, 
and now I've found that only ASCII is really supported." Unicode 
support has been implemented exactly as stated in (will get back 
to that point later):
http://www.red-lang.org/2012/09/plan-for-unicode-support.html
5) "Yes, I think it's very dangerous to claim that Red has Unicode 
and Latin-1 support". Red *has* Unicode support, string! and word! 
value support Unicode, input Red scripts are Unicode, PRINT outputs 
Unicode characters. Latin-1 is used as an *internal* encoding format, 
I don't remember ever claiming that "Red supports Latin-1 for I/O" 
except for the console script (which is wrong, I agree). OTOH, I 
do remember thinking about supporting it at the beginning for printing, 
then I found it cumbersome to support in addition to Unicode mode 
and dropped it during the implementation.