J Application Library

jal.jpg

In J601, the application library was the collection of scripts, tutorials and other files included with the distribution. Some additional files were available on an adhoc basis, as addons, and from the wiki page Scripts.

With the introduction of JAL in J602, the addons system is extended to make it easier to contribute an addon, and easier to install and use the addons. The intent is that the addon library will become a key part of the J system, much like the CPAN and CTAN libraries for Perl and TeX.

Package Manager

The addons and the base library can be installed/upgraded from within the J session, from the distribution repository over the Internet, see Package Manager.

Library Files

The three main sources for the library will be:

Addons Directories

Addons are installed in a two-level directory under the local addons directory, for example:
   jpath '~addons/web/cgi'

Older addons will be moved to an appropriate directory, for example:
   jpath '~addons/math/fftw'

Directory ~addons/config is reserved for configuration files, and is not an addon.

All directory names are in lower case.

The load and require verbs support shortnames matching the directory names, for example
   load 'web/cgi'
   load 'convert/misc/base64'
are equivalent to
   load '~addons/web/cgi/cgi.ijs'
   load '~addons/convert/misc/base64.ijs'

Addons Documentation

The starting point for the addons documentation is the wiki page Addons. Each addon has its own documentation page on the wiki, named with its installation directory name, for example Addons/arc/zip.


See also the Addons Developers Guide.

JAL/User Guide (last edited 2011-11-05 22:59:50 by RicSherlock)