Translated C

Author: (Norbert) Suedland, Aalen, Germany

Is there something wrong in this headline? Should the text not sound: Compiled C ? This is the first misunderstanding: Here in this elaboration, the C programming language shall not be understood by computers only, but also by humans. Time and again there are programs, beginning with the following words: The code in this file is in no way ment to be human readable. The problem is: How shall debugging be time- and cost-effective without understanding by the human users?

The intension of The C Programming Language by Kernighan and Ritchie has been to write programs, that can be understood by almost each machine. A program should not be varied too much, if the machine is changed. Usually, these changes can be done by compiler and linker options. If something was forgotten in such programs, then a corresponding use of #define will help. Therefore, the old C standards clarify, what can be told to be C code, and what not.

Now, this elaboration has got the further intension to write programs, that can be understood by almost each human, too. Since there are many cultural languages on the earth, this means to write programs, that can easily be translated into any cultural language and its scripture system.

From the beginning, the C programming language has got the ability to translate each command by use of #define. The pre-compiler commands can be translated in an own pre-compiler to other languages and scripture systems, a possibility existing for the older C compilers, too.

What is the use of this senseless burden to the pre-compiler ? ―

Therefore, if the translations are done together and held to be changable by anyone, then good solutions can be found for each language and scripture system, which can also be used to translate the programs of collegues into the own language automatically ― except for the comments and all specific notions of the collegues, which still will need the use of a dictionary.

Copyright (next contribution) Table of Contents Back to Computer Science
Deutsche Fassung Esperanta versio