This prototype uses the MyPy frontend to translate statically-typed Python to C++. The generated code calls a small runtime which implements things like List[T], Dict[K, V], and Python's len().
mycpp/compare_pairs.py 60 mycpp/const_pass.py 532 mycpp/control_flow_pass.py 348 mycpp/cppgen_pass.py 3,084 mycpp/crash.py 38 mycpp/debug_pass.py 465 mycpp/format_strings.py 114 mycpp/ir_pass.py 99 mycpp/mops.py 203 mycpp/mycpp_main.py 401 mycpp/mylib.py 524 mycpp/pass_state.py 446 mycpp/util.py 112 mycpp/visitor.py 242 6,668 lines in 15 files