-
公开(公告)号:US09886249B2
公开(公告)日:2018-02-06
申请号:US14941710
申请日:2015-11-16
Applicant: SAP SE
Inventor: Marco Pesarese , Stephan Dominik Matthee
CPC classification number: G06F8/41 , G06F8/427 , G06F8/51 , G06F11/3604
Abstract: Described herein is a transcompiling framework. In accordance with one aspect, the framework generates a source abstract syntax representation corresponding to source code written in a source language. The framework may determine validity of constraints of a common denominator language by parsing the source abstract syntax representation, wherein the common denominator language is a set of intersects provided by the source language and reachable by a target language. In response to determining the constraints are valid, the source abstract syntax representation may be transformed to a target syntax representation associated with the target language. The target syntax representation is then printed as transcompiled source code in the target language.