×

Source-to-source transformation for language dialects

  • US 8,015,554 B2
  • Filed: 03/24/2006
  • Issued: 09/06/2011
  • Est. Priority Date: 03/24/2006
  • Status: Expired due to Fees
First Claim
Patent Images

1. 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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×