Tool for generating parsers in accordance with given specifications