Expand description
Python transpiler - converts Python AST to Spydecy HIR
This module uses PyO3 to parse Python code into AST, then converts it to Spydecy’s Unified HIR for cross-layer optimization.
§Sprint 2 Deliverables
- Python AST parser (PyO3)
- Type hint extraction
- Python → HIR conversion
- First debugger feature:
spydecy debug visualize python-ast
Modules§
- hir_
converter - Python AST to HIR converter
- parser
- Python AST parser using PyO3
- type_
extractor - Type hint extraction from Python AST
Functions§
- parse_
python - Parse Python source code into HIR