|
List Info
Thread: How to access ref. docs on prototype?
|
|
| How to access ref. docs on prototype? |

|
2006-05-10 08:25:20 |
|
>
>>I'm writing a script that generates readable html docs from available
>>data in the Io system. To access the available slot docs, I do things
>>similar to this:
>>
>> Number docs slots getSlot(...)
>>
>>But what about doc data (e.g. category and description) on the
>>prototype itself, e.g. on Number? ...
>First you have to "make docs" then run "make" to build a clean, new
>vm; that will include the doc stuff in the C source files. After
>you're done, you can fire up your newly built io executable, and run:
>
>Io> Number docs category
>==> "Core"
Voila! The pyramid's hidden entrance has now been revealed. 
My script now generates much more complete html docs. You may take a
look at a sample (covering just a few selected prototypes) here:
<http://folk.uio.no/jkleiser/io/io-ref.html>
If you scroll down, you will notice quite a few slot names in red.
Those are names (from the docs) that don't match any of the
prototype's real slot names (e.g. "clone " instead of "clone").
One description also has bad html (which my script tries to make
valid). Check this:
<http://folk.uio.no/jkleiser/io/io-ref.html#Sequence-size>
Somebody has some cleaning up to do ...
/Jon
>The Foo docs slots is only used to get the info on the (of all
>things) slots of a given object.
...
>Jeremy Tregunna
|
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|