Real standalone applications through compilation to C

Starting with version 3.30 it is possible to separately compile user applications and just link them with the emulator library and the C-ified compiler (see directory pl2c). This allows creation of a fully C-ified application in a few seconds.

Just type make PROJ=queens in directory pl2c. The standalone application queens is ready to be executed by typing queens. The generated C-code can be seen in files queens.h and queens.c.

Moreover, on systems with dynamic linking like Solaris 2.x true executables of size starting at about 6K can be created starting with version 3.30 (see directory dynlib2c).

If you define a predicate main/0 then your executable will start directly from there instead of the usual interactive top-level. Calling it with a high quietness-level (i.e. command line switch -q5) will suppress warnings and unwanted messages.