Jump to content

Emitter Framework: Difference between revisions

From EDM2
Prokushev (talk | contribs)
mNo edit summary
Prokushev (talk | contribs)
No edit summary
Line 1: Line 1:
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 [[SOMTEmitC|Emitter classes]] and [[SOMTEntryC|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.
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 [[SOMTEmitC|Emitter classes]] and [[SOMTEntryC|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 [[First steps with the SOM compiler|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:
  # sc.exe, somc.dll and somc.msg - Main part of compiler.
  # somcpp.exe - SOM Preprocessor
  # somipc.exe - Goals not known...
  # emit*.dll - Emitters
  # *.efw - Emitter templates

Revision as of 09:27, 20 May 2007

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:

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