Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Gregg's Article in OnLamp

 [1/11] from: AJMartin::orcon::net::nz at: 24-Dec-2003 22:43


Sunanda wrote (in another thread):
> ...here's something else I spotted: an article on REBOL by Gregg who is
described as "considered somewhat eccentric..."
> http://www.onlamp.com/pub/a/onlamp/2003/10/30/rebol.html > > Nice work, Gregg!
Good work, Gregg! I discovered a little problem when I went to "correct" a problem here:
>> languages: [
[ REBOL Java VB Perl Python Ruby Tcl PHP C C++ C# [ Delphi Smalltalk Lisp COBOL [ ] ** Syntax Error: Invalid word -- C# ** Near: (line 2) REBOL Java VB Perl Python Ruby Tcl PHP C C++ C# I think it would have been better to use strings instead of words. It also has the side benefit of reducing the number of words in the script as well. :) I hope that helps! Andrew J Martin Speaking in tongues and performing miracles. ICQ: 26227169 http://www.rebol.it/Valley/ http://valley.orcon.net.nz/ http://Valley.150m.com/

 [2/11] from: carl:cybercraft at: 24-Dec-2003 22:43


On 01-Nov-03, A J Martin wrote:
> Sunanda wrote (in another thread): >> ...here's something else I spotted: an article on REBOL by Gregg
<<quoted lines omitted: 5>>
>> Nice work, Gregg! > Good work, Gregg!
And I third that! A good example of why I like REBOL too. -- Carl Read

 [3/11] from: greggirwin:mindspring at: 31-Oct-2003 14:06


Hi Andrew, AJM> I discovered a little problem when I went to "correct" a problem here:
>>> languages: [
AJM> [ REBOL Java VB Perl Python Ruby Tcl PHP C C++ C# AJM> [ Delphi Smalltalk Lisp COBOL AJM> [ ] AJM> ** Syntax Error: Invalid word -- C# AJM> ** Near: (line 2) REBOL Java VB Perl Python Ruby Tcl PHP C C++ C# AJM> I think it would have been better to use strings instead of words. It also AJM> has the side benefit of reducing the number of words in the script as well. I actually thought long and hard about that, and I opted to both use words, and still include C# in the list. I could easily have left it out, but I actually hope that people will do what you did and find that not everything can be a valid word. I don't want to encourage people to stick with the old mentality of "just make it a string" that you have with most other languages. We can do better with REBOL. If you look at the options side by side, do you really like the second one better? languages: [ REBOL Java VB Perl Python Ruby Tcl PHP C C++ C-sharp Delphi Smalltalk Lisp COBOL ] languages: [ "REBOL" "Java" "VB" "Perl" "Python" "Ruby" "Tcl" "PHP" "C" "C++" "C#" "Delphi" "Smalltalk" "Lisp" "COBOL" ] Hopefully people will look at the first version and think "Hey, where are those defined? They're not strings...how does it do that?" To me, one of REBOL's greatest strengths is the ability to use words-- not to mention all the other native datatypes--and I want to encourage people to be aware of them and how important they are. Thanks for bringing it up! -- Gregg

 [4/11] from: AJMartin:orcon at: 24-Dec-2003 22:43


Gregg wrote:
> If you look at the options side by side, do you really like the second one
better?
> languages: [ > REBOL Java VB Perl Python Ruby Tcl PHP C C++ C-sharp
<<quoted lines omitted: 5>>
> ] > Hopefully people will look at the first version and think "Hey, where are
those defined? They're not strings...how does it do that?" I think that the third option is better still: languages: [ REBOL Java VB Perl Python Ruby Tcl PHP C C++ C# Delphi Smalltalk Lisp COBOL ] :) Gregg wrote:
> To me, one of REBOL's greatest strengths is the ability to use words--
Yes, I agree. I'd like Rebol to be more versatile in this area. I'm sure with improvements to the current parser in Rebol, then words like: C# can become valid Rebol word! values. I'd like it if any combination of printable characters that aren't all ready another Rebol datatype are treated as a valid word! value. Andrew J Martin Speaking in tongues and performing miracles. ICQ: 26227169 http://www.rebol.it/Valley/ http://valley.orcon.net.nz/ http://Valley.150m.com/

 [5/11] from: greggirwin:mindspring at: 31-Oct-2003 16:05


Andrew et al AJM> I'm sure with improvements to the current parser in Rebol, then AJM> words like: AJM> C# AJM> can become valid Rebol word! values. I'd like it if any combination of AJM> printable characters that aren't all ready another Rebol datatype are AJM> treated as a valid word! value. Feel free to use the comment section for the article to critique and discuss these kinds of ideas. Hopefully there will be enough interest to warrant O'Reilly publishing more articles on REBOL. -- Gregg

 [6/11] from: gedb01:y:ahoo at: 3-Nov-2003 11:33


> Feel free to use the comment section for the article > to critique and
<<quoted lines omitted: 3>>
> REBOL. > -- Gregg
REBOL in a Nutshell would be a great thing to have.

 [7/11] from: rebol-list2:seznam:cz at: 3-Nov-2003 10:11


Hello Martin, Friday, October 31, 2003, 11:11:32 PM, you wrote: AJM> Gregg wrote:
>> To me, one of REBOL's greatest strengths is the ability to use words--
AJM> Yes, I agree. I'd like Rebol to be more versatile in this area. I'm sure AJM> with improvements to the current parser in Rebol, then words like: AJM> C# AJM> can become valid Rebol word! values. I'd like it if any combination of AJM> printable characters that aren't all ready another Rebol datatype are AJM> treated as a valid word! value. YES... I would appreciate it as well.. and #"," character as a word as well so I could use it in my dialect. It would be good to send it to the feedback again. -- Best regards, rebOldes -----------------[ http://oldes.multimedia.cz/ ]

 [8/11] from: greggirwin:mindspring at: 3-Nov-2003 9:11


Hi Ged, GB> REBOL in a Nutshell would be a great thing to have. I agree. Let O'Reilly know. If we *all* let them know we want a great O'Reilly REBOL book, maybe it'll shake 'em up a little. :) -- Gregg

 [9/11] from: tomc:darkwing:uoregon at: 3-Nov-2003 9:10


On Mon, 3 Nov 2003, Gregg Irwin wrote:
> Hi Ged, > > GB> REBOL in a Nutshell would be a great thing to have. > > I agree. Let O'Reilly know. If we *all* let them know we want a great > O'Reilly REBOL book, maybe it'll shake 'em up a little. :) > > -- Gregg
Agreed I would love a nutshell book, however I would rather have just one... so I wonder if it would not be prudent for Rebols shell to be a little bit firmer before being cast in stone.

 [10/11] from: AJMartin:orcon at: 24-Dec-2003 22:44


rebOldes wrote:
> YES... I would appreciate it as well.. and #"," character as a word as
well so I could use it in my dialect. It would be good to send it to the feedback again. And what would you use comma (,) for? Andrew J Martin Speaking in tongues and performing miracles. ICQ: 26227169 http://www.rebol.it/Valley/ http://valley.orcon.net.nz/ http://Valley.150m.com/

 [11/11] from: ingo:2b1 at: 4-Nov-2003 11:54


Hi Andrew, A J Martin wrote:
> rebOldes wrote: > >>YES... I would appreciate it as well.. and #"," character as a word as > > well so I could use it in my dialect. It would be good to send it to the > feedback again. > > And what would you use comma (,) for?
For not having this error?
>> a: [ eggs, bananas]
** Syntax Error: Invalid word -- eggs, ** Near: (line 1) a: [ eggs, bananas]

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted