1
Fork 0
mirror of https://github.com/RGBCube/DML synced 2025-07-28 16:17:46 +00:00

Initial Commit

This commit is contained in:
RGBCube 2022-03-19 22:15:26 +03:00 committed by GitHub
parent 66739939c2
commit 1e815a2dc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 243 additions and 1 deletions

12
dml/run.py Normal file
View file

@ -0,0 +1,12 @@
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)))