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 531 mycpp/cppgen_pass.py 3,049 mycpp/crash.py 38 mycpp/debug_pass.py 465 mycpp/format_strings.py 114 mycpp/mops.py 168 mycpp/mycpp_main.py 377 mycpp/mylib.py 515 mycpp/pass_state.py 93 mycpp/util.py 21 5,431 lines in 12 files