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
09/03/15
Delphi2Cpp 1.7.0 New translation options [more...]

01/30/12
Delphi2Cpp 1.6.3 Better construction of objects [more...]



"We successfully used your tool for migrating our code base to C++."


Roel Vliegen
magnaview 09/21/2015



[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