Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

Creating a New Module

A new module is created by copying an existing module and editing the files appropriately. A good module to use for this purpose is xetc, looking at xcore/doc/mymodule.h for ideas on how to create new xlisp primitives. Also XlispInternals has at the end a discussion of how to add new primitives.

In the following, let xmodule be the name of the module which is also the name of the subdirectory under slisp. I.e. for xetc, xmodule = xetc.

The following subdirectories and files must be present in every module. All files are given relative to slisp/xmodule.

Other subdirectories may be present but do not need to be.


Go to the first, previous, next, last section, table of contents.