Patent ID: 8856733

Claim:
A method of generating executable code for performing desired functionality, the method being performed using a processing system including at least a memory, stack and registers, the method including: a) defining a component combination based on the desired functionality, the component combination being indicative of: b) components to be implemented; and, c) connections between the components; d) causing components in the component combination to be implemented, wherein at least some of the components communicate using the connections and generate executable code fragments, at least two of the components communicating to determine a context, the determined context being dependent on one or more other components in the defined component combination, the determined context including an allocation of one or more registers for use by one or more of the executable code fragments at run-time, and one or more of the executable code fragments being generated at least partially based on the determined context to thereby allow the one or more executable code fragments to operate in accordance with the context at run-time, the determined context further including the state of at least one of the registers, stack and memory, and the determined context further including at least one of: i) agreements with the one or more other components in the defined component combination; ii) a result of negotiation with the one or more other components in the defined component combination; and, iii) random factors; e) combining the generated executable code fragments to thereby form the executable code, the executable code being formed by concatenating the executable code fragments in a manner defined by at least the determined context; and, f) providing the executable code to a processing system, such that execution of the executable code by the processing system causes the processing system to perform the desired functionality.