idl2pyemb is an IDL compiler to Python embedded with C.
idl2pyemb [options] spec.idl
All options are forwarded to C preprocessor, except -h -i -J -v -x.
With the GNU C Compatible Compiler Processor, useful options are :
Specific options :
Specify a path for import (only for version 3.0).
Specify a path for Python package.
Enable old Python object model.
Enable export (only for version 3.0).
idl2pyemb parses the given input file (IDL) and generates :
a set of Python sources : an optional _spec.py and pkg/__init__.py for each package
a include file spec.h
(following the language C mapping rules)
a C spec.c
idl2pyemb is a Perl OO application what uses the visitor design pattern. The parser is generated by Parse::Yapp.
idl2pyemb needs a cpp executable.
CORBA Specifications, including IDL (Interface Language Definition) C Language Mapping and Python Language Mapping are available on http://www.omg.org/.