Patent ID: 8607206

Claim:
A computer-implemented method of generating asynchronous application program output computer code from input computer code of a synchronous application, the method comprising: automatically parsing the input computer code to develop an original syntax tree; automatically developing, from the original syntax tree, a translated syntax tree that is semantically equivalent to the original syntax tree; automatically analyzing at least one of the original syntax tree and the translated syntax tree to identify a plurality of nodes, each node representing a respective instruction that potentially might not be executed as a result of a respective logical contingency; automatically defining a boundary in the translated syntax tree logically prior to each identified node; and automatically generating a plurality of asynchronous output computer code segments, such that for each generated segment: the segment corresponds to one of the defined boundaries; the segment contains output computer code generated from a portion of the translated syntax tree; at least a portion of the generated output computer code depends on a result of the respective logical contingency; and the segment contains no output computer code that implements the respective logical contingency, such that: the generated plurality of asynchronous output computer code segments: are executable via a server; and comprise an application logic layer configured to communicate with a client executing a presentation layer for the synchronous application; wherein: the input computer code of the synchronous application comprises logic and presentation layers that run locally on a single computer.