mirror of
https://github.com/RGBCube/DML
synced 2025-07-27 23:57:44 +00:00
12 lines
222 B
Python
12 lines
222 B
Python
from .encoder import decode
|
|
from .fileutils import decode_file
|
|
|
|
__all__ = ("run_file", "run")
|
|
|
|
|
|
def run(dml: str) -> None:
|
|
exec("".join(decode(dml)))
|
|
|
|
|
|
def run_file(fp: str) -> None:
|
|
exec("".join(decode_file(fp)))
|