Institut für Computersprachen
Programmiersprachen und Übersetzer

Detailinformation

( Fenster schließen )


Diplomarbeit
Titel CCOM - Compiler für commercial C
Autor Wassileff, Dimiter
Erscheinungsjahr 1990
Abstract CCOM is a precompiler, transducing an extended C language to standard C (or ANSI standard, if used). The extended language supports data types, conventionally used in an environment of commercial programming. These data Types, consisting of packed (BCD) and zoned (BYTE) fields of variable size, are fully integrated in the semantics of the C programming language. The programmer may define them like standard C types and use them without taking care of implicitly arranged optimized type conversions. Such type conversions take place among the new types themselves, from the new types to standard types (including pointers of any type and function arguments), or from standard types to the new types vice versa. To achieve this solution, CCOM is based on 2 components: A runtime system, realized as a collection of conversion and evaluation functions, and the precompiler , implemented in LEX and YACC. The precompiler passes all standard C parts of the program to the system C compiler, while translating the extended features to standard C definitions, expressions and calls to the runtime system. Thus CCOM combines the edvantages of semantically integrated commercial data types at the one hand, and the powerful instrument of a high level programming language at the other.
Status Verfügbar

( Fenster schließen )