from abc import ABC


class FandangoConverter(ABC):
    """Abstract superclass for converting a given grammar spec to Fandango format."""

    def __init__(self, filename: str):
        """Initialize with given grammar file"""
        self.filename = filename
