Akuli / jou

Yet another programming language
MIT License
11 stars 4 forks source link

Compile time if #388

Closed Akuli closed 9 months ago

Akuli commented 1 year ago

Fixes #385

Akuli commented 9 months ago

This cause compiler leak memory will need debug

if WINDOWS:
    def foo() -> bool:
        return True
else:
    def foo() -> bool:
        return False

def main() -> int:
    return 0