Browse Prior Art Database

Generating Microkernel Bindings from System Object Model Interface Definition Language with the SOM Compiler

IP.com Disclosure Number: IPCOM000117421D
Original Publication Date: 1996-Feb-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 4 page(s) / 87K

Publishing Venue

IBM

Related People

Kreulen, JT: AUTHOR [+2]

Abstract

IBM* currently supports several Interface Definition Languages (IDLs) and the corresponding tools. This promotes redundant investment in tool development and maintenance infrastructure.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 54% of the total text.

Generating Microkernel Bindings from System Object Model Interface
Definition Language with the SOM Compiler

      IBM* currently supports several Interface Definition Languages
(IDLs) and the corresponding tools.  This promotes redundant
investment in tool development and maintenance infrastructure.

Additionally, this creates confusion and unnecessary complication for
end users who have to learn and use multiple tools and languages to
perform similar function.

      The solution to supporting multiple tools and IDLs and user
confusion is to reduce the number of IDLs and corresponding tools by
providing the redundant function with one set of tools and languages.
This invention disclosure describes a mapping of Microkernel IDL to
System Object Model IDL.  This mapping allows Microkernel bindings to
be generated from the SOM compiler with a newly developed emitter,
eliminating the need for a unique Microkernel IDL and compiler (MIG).
The emitter generates the exact same output as is currently generated
by MIG today using a different input IDL file that uses the mapping
we will describe below.  An interesting note is that this mapping
provides a new semantic to the information provided in a SOM IDL
file.  This emitter has been developed and works.  It is being
evaluated for how it fits into future product plans.

      The mapping from Microkernel IDL to SOM IDL required the
addition of several symbols, parameter modifiers and method
modifiers.  The exact name of the symbols is not important (because
it is easily changed) but the piece of information they represent is
the important thing.  The general concept is that if the Microkernel
language feature had a semantic parallel in SOM IDL it was used.  For
information that did not have a similar semantic mapping a new symbol
is used inside the implementation section of the SOM interface
definition.  Parameter and type modifiers in Microkernel IDL become
method and type modifier in SOM IDL.  This mapping was done by hand,
but it is possible (desirable if this becomes widely used) to develop
a tool that can convert from one IDL to the other.

      The best explanation of this language mapping is through a
robust example.  We will do this with the two files foo.mig (the
Microkernel IDL) and foo.idl (the SOM IDL).
             foo.mig
  ----------------------------------
    subsystem foo 100;
    userprefix foo_;
    serverprefix FOO_;
    uimport "foo_us...