abParser implementation + tests