[PolyORB-users] IDL to Ada mapping update (IDL4 / Ada2012) ?

Oliver Kellogg oliver.kellogg at t-online.de
Mon May 30 21:43:01 CEST 2016


Hello,

Is there any interest in creating an IDL to Ada mapping aligned with IDL4?

Looking at the work done on the C++11 mapping, it would appear that a similar mapping for Ada could bring some advantages - such as, a common core IDL type mapping applicable to both CORBA and DDS.

Some ideas in this direction:

* IDL numeric types could be mapped directly to the types in the Interfaces package
* IDL string could be mapped directly to Ada.Strings.Unbounded
* IDL bounded string<> could be mapped directly to Ada.Strings.Bounded
* IDL sequence could be mapped directly to Ada.Containers.Vectors
* IDL bounded sequence<> could be mapped directly to Ada.Containers.Bounded_Vectors

This could make Ada code using the core types identical for CORBA and DDS, and would avoid dragging in the heavy weight package CORBA just for using the basic types.
OTOH, the CORBA specific type "any" would stay in the package CORBA.

Oliver M. Kellogg



More information about the PolyORB-users mailing list