1. A method for using a collection of user-level events, said method comprising for each application event to be entered in a computer application: retrieving from the collection of user-level events, a corresponding user-level event and a transformation of a sequence of input events into the corresponding user-level event, said transformation having associated therewith the contexts of the computer application in which the corresponding user-level event can be fired and/or wait for; and only if a context of the computer application belongs to the contexts associated to the transformation: obtaining an executable form of the transformation, whenever the contextual parameters of said transformation define that said transformation should be called; configuring at least one of the application and an environment of the application for sending, to the transformation, a series of bit patterns as sequences of input events expected as inputs to the transformation; wherein obtaining an executable form of the transformation comprises compiling a source code corresponding to the transformation, in order to generate said executable form.