CTAN Comprehensive TeX Archive Network

New CTAN package: gates

Date: December 3, 2011 6:45:31 PM CET
the jolly old daemon doesn't suffer from colds, like me... > The following information was provided by the package's contributor. > > Name of contribution: gates > Author's name: Paul Isambert > Package version: 0.1 > Location on CTAN: macros/generic/ > Summary description: Implementing modular and customizable code. > License type: lppl > > Announcement text given by the package's contributor: > ---------------------------------------------------------------------- > Gates is designed to write code in a modular fashion: big macros or > functions are divided into small chunks (called gates) with names, > which can be externally controlled (e.g. they can be disabled, > subjected to conditionals, loops...) and/or augmented with new chunks. > > Thus complex code can be easily customized without having to rewrite > it, or even understand its implementation: the behavior of existing > gates can be modified, and new ones can be added, without endangering > the whole design. This allows code to be hacked in ways the original > authors might have never envisioned. > > Gates is implemented independantly for both TeX and Lua. The TeX > implementation requires the texapi package, whereas the Lua version > can be run with any Lua interpreter, not just LuaTeX. thanks for the upload; i've installed the new version, and created an entry in the catalogue repository. > Users may view the package catalogue entry at > http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/gates.html > or they may browse the package directory at > http://www.tex.ac.uk/tex-archive/macros/generic/gates/ The catalogue entry will first appear on the web some time overnight tonight. Robin Fairbairns For the CTAN team

gates – Support for writing modular and customisable code

The package provides the means of writing code in a modular fashion: big macros or functions are divided into small chunks (called gates) with names, which can be externally controlled (e.g. they can be disabled, subjected to conditionals, loops...) and/or augmented with new chunks.

Thus complex code may easily be customised without having to rewrite it, or even understand its implementation: the behavior of existing gates can be modified, and new ones can be added, without endangering the whole design. This allows code to be hacked in ways the original authors might have never envisioned.

The gates package is implemented independently for both and Lua. The implementation, running in any current environment, requires the texapi package, whereas the Lua version can be run with any Lua interpreter, not just Lua.

Packagegates
Version0.2
MaintainerYuri Robbers
Paul Isambert (inactive)

Announcements

more

Guest Book Sitemap Contact Contact Author