Generating Microkernel Bindings from System Object Model Interface Definition Language with the SOM Compiler
Original Publication Date: 1996-Feb-01
Included in the Prior Art Database: 2005-Mar-31
Kreulen, JT: AUTHOR [+1]
IBM* currently supports several Interface Definition Languages (IDLs) and the corresponding tools. This promotes redundant investment in tool development and maintenance infrastructure.
Generating Microkernel Bindings from System Object Model
Definition Language with the SOM Compiler
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
end users who have to learn and use multiple tools and languages to
perform similar function.
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.
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.
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).
subsystem foo 100;