A Joy library for online help generation
Nick Forde — 2003-02-28 13:05:47
phimvt@lurac.latrobe.edu.au — 2003-03-03 02:26:16
On Fri, 28 Feb 2003, Nick Forde wrote:
> I've put together a little library for generating help and
> manuals. You can find it along with some examples at:
>
> http://www.system-7.freeserve.co.uk/joy/hlplib
And very nice it is. Can/Should I now plant a link to this
on the Joy page? Also, if there are any new primtives
that would help this project, please let me know.
- Manfred
Nick Forde — 2003-03-06 10:46:14
phimvt@... writes:
>
> On Fri, 28 Feb 2003, Nick Forde wrote:
>
> > I've put together a little library for generating help and
> > manuals. You can find it along with some examples at:
> >
> > http://www.system-7.freeserve.co.uk/joy/hlplib
>
> And very nice it is. Can/Should I now plant a link to this
> on the Joy page?
Feel free. You can grab the library itself from:
http://www.system-7.freeserve.co.uk/joy/hlplib/hlplib.joy
> Also, if there are any new primtives
> that would help this project, please let me know.
I would like to be able to access the symbol table in the same way
manual_list_ gives access to the optable. e.g. through a 'userdefs'
primitive.
I was also unable to find a type test for primitives. i.e. something
equivalent to:
----------
DEFINE prim ==
[ [[char] pop false]
[[file] pop false]
[[float] pop false]
[[integer] pop false]
[[list] pop false]
[[logical] pop false]
[[set] pop false]
[[string] pop false]
[[user] pop false]
[ pop true ] ] cond.
DEFINE primtest ==
[] 'a swons stdout swons 1.01 swons 1 swons [] swons false swons
{} swons "a" swons [mydef] first swons [cons] first swons [prim] map.
primtest.
----------
Maybe I've just not found the right primitive yet. If not I think this
should be provided for consistency, along with "ifprim".
Regards,
Nick.