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;
}

Latest News |
02/07/22
Delphi2Cpp: Delphi 10.3 inline variables [more...] |
09/09/21
Delphi2CB: has been relased [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
|

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)


