Base parser framework