gawk: Extension Design

1 
1 C.5 Extension API Design
1 ========================
1 
1 This minor node documents the design of the extension API, including a
1 discussion of some of the history and problems that needed to be solved.
1 
1    The first version of extensions for 'gawk' was developed in the
1 mid-1990s and released with 'gawk' 3.1 in the late 1990s.  The basic
1 mechanisms and design remained unchanged for close to 15 years, until
1 2012.
1 
1    The old extension mechanism used data types and functions from 'gawk'
1 itself, with a "clever hack" to install extension functions.
1 
1    'gawk' included some sample extensions, of which a few were really
1 useful.  However, it was clear from the outset that the extension
1 mechanism was bolted onto the side and was not really well thought out.
1 

Menu