World: r3wp
[Red] Red language group
older newer | first last |
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 [247x2] | Your question should be posted in "Source Control" channel. |
Maybe you should have look at a Git documentation first? | |
Steeve 11-Mar-2011 [249x3] | ah, I looked |
Trying to push my first modifications currently... | |
Doc, do you see something ? I pulled a request. | |
Andreas 11-Mar-2011 [252x4] | yep, here it is: https://github.com/dockimbel/Red/pull/1 |
why did you comment out the original code, instead of just deleting it? | |
(refering to: https://github.com/SteeveGit/Red/commit/d5f6c9f) | |
i'd suggest to keep the TBD comments and delete the rest | |
Steeve 11-Mar-2011 [256] | You mean, you don't want to see the old code as comments ? |
Andreas 11-Mar-2011 [257] | Exactly. |
Dockimbel 11-Mar-2011 [258x2] | Steeve: yes, got it, looks good to me. I'll pull it in a few minutes. Andreas is right, you don't need to comment the old code, just delete it (but keep the TBD comments). |
Your pull request disappeared, I guess you'll publish a new one. | |
Steeve 11-Mar-2011 [260x2] | In one minute... |
sorry... | |
Dockimbel 11-Mar-2011 [262] | Oh, my bad, looking in the wrong repo...still need to adjust to the DCVS approach. |
Andreas 11-Mar-2011 [263x2] | The pull requests will appear in your repo (dockimbel/Red). |
Steeve's commits of course go to Steeve's repo :) | |
Dockimbel 11-Mar-2011 [265] | Sure, it's clear to me now. :-) |
Steeve 11-Mar-2011 [266] | I repulled a request. |
Dockimbel 11-Mar-2011 [267] | Ok, merging it to my Red repo... |
Steeve 11-Mar-2011 [268] | But, instead of seeing 2 commitments , I should have deleted the first one. Don't know how to do that though.... |
Dockimbel 11-Mar-2011 [269x3] | Done |
Steeve: have you tested the changes locally by compiling the hello script? | |
The power-of-2? function is not retro-compatible with the previous version. | |
Steeve 11-Mar-2011 [272] | eh ? |
Dockimbel 11-Mar-2011 [273] | Let me test that more closely... |
Steeve 11-Mar-2011 [274] | I've not tested with the compiler but the function itself |
Dockimbel 11-Mar-2011 [275x2] | The compiler chokes on the new version of this function, but works with the old one. |
It was missing a to-integer conversion: power-of-2?: func [n [integer!]][if zero? n - 1 and n [to integer! log-2 n]] | |
Steeve 11-Mar-2011 [277] | ah, yes sorry |
older newer | first last |