Crate spydecy_python

Crate spydecy_python 

Source
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