adds scanner/parser spec.