Default
Google

XModula

Last update: 14-Aug-99

This is a set of file that will allow you to use the X-Windows (version 11, revision 6, also known as X11R6) library calls directly with the Modula-2 programming language.
It includes the full Modula-2 foreign definition modules for the most important headers of X-Windows: Xlib.h, X.h, Xutil.h and keysyms.h.

Click here to download XModula.tar.zip. (Use gunzip to decompress)

There is NO WARRENTY these definitions will work and are bug-free. They have only be tested superficially. I cannot be held responsible for any problems related to their usage.
Please consider this set to be a pre--beta version.

The version given there will successfully compile with the Modula-2 compiler Mocka and the Modula-2 to C translator mtc; a small demo program is included. No other compiler have been tested, and some modifications may be necessary for some of them.

The definitions are complete: everything from the Xlib.h, X.h and Xutil.h has been translated into Modula-2 (including the original comments). The inline macros from Xlib and Xutil are implemented using normal Modula-2 procedures in a separate module called Xmacro.


Here, you can download the source of the Modula-2 to C translator mtc (use gunzip to decompress).

Nicky.
Institute of Informatics,
University of Fribourg (CH).
jump to my home page


Acquiring image from ProHosting Banner Exchange