Configurable parser