Jump to content

SOM:Interface Definition Language: Difference between revisions

From NikiWiki
Prokushev (talk | contribs)
mNo edit summary
Prokushev (talk | contribs)
mNo edit summary
Line 1: Line 1:
Interface Definetion Language (IDL) is core of [[http://en.wikipedia.org/wiki/System_Object_Model System Object Model]]. All classes has definetion of its interface via IDL. With help of [[SOM Compiler]] IDL file can be translated to various formats, including various language bindings. For example, to produce C header you can run
Interface Definetion Language (IDL) is core of [http://en.wikipedia.org/wiki/System_Object_Model System Object Model]. All classes has definetion of its interface via IDL. With help of [[SOM Compiler]] IDL file can be translated to various formats, including various language bindings. For example, to produce C header you can run
  sc -s"h" somcls.idl
  sc -s"h" somcls.idl
to produce DEF file you can run
to produce DEF file you can run
  sc -s"def" somcls.idl
  sc -s"def" somcls.idl
[[SOM Compiler]] uses [[emitter]] to produce corresponding language binding. You can create new bindings using [[Emitter framework]].
[[SOM Compiler]] uses [[emitter]] to produce corresponding language binding. You can create new bindings using [[Emitter framework]].

Revision as of 06:01, 4 November 2004

Interface Definetion Language (IDL) is core of System Object Model. All classes has definetion of its interface via IDL. With help of SOM Compiler IDL file can be translated to various formats, including various language bindings. For example, to produce C header you can run

sc -s"h" somcls.idl

to produce DEF file you can run

sc -s"def" somcls.idl

SOM Compiler uses emitter to produce corresponding language binding. You can create new bindings using Emitter framework.