[REBOL] Re: RFC: Examples in the auto-documentation
From: gerardcote::sympatico::ca at: 24-Dec-2002 15:40
Hi Gregg,
> OK, how about this as a five-minute workaround:
>
> Put the ref-data.r file, used by view-ref.r, somewhere handy - maybe
> the same dir as REBOL.
>
> Load it, maybe in user.r
>
> ref: load %ref-data.r
>
> Write a func to do what you want (also added to user.r?)
>
> eg: func ['word] [help :word print last select ref word]
>
> Call it as needed
>
> >> eg <
> USAGE:
> value1 < value2
...
Nice idea, I think we are approaching of a "dreamed of" solution without adding too much
cost. The way you suggest could also be
very extensible if someone desires it to be so. Simply add other examples-data.r module
and almost everything is done. At least
about the general specs... even Carl used it to add the ref-cmts.r to the original dict-file:
refdata.r he is refering in his own
/View documentation system.
Another useful add-on could be to put all of this in the easy-vid format for a simple
scripts browse and exec mechanism.
This suggestion alone is really becoming my dreamed of gift for the Christmas and New
Year.
Why did we not think about this before ???
Take care everybody and continue to dream about ... what could be done with REBOL!
This is really keeping FUN in my heart, more than many things on this earth.
Regards,
Gerard