A client needs to convert some SAS code to Python and the engagement lead has asked me if it was possible to do this automatically. I found some tools that purport to do this but I am very skeptical of any tool which claims to automatically convert from one programming language to another, let alone something as domain specific as SAS.
I have not seen the source code we need to convert yet but my guess is that these tools will do some simplistic keyword conversions but any moderately complex logic will require so much tweaking as to make it easier to just re-write from scratch manually. Seems to me to be a rabbit hole we want to avoid.
Any thoughts? How realistic is doing any kind of automatic code conversion even as an "accelerator" for manual work?
question from:https://stackoverflow.com/questions/65943845/automatically-convert-sas-code-to-python