texttransformer.jpg

Substitution of identifiers


A list of identifiers can be edited by which the preprocessor unifies the notations of identifiers. In addition there is a second substitution table for the translator.

While the preprocessor cannot distinguish identifiers, which are keywords from other identifiers, the translator does. Only the latter are substituted by the translator, i.e. the names for variables, functions etc. Therefore, the translator can substitute such names, which are keywords in C++. Without this substitution, there would be errors in the translated code. E.g.

double float; -> double float_value;

The identifier is already recognized by the translator before the substitution takes place. Therefore it can be substituted by something completely different, without affecting the translation process. E.g.

StringOfChar -> AnsiString::StringOfChar


   deutsch Deutsch

 

 
Latest News
08/06/21
Delphi2Cpp 2.0: DelphiXE2Cpp11 now is Delphi2Cpp 2.0 [more...]

06/11/21
TextTransformer: Free license [more...]



"Thanks for your great work, really appreciate the work you have done on zlib and compiling ... test case."


Mattewada, Udayabhaskar
Nokia India 02/01/2021




[from case study...]

"A masterpiece -- Delphi2Cpp has exceeded all my expectations by far."


Tony Hürlimann
virtual-optima 08/20/2011



"First off, I have to say WOW! Delphi2Cpp is doing a *fantastic* job!"


Daniel Flower
linkrealms 01/15/2011


 
This website is generated from plain text with [Minimal Website ]

Minimal Website
Minimal Website is made with TextTransformer

TextTransformer
TextTransformer is made with Borland CBuilder

  borland