Switched parser architecture