renamed Processor to Parser and overloaded parse()