xpile 0.1.615

Polyglot transpile workbench (Python/C/C++/Rust/Ruchy/Lean ↔ Rust/Ruchy/PTX/WGSL/SPIR-V) with provable contracts at every layer.
1
2
3
4
5
6
7
8
9
10
def is_up(s: str) -> bool:
    return s.isupper()


def is_low(s: str) -> bool:
    return s.islower()


def is_an(s: str) -> bool:
    return s.isalnum()