Dylan Language Stub Mapping This document present a proposed mapping of Dylan to the CORBA IDL. There are 8 basic tasks, each of which occupies one section. 1) All IDL basic types. 2) All IDL constructed data types. 3) References to constants defined in IDL. 4) References to objects defined in IDL. 5) Invocations of operations, including passing parameters and receiving results. 6) Exceptions, including what happens when an operation raises an exception and how the exception parameters are accessed. 7) Access to attributes. 8) Signatures for the operations defined by the ORB, such as the dynamic invocation interface, the object adapters. =============================================================================== 1) Data Type Mappings IDL Dylan class short limited ( min: - expt(2 15) max: expt(2 15) - 1) long limited ( min: - expt(2 31) max: expt(2 31) - 1) unsigned short limited ( min: 0 max: expt(2 16) - 1) unsigned long limited ( min: 0 max: expt(2 32) - 1) float (IEEE single precision) double (IEEE double precision) char transmission conversion allowed boolean union (singleton(#t) singleton (#f)) octet * no transmission conversion enum limited ( min: 0 max: expt(2 32) - 1) any 2) Constructed Data Types. a) An IDL Structure is a Dylan b) An IDL Union c) Enumeration 3) Constants IDL constants are Dylan (and C #define's).