KEYWORDS = {
    "لو": "if",
    "غيرذلك": "else",
    "اطبع": "print",
}

def translate(text):
    for ar, en in KEYWORDS.items():
        text = text.replace(ar, en)
    return text

def run(path):
    with open(path, "r", encoding="utf-8") as f:
        code = f.read()
    py_code = translate(code)
    exec(py_code)
