Patent ID: 8549506
Filing Date: 2013-10-01
Classification: G06F

Abstract:
1. A system comprising: a processor and a memory; and a compiler configured to cause the processor to: receive source code comprising a resumable method, the resumable method comprising a syntactically distinguishable control point expression having a signature, wherein the compiler calls a program module of a plurality of program modules, the called program module determined by the signature of the control point expression, wherein the compiler creates at least one purpose specific object from the called program module, wherein the compiler transforms the received source code into expanded source code, wherein the expanded source code includes callbacks to purpose specific methods inherited from the called program module, wherein the callbacks are inserted into the expanded output code by the compiler, the inserted callbacks comprising a call to a method that is executed before the resumable method is paused, and a call to a method that is executed after the resumable method is resumed; and load a library external to the compiler, wherein the library comprises the plurality of program modules.