r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Red] Red language group

Dockimbel
10-Mar-2011
[198]
If you set the compilation logs to 3 (-vvv) and take only the entries 
starting with ">>" you'll get a feeling of what such IR would be. 
In fact, just recording these steps instead of reducing them directly 
to native code, would almost give you a good IR to start making optimizations 
(other than the very trivial ones that I've included in IA32.r).
Maxim
10-Mar-2011
[199]
Doc, have you ever coded in AMIGA language E ?
Dockimbel
10-Mar-2011
[200]
I remember reading E docs, but not coding...maybe I just did a HelloWorld 
app.
nve
10-Mar-2011
[201]
Hey guys ! AltME is cool, but what about using Red lang Google Groups 
to spread the world all reflexion (?) ?

And maybe having new blood, new way of thinking, new point of view 
?
What do you think ?
Maxim
10-Mar-2011
[202x3]
there might be some ideas to rip out of that compiler.    my favorite 
low-level feature was that all types where natively the same size 
in ram and where all aligned to that size.     in E all datatypes 
where 32 bits in RAM


so for example, chars actually had 4 bytes which you could dump bytes 
into, making them ideal for many purposes which strings and numbers 
are commonly used instead.  you coud compare chars with LONGS as 
though they where both integers, etc.
IIRC it would compile 10000 lines of code /second on a 7MHz cpu.
or was it 100000 ?
Dockimbel
10-Mar-2011
[205]
Max: the current supported types in Red/System are all of same size. 
Makes a lot of things easier, but I will need 8 and 16-bit sizes 
very soon, so the simplicity of implementation will probably suffer 
a little from that.
GrahamC
10-Mar-2011
[206]
yeah, I thought the news group was the intended method of communication
Dockimbel
10-Mar-2011
[207x2]
Well, I would prefer to answer deeper/longer questions on Google 
groups, but I guess people here are too used to realtime chatting 
here.
Moving Red discussions (at least the long topics) out of AltMe's 
darknet would help.
GrahamC
10-Mar-2011
[209]
Or, you could write a script to post these to the google groups list 
too :)
Dockimbel
10-Mar-2011
[210]
Would need to make this group web-public first :-)
Kaj
10-Mar-2011
[211]
The gravitational pull won't release us :-)
GrahamC
10-Mar-2011
[212x2]
No, you have the messages on your drive as we all do
the web public is just a convention
Kaj
10-Mar-2011
[214]
I have some AltME export code if that would help
Dockimbel
10-Mar-2011
[215]
I don't see how the chat-oriented content here would not look like 
a big mess if copied to a web forum :-).
GrahamC
10-Mar-2011
[216x2]
Just a suggestion ... to cc to mailing list.
Not everyone on the mailing list is on altme
And it would ensure a single source for discussion
Kaj
10-Mar-2011
[218]
The REBOL list? That was dead when I looked a while ago
GrahamC
10-Mar-2011
[219]
No, I mean the Red googlegroups mailing list!
Kaj
10-Mar-2011
[220]
Oh
GrahamC
10-Mar-2011
[221]
red-ctx: [ mailinglist ]
Dockimbel
10-Mar-2011
[222x2]
Let's start with a simple announcement:
If you have some technical questions about Red, please use preferably 
the official channel at Google Groups: http://groups.google.com/group/red-lang?hl=en

Thanks.
nve
10-Mar-2011
[224]
+1 Doc
Good, I vote pros.
GrahamC
10-Mar-2011
[225]
not a tech question about red .. but what is a code bubble?
Kaj
10-Mar-2011
[226x2]
I wrote a Syllable build recipe for Red:
http://syllable.cvs.sourceforge.net/viewvc/syllable/syllable/system/apps/utils/Builder/packages/Red--current/
BrianH
10-Mar-2011
[228]
Graham: http://www.cs.brown.edu/people/acb/codebubbles_site.htm
Kaj
10-Mar-2011
[229]
There's not very much you can do with Red on Syllable yet, and the 
integration is awkward, but it's a start
GrahamC
10-Mar-2011
[230]
Ahh.. .this is similar to the stickynotes add in for Leo, the literate 
code editor I use
BrianH
10-Mar-2011
[231x3]
Code bubbles have almost nothing to do with literate programming. 
For one thing, you can't add inlime docs beyond the comments in the 
language syntax. This is more like a more graphical version of the 
Smalltalk browser.
Sorry, it does allow out-of-band notes and bug reports to appear 
in the same interface, just not literate mixed code and docs.
The original Java case benefits more from the concept than REBOL 
would because there are many addon standards like JavaDoc that need 
managing, but at least have been agreed upon by their community. 
We don't have that kind of agreement in the REBOL community. Also, 
the structure of the Java language is very limited, so it's a bit 
easier to parse it and have its structure just be in the background 
even though the language wasn't designed for that like Smalltalk 
was for its browser. For Red, since it's so early, things like integrated 
documentation can be developed along with the language, so something 
like this would make more sense. However, if Red is going to have 
even a large fraction of the power of REBOL then it won't be as structured 
as Java, making it a little more difficult to retrofit a Code Bubbles 
interface onto existing code. This is why you would need an IDE to 
understand code written in this kind of IDE: A Code Bubbles style 
interface doesn't generate code with story structure the way scripts 
are structured, so you can't just read the code without the context 
of the IDE.
Kaj
10-Mar-2011
[234]
I compiled the Hello World example on the graphical version of Syllable 
Server, and then ran it with WINE
Dockimbel
11-Mar-2011
[235x4]
Kaj: I'll have a look at ELF format this weekend, to see if it is 
possible to add it quickly on sunday.
It it requires more than a day of work, I'll postpone it for the 
end of this month.
It => If
Graham: I've posted a short reply to your code bubbles question here: 
http://groups.google.com/group/red-lang/browse_thread/thread/8ecea42063ee4e14/6f7364ebadc7291d?hl=en#6f7364ebadc7291d
Kaj
11-Mar-2011
[239]
ELF would be excellent :-)
BrianH
11-Mar-2011
[240]
I replied to that as well, but the word wrap corrupted my post a 
little. Whoops.
Dockimbel
11-Mar-2011
[241]
Can't find any settings in Google Group allowing to change the default 
threshold for word wrapping...I find it too low when reading messages 
from the web.
BrianH
11-Mar-2011
[242x2]
I didn't realize that the word wrapping was something it did; I thought 
it was something *you* did in that message. So I put in my own line 
endings, which ended up in the wrong place because they word wrap 
at fixed indexes as if they weren't rendering with a proportional 
font. If they are word wrapping that way, they should use an editor 
with a fixed-length font and a margin line.
What they are doing is using the Usenet message format in Google 
Groups, and that means ~78 character lines iirc. That format was 
designed for composing messages in terminals (like in R3 chat) or 
in special editors that use fonts like Courier when composing messages. 
It's surprising that they didn't relax the format a little for groups 
that aren't mirrored on the real Usenet, but when you "Show original" 
(in the "More options" section) the message is formatted for Usenet 
and email.
Andreas
11-Mar-2011
[244x2]
Brian, Google Groups still is a mailing-list tfrontend, so those 
messages actually go out via email.
(Somewhere this sentence misses an "also" ... :)
Steeve
11-Mar-2011
[246]
Question: I created my fork.

And now I created a branch on my computer, but where am I supposed 
to work exactly ? 

I mean, I only see the source files in a sub dir called /red-system
Dockimbel
11-Mar-2011
[247]
Your question should be posted in "Source Control" channel.