Patent ID: 7840938

Claim:
In a computer system, a method for implementing and using a filter object, the method comprising: providing the filter object instantiated from an object class in a dynamically typed text-based programming environment, the filter object including a state, and the filter object being represented by: an output equation for generating an output of the filter object, and a state equation for updating the state of the filter object; implementing the filter object; and determining an output of the filter object based on an input to the filter object in the dynamically typed text-based programming environment, determining the output of the filter object including: receiving the input at the filter object, identifying a first state of the filter object, splitting up the input into a first input and a second input, invoking a first call to a filtering method of the filter object to: process the output equation to determine a first output of the filter object based on the first input of the filter object and the first state of the filter object, process the state equation to determine a second state of the filter object based on the first input of the filter object and the first state of the filter object, retain the second state of the filter object in the dynamically typed text-based programming environment, and invoking a second call to the filtering method of the filter object to process the output equation to determine a second output of the filter object based on the second input of the filter object and the second state of the filter object that has been retained.