Jump to content

Emitter Framework

From EDM2
Revision as of 09:28, 20 May 2007 by Prokushev (talk | contribs)

Emitter Framework is a set of classes and SOM Compiler tool. Emitter Framework is used to produce various file formats from Interface Definition Language files. Emitter Framework classes consist of Emitter classes and Entry classes. Classes can be shadowed. This means a programmer can replace original classes with his own classes. So the SOM Compiler can be highly customized. The only things hard-coded (and closed source) are the IDL file reader and abstract graph builder.

Before starting description of Emitter Framework lets talk about SOM Compiler. We already talked briefly about SOM Compiler. But for emitters we need to know internals of SOM Compiler much better.

Lets start from visible parts of SOM Compiler. SOM Compiler requires for its work folowing files:

  1. sc.exe, somc.dll and somc.msg - Main part of compiler.
  2. somcpp.exe - SOM Preprocessor
  3. somipc.exe - Goals not known...
  4. emit*.dll - Emitters
  5. *.efw - Emitter templates