#python #aleph #transpiler

app aleph2py

Transpiler Aleph to python

1 unstable release

0.1.2 May 24, 2026

#985 in Programming languages

Custom license

11KB

aleph2py

Standalone transpiler from Aleph to Python. Reads Aleph source from stdin, writes Python to stdout.

Prerequisites

  • Rust installed on your system

Build & run

cargo build --release
echo "3 + 4" | ./target/release/aleph2py

Output:

3 + 4

Pipeline

stdin → aleparser → constantfolding → pythongen → stdout
  • aleparser — Aleph parser
  • pythongen — Python code generator
  • alephc — full compiler with multiple input/output targets

Dependencies

~3.5–7MB
~130K SLoC