In article <
a048211e-d63d-4b32...@googlegroups.com>,
Andrew Schorr <
asc...@telemetry-investments.com> wrote:
>Hi Kenny,
>
>On Thursday, January 15, 2015 at 11:55:08 AM UTC-5, Kenny McCormack wrote:
>> Therefore, I suspect that there is some document somewhere, if only in
>> the hands of the "official" GAWK developers, that documents this more
>> fully. Is there any chance that this could be uploaded at some point
>> and the URL for it made public?
>
>I'm not aware of any hidden documentation.
I'm actually surprised by that. Quite seriously, as I was sitting there
writing my code, I was saying to myself "This can't be all there is." and
"There must be some other document out there - that the official developers
use."
>I think Arnold spent a lot of time developing the texinfo documentation
>that you see in the manual. What is missing there?
It's the usual "Unix thing". It's all there, but a person couldn't figure
it out strictly from that. As is often said about Unix man pages, it only
makes sense if you already know it.
>Personally, I use the gawkapi.h header file in conjunction with previously
>written extensions to figure out what to do. The gawkextlib library also
>has a few helper functions to make it easier to create arrays and
>variables, should that be relevant.
Exactly. As have I. And, as I've noted, it works. It works for you and
it works for me. But I think we can all agree that, in a perfect world,
understanding something shouldn't require reverse engineering. As I said,
if you have to reverse engineer it, then the documention is lacking.
>Are there any specific aspects of the API that you feel are not adequately
>documented?
Not really. (somewhat facetiously) Just all of it.
But this did arise specifically in the context of traversing arrays. I got
it working, of course, but as said, only by reverse engineering the sample
code.
--
"They shall be attended by boys graced with eternal youth, who to the
beholder?s eyes will seem like sprinkled pearls. When you gaze upon that
scene, you will behold a kingdom blissful and glorious."
--- Qur'an 76:19 ---