bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extension packaging


From: arnold
Subject: Re: Extension packaging
Date: Wed, 11 May 2022 04:45:27 -0600
User-agent: Heirloom mailx 12.5 7/5/10

Manuel Collado <mcollado2011@gmail.com> wrote:

> El 10/05/2022 a las 9:41, Wolfgang Laun escribió:
> > On Tue, 10 May 2022 at 09:06, Manuel Collado <mcollado2011@gmail.com
> > <mailto:mcollado2011@gmail.com>> wrote:
> >
> >     Well, CPAN (or CTAN) mostly distribute Perl (or TeX) sources. Perhaps
> >     precompiled to intermediate bytecode.
> >
> > There is also the XS interface for eXternal Subroutines, glue code that
> > lets you use Perl's internal data structures in C or C++ subroutines.
>
> The lack of this feature in gawkextlib is probably the motivation for 
> the gawkextlib base library. It includes adapted copies of some internal 
> gawk code fragments for use from other gawkextlib extensions.
>
> Regards.
> -- 
> Manuel Collado - http://mcollado.z15.es

The lack of access to gawk's internal data structures is intentional.
The API was (initially) designed with the idea that it could be
adapted by other awk implementations as well.

In any case, I think it is valid to say that the API and gawk internals
can progress independently of each other.

Arnold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]