openPR Logo
Press release

Delphi2Cpp 1.2.0: converts Delphi code for compilers like Visual C++ or gcc now too

02-22-2010 11:13 AM CET | IT, New Media & Software

Press release from: Dr. Detlef Meyer-Eltz

Translating properties

Translating properties

The program Delphi2Cpp was made to convert Delphi code to C++. The extended C++ of the CBuilder compiler was the primary target of the first version of Delphi2Cpp, which was published three months ago. With the new update this limitation is overcome, because optionally Delphi properties can be eliminated now.

The use of "properties" is a fundamental language feature of Delphi, that makes it difficult to translate it to C++. Only in the special CBuilder-C++ has a counterpart for this feature. The new version of Delphi2Cpp can eliminate these properties automatically. They can optionally be replaced by couples of functions: one function for reading the property and another function for writing the property. Depending on the kind of access to a property, it is replaced by the one or the other function in the code. So the translation of the code is possible not only for the rarely used CBuilder but also for the widespread Windows Visual C++ Compiler and Linux gcc.

Furthermore Delphi2Cpp 1.2.0 offers the possibility of preparing translation tables. With the translation tables the notations of identifiers are determined in the generated C++ code. In Delphi the notation of an identifier doesn't matter, in C++ however, the identifiers are case sensitive. Till now, the notation found by chance first was taken as a standard notation. By means of the translation tables desired notations can be fixed from the beginning. In addition, it is possible with these tables to rename identifiers completely, so that e.g. the calls of special Delphi functions are replaced by calls of C++ functions named differently.

Finally the quality of the translation result is increased considerably in Delphi2Cpp 1.2.0 compared with the first version of this program. Still a manual post-processing of the generated C++ code can be required now and then. For the code generated with the current version, however, such cases are much rarer than before.

For more information, visit www.texttransformer.com/Delphi2Cpp_en.html

Dr. Detlef Meyer-Eltz has been working for many years as software developer in different employments (measurement data evaluation, tabulation software, workflow application, artificial intelligence). He is an independent developer since 2002 and specialized on all kinds of text remodeling: text analysis, text extractions, text replacements and text conversion: e.g. log file analysis, data file conversions, source to source translations etc.

Detlef Meyer-Eltz
Burggarten 16
20535 Hamburg
Germany
Phone: 4940 2513642

This release was published on openPR.

Permanent link to this press release:

Copy
Please set a link in the press area of your homepage to this press release on openPR. openPR disclaims liability for any content contained in this release.

You can edit or delete your press release Delphi2Cpp 1.2.0: converts Delphi code for compilers like Visual C++ or gcc now too here

News-ID: 121479 • Views: 6214

More Releases from Dr. Detlef Meyer-Eltz

Delphi2Cpp 1.0.0: Converter from Object-Pascal (Delphi) to C++
The program Delphi2Cpp just has been released, which helps to translate the proprietary programming language Object Pascal - also called Delphi - into the widespread programming language C++. Delphi2Cpp saves all purely mechanical syntactical substitutions and rearrangements of the code in which the largest portion of the translation consists. A lot of more complex translation steps are executed too. However, in most cases a manual post-processing of the produced code will
TextTransformer 1.6.0: conversion of binary files
With TextTransformer 1.6.0 easy development of programs for the processing of binary files is possible now. This is possible because source files can be shown now not only as normal text, but as a binary text and in hexadecimal form too. Binary files are frequently used for the compact storage of data and - opposed to text files - contain many characters which aren't shown in a normal editor. These data
Conversion of arbitrary file formats to XML
TextTransformer supports XML as target format in a special way now. XML is of an eminent importance as it is a widespread standard for the exchange of data between different programs and systems. Moreover, further transformations can be done with XML files by means of XSLT. Therefore it is desirable to be able, as simply as possible, to convert arbitrary file formats to XML. With TextTransformer parsers (text-analyzer) can be
Debugging look-ahead productions
The possibilities for the visual analysis of texts have been extended to the look-ahead analysis in the TextTransformer 1.4. TextTransformer is a development environment for the analysis and automatic evaluation and remodelling of texts. At the analysis of a text disambiguation, i.e. the choice between alternative interpretations, can depend on sections of text which follow at later positions. E.g. the meaning of a letter can depend on the signature, or

All 5 Releases


More Releases for Delphi

Global Automotive Solenoid Market 2018 - Continental, Johnson Electric, BorgWarn …
Accord Market, recently published a detailed market research study focused on the “Automotive Solenoid Market” across the global, regional and country level. The report provides 360° analysis of “Automotive Solenoid Market” from view of manufacturers, regions, product types and end industries. The research report analyses and provides the historical data along with current performance of the global PP Pipe industry, and estimates the future trend of Automotive Solenoid on the
Automotive Pressure Sensors Market: INFINEON, SENSATA, ROBERT BOSCH, Denso, DELP …
MarketResearchReports.Biz adds “Global Automotive Pressure Sensors Market Share, Size, Trends and Forecast Market Research Report” reports to its database. This report provides a strategic analysis of the Automotive Pressure Sensors market and the growth estimates for the forecasted period. This report studies the global Automotive Pressure Sensors market status and forecast, categorizes the global Automotive Pressure Sensors market size (value & volume) by key players, type, application, and region. This report
Global Automotive Night Vision Systems Market 2018 - Autoliv, Bosch, Delphi
Apex Market Reports, recently published a detailed market research study focused on the “Automotive Night Vision Systems Market” across the Global, regional and country level. The report provides 360° analysis of “Automotive Night Vision Systems Market” from view of manufacturers, regions, product types and end industries. The research report analyses and provides the historical data along with current performance of the Global PP Pipe industry, and estimates the future trend
Automotive Fuel Level Sensor Market: Key vendors - Bosch, Delphi, Continental
MarketResearchReports.Biz adds “Global Automotive Fuel Level Sensor Market Share, Size, Trends and Forecast Market Research Report” reports to its database. This report provides a strategic analysis of the Automotive Fuel Level Sensor market and the growth estimates for the forecasted period. Fuel level sensors are used to detect the level of fuel in fuel tanks. Various types of fuel level sensors are available in the market. Based on their material used,
Delphi Offers Trendy New Jewelry Products
Lansing, MI (May 6, 2011) – Delphi Glass continues to expand its selection of jewelry-making products with new on-trend findings. Delphi now carries ball chain in two sizes and three colors for necklaces and bracelets. Chain can be layered for a fashionable look. New colors of organza necklaces are also available to complement pendants and charms. Delphi has also significantly increased its selection of contemporary, economically priced findings. In addition
Delphi Glass Announces 20th Annual Art Competition
Delphi, art glass supplies and education since 1972, announces entry dates for its 20th Annual Art Glass Festival. Artisans can compete to win top prizes for their glasswork and share their creativity with others. Every year in April, Delphi hosts its annual Art Glass Festival. Along with special classes and events throughout the month, the festival offers two very competitive art contests. The first is a juried show at their Lansing,