35. Bigloo The Programming Language (4.5a) User manual for version 4.5a December 2022 -- User Extensions |
|
The extension package system allows the language compiled by Bigloo to be
extended and this is achieved by associating an extension file with a
suffix. The extension file is loaded at the beginning of a compilation
and it can do three things: call extern programs (unix programs); define
macros; modify the values of some of the compiler's variables (for example,
the list of the libraries to be linked with). The Bigloo's initializing
procedure is the following:
Furthermore, Bigloo supports the -extend option which forces
the usage of an extension file. When Bigloo encounters this option, it
immediately loads the extension file, invoking the function
*extend-entry* with the list of arguments which have not
been parsed yet.The extension files are always sought in the directory containing the Bigloo's libraries.
Bigloo allows the user to add a special pass to the regular compilation,
this pass taking place before macro expansion. There are
two ways to add a user pass.
|
This Html page has been produced by
Skribe.
Last update Fri Dec 30 07:57:00 2022.