manpagez: man pages & more
info gawk
Home | html | info | man

File: gawk.info,  Node: Extension Design,  Next: Notes_summary.php">Notes summary,  Prev: Implementation Limitations,  Up: Notes

C.5 Extension API Design
========================

This minor node documents the design of the extension API, including a
discussion of some of the history and problems that needed to be solved.

   The first version of extensions for 'gawk' was developed in the
mid-1990s and released with 'gawk' 3.1 in the late 1990s.  The basic
mechanisms and design remained unchanged for close to 15 years, until
2012.

   The old extension mechanism used data types and functions from 'gawk'
itself, with a "clever hack" to install extension functions.

   'gawk' included some sample extensions, of which a few were really
useful.  However, it was clear from the outset that the extension
mechanism was bolted onto the side and was not really well thought out.

* Menu:

* Old Extension Problems::           Problems with the old mechanism.
* Extension New Mechanism Goals::    Goals for the new mechanism.
* Extension Other Design Decisions:: Some other design decisions.
* Extension Future Growth::          Some room for future growth.

© manpagez.com 2000-2025
Individual documents may contain additional copyright information.