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

[REBOL] Re: Teaching Rebol => was:{Re: Re: Parsing comment}

From: al:bri:xtra at: 27-Sep-2002 8:23

Jason wrote:
> Andrew wrote: > > I don't think it's possible to get syntax hints for Rebol, unless one
tries
> > to execute the code. A Rebol IDE could show that a word refers to a
function
> > that takes X arguments of Y type/s. That's a useful hint, but that fails
if
> > the script (or a related script) replaces the value for that word when > > executed! :) It will also fail when looking at a word used in a dialect. > I don't quite understand why not - what does 'help do?
Basically the same as what I've indicated as above. I was under the impression you wanted a RIDE to do more than 'help does.
> test if it's a > - core word
Uhm, what are those? I "redefine" and add quite a few of them on startup in my %user.r file.
> - word defined in this session show so
set to-word input 123 What word is set to the vale of 123? I wouldn't know until the script is executed. RIDE would have to understand the script at near AI levels! It would be easier if the script was evaluated, but what if the script was designed for interaction with the user or interacting with another machine? If the word's value was loaded earlier, then 'help is certainly very effective.
> - word defined by import show so
I'm unsure what you mean here.
> But there must be a better way to indicate when one is stepping in or out
of a dialect? I think we're all still learning about dialects. Best practices will only come out when we keep designing and using dialects and see what works and what doesn't. Andrew Martin ICQ: 26227169 http://valley.150m.com/