I have no idea how hard this will be, but MacroPy does not have many dependencies on the underlying runtime except for PEP302 and the ast library. Some of the ASTs look slightly different (e.g.
MacroPy is a flexible and intuitive Python package designed for macroeconometric modeling and forecasting. While it originated with a focus on Bayesian VARs, it has evolved into a broader toolbox ...