"""BLCE deterministic parsers for SQL, Python, Excel, DAX, MDX, and PDF.

Prefer importing from ``databridge.blce`` when possible.
"""

try:
    from databridge.blce import (
        SQLLogicExtractor,
        PythonLogicExtractor,
        ExcelLogicExtractor,
        DAXLogicExtractor,
        MDXLogicExtractor,
        PDFLogicExtractor,
    )
except ImportError:
    from .sql_parser import SQLLogicExtractor
    from .python_parser import PythonLogicExtractor
    from .excel_parser import ExcelLogicExtractor
    from .dax_parser import DAXLogicExtractor
    from .mdx_parser import MDXLogicExtractor
    from .pdf_parser import PDFLogicExtractor

__all__ = [
    "SQLLogicExtractor",
    "PythonLogicExtractor",
    "ExcelLogicExtractor",
    "DAXLogicExtractor",
    "MDXLogicExtractor",
    "PDFLogicExtractor",
]
