Ejemplo n.º 1
0
"""
Visualize metadsl objects with graphviz
"""

from metadsl import export_from

from .typez import *
from .visualize import *

__version__ = "0.4.0"

export_from(__name__, "typez", "visualize")
Ejemplo n.º 2
0
"""
LLVM support.
"""

__version__ = "0.3.0"

from metadsl import export_from

from .ctypes import *
from .integration import *
from .ir import *
from .ir_context import *
from .ir_llvmlite import *
from .llvmlite_binding import *
from .strategies import *

export_from(
    __name__,
    "ctypes",
    "integration",
    "ir_llvmlite",
    "ir",
    "llvmlite_binding",
    "ir_context",
    "strategies",
)
Ejemplo n.º 3
0
"""
Rewrite rules for metadsl expressions
"""

from metadsl import export_from

from .normalize import *  # type: ignore
from .rules import *  # type: ignore
from .strategies import *  # type: ignore
from .combinators import *  # type: ignore

strategy = StrategyNormalize()
execute = Executor(strategy)
register = Registrator(strategy)

export_from(
    __name__,
    "normalize",
    "rules",
    "strategies",
    "combinators",
    local=["execute", "register"],
)

__version__ = "0.1.0"
Ejemplo n.º 4
0
`manager.saving_chunk(i)` -> `manager[i]`


NO WAIT. I can't generate all these... I must generate ast :(




"""

__version__ = "0.0.0"

from metadsl import export_from

from .bool_compat import *
from .boxing import *
from .function_compat import *
from .injest import *
from .int_compat import *
from .tuple_compat import *

export_from(
    __name__,
    "injest",
    "boxing",
    "bool_compat",
    "int_compat",
    "tuple_compat",
    "function_compat",
)
Ejemplo n.º 5
0
"""

from metadsl import export_from

from .abstraction import *
from .boolean import *
from .conversion import *
from .either import *
from .function import *
from .integer import *
from .maybe import *
from .pair import *
from .strategies import *
from .vec import *

export_from(
    __name__,
    "abstraction",
    "boolean",
    "conversion",
    "either",
    "function",
    "integer",
    "maybe",
    "pair",
    "strategies",
    "vec",
)

__version__ = "0.4.0"