Projects / Eiffel Wrapper Generator

Eiffel Wrapper Generator

EWG (Eiffel Wrapper Generator) is a tool that generates Eiffel wrapper classes for C libraries. It can be used to create libraries that bridge the gap between Eiffel and C. It aims to work for arbitrary ANSI C and with all common Eiffel compilers. It is ideal for creating cross-platform, cross-Eiffel-compiler, and cross-C-compiler C library wrappers. It can handle pretty much all ANSI C, but understands Visual C and GCC extensions as well.

Operating Systems

Recent releases

  •  27 Mar 2004 16:53

    Release Notes: Configuration support has been added. It is now possible to specify what and what not to wrap. Due to configuration support, the number of unused wrappers in the examples has been greatly reduced. The parser accepts the "__inline__", "__forceinline", and "__signed__" keywords. Bugs have been fixed. Wrapper class names have now a maximum length. The commandline interface has been simplified. The GTK example has been improved. Struct member accessors have better names now.

    •  03 Nov 2003 00:10

      Release Notes: This version features a nicer progress indicator. The performance has roughly doubled since 0.7.0. There is a much reduced memory footprint (for OpenGL, down from 400MB to 30MB). The parser accepts '__inline' even without MSC extensions.

      •  30 Oct 2003 15:32

        Release Notes: The new version includes further additions to the GTK wrapper abstractions and new GTK examples. There is now preliminary support for Borland C++ on Windows. EWG now stops on syntax errors, and there is overall better error reporting. The generated code has improved contracts. EWG consumes less memory and is much faster. A new tool called "Doctor C" has been added. The documentation was improved, and various bugs have been fixed.

        •  20 Sep 2003 18:19

          Release Notes: Visual Eiffel support is now supported. The documentation has been improved. The GTK wrapper abstractions have been extended and new GTK examples have been added. The "#line" directive scanner is more robust and the gcc keyword "__extension__" gets parsed correctly. Problems with Win32 calling conventions and many other bugs have been fixed.

          •  22 May 2003 18:50

            Release Notes: There are bugfixes to the runtime, support for C arrays, and the beginnings of an Eiffel-GTK library usable by application developers.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.