1

Is there a library/tool to convert python code into readable go code which needs manual adjustment after conversion.

What I am looking for is a library/tool which can do partial semi-automatic conversion of python code into readable go code. Its totally fine that the converted code will need human corrections/adjustments afterwards.

Have checked grumpy, but its a dead project and the code is not readable after conversion.

1 Answer 1

1

One such tool is pytogo

According to its readme

pytogo is a fast, crude, incomplete Python-to-Go translator meant to assist a human programmer in translating large volumes of Python to idiomatic Go, preserving comments and structure. It does the mechanical things that are easy for software but hard for humans, leaving a human free to concentrate on the hard parts like type annotations.

2
  • If there is no better answer after a few days, please accept your own, as that will help others who read this question in future Feb 28, 2020 at 7:38
  • 1
    @MawgsaysreinstateMonica yes I will
    – Levon
    Mar 2, 2020 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.