Patent ID: 8015554

Claim:
A computer-assisted method for iteratively interpreting a single source code region written in one computer programming language as another computer programming language, the method comprising an initial iteration comprising: generating, by a computing device, from said single source code region a plurality of different intermediate forms each corresponding to a different computer programming language, said generating said plurality of different intermediate forms comprising: pre-processing said source code region to create a textual elaborated output; lexing said textual elaborated output from said preprocessing to create a lexeme stream output; parsing said lexeme stream output from said lexing to create an abstract syntax tree output; and type checking said abstract syntax tree output from said parsing to create a typed tree output; and generating, by said computing device, a multilayered map associated with each of said plurality of different intermediate forms and each map corresponding to said different computer programming language, said multilayered map representing a sequence of pre-processed code ranges that together cover the entirety of said textual elaborated output with at least one notation per layer of said multilayer map designating: a validly analyzed region; a valid non-code region; an invalid skipped region; and an unknown status region.