texttransformer.jpg

TextTransformer can be used to create translators for different programming languages. For example BASIC could be translated to Java as in the following example:

Source text (BASIC)

FUNCTION AbstandGeradePunkt! (g AS GeradeType, p AS PT2D)
AbstandGeradePunkt! = ABS(((-g.m * p.x + p.y - g.b) / SQR(g.m ^ 2 + 1)))
END FUNCTION


Target text (Java)

double AbstandGeradePunkt( GeradeType g, PT2D p )
{
double AbstandGeradePunkt;
AbstandGeradePunkt = Math.abs( ( ( -g.m * p.x + p.y - g.b ) / Math.sqrt( Math.pow( g. m,2)+ 1 ) ) );
return AbstandGeradePunkt;
}


   deutsch Deutsch

 

 
Latest News
01/29/24
Aurora2Cpp: Delphi 7 translator [more...]

10/19/23
Delphi2Cpp 2.3: Conversion of DFM files [more...]


"...Fantastic!!!!

... You have exceeded my expectations and I love your product. We will get a lot of use out of it in the future for other projects."

Charles Finley
xformix 23-02-07


top_prize_winner.png

I was extremely impressed with your components and tools. Not only extremely powerful but very professionally done and well documented, etc. Really quality work, congratulations

mouser (First Author, Administrator)


  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