Patent ID: 9547511
Date: 2017-01-17
CPC Classifications: G06F

Claim:
1. A method for providing asynchronous operations comprising: defining a runtime environment including a syntax for synchronous operations to create asynchronous operations in a language-based model from a synchronous syntax, wherein the syntax for synchronous operations is distinguishable from an asynchronous pattern; defining at least one keyword in the language-based model for use with programming in the syntax for the synchronous operations to define the asynchronous operations from the synchronous syntax prior to compilation; and compiling in the runtime environment the synchronous operations programmed in the syntax associated with the at least one keyword into an asynchronous operation having an asynchronous pattern configured for the runtime environment, wherein a first asynchronous method calls a second asynchronous method from a linked stack; wherein the synchronous operation associated with the keyword to define the asynchronous operation is represented during compilation as a plurality of declarations including a name of the asynchronous operation used to call the operation synchronously, and a begin declaration and an end declaration used as implementations of an asynchronous programming model for the asynchronous operation.