By Daniel M. Yellin
With the proliferation of desktop languages and dialects, you will need to create instruments to help within the building of source-to-source translators. via permitting clients to use software program (or info) written for one more method, those instruments shape a massive part within the quest for software program reusability. After discussing the theoretical and useful problems with characteristic grammar inversion, this publication demonstrates how the strategy can be utilized to construct source-to-source translators. this can be performed by way of first settling on a standard canonical shape within which to symbolize many of the resource languages after which writing characteristic grammars from each one resource to the canonical shape. through instantly inverting those characteristic grammars one obtains translators from the canonical shape again to every resource language and by means of composing definitely the right pairs of translators one obtains source-to-source translators. To turn out the feasibility of the inversion method of source-to-source translation, it's been used to generate translators among the programming languages Pascal and C.