Tell them that you can't do it.<p>The project you describe is complicated. SAS is not a simple language. For example, how do you plan to map GOTO into Python? <a href="https://support.sas.com/documentation/cdl/en/imlug/64248/HTML/default/viewer.htm#imlug_langref_sect126.htm" rel="nofollow">https://support.sas.com/documentation/cdl/en/imlug/64248/HTM...</a> .<p>Here's part of a resume of someone who wrote a SAS parser as part of a job. Between 2013 and 2016:<p>> Wrote a SAS parser (C++/ANTLR). SAS is a 70s language not at all written in conformance with modern computer language practices. Among its many ‘challenges’, the worst is that keywords can also be used as variable names (thus you can define variables IF, ELSE, THEN and have a legal SAS statement like “IF ELSE=IF THEN IF=ELSE ELSE THEN=IF;”) So standard compiler theory / a classical lex/yacc approach won’t work because lex/yacc assumes that reserved words aren’t used as variable/function names. I wrote a parser that successfully builds an Abstract Syntax Tree (from which symbol tables and more can be extracted). Successfully tested against a test bed of 180 representative SAS programs taken from industry production environments.<p>Note that it took several years!<p>Your client has 10,000+ SAS programs. They likely exercise a lot of odd corners of the language. They'll want some strong assurances that the conversion is done correctly, as this is business logic.<p>Based on the way you asked the question, I'm certain that this is not something you can easily take on. You don't seem to know much about language parsers or enough about the SAS language.<p>Instead, pay someone to do it who already has those skills. Looking around (and with absolutely no knowledge or experience in the topic) I found <a href="https://dullesresearch.com/" rel="nofollow">https://dullesresearch.com/</a> which says:<p>> Automatically Convert SAS to Python and Java Instantaneous, 100% accurate.<p>> Migrate off of SAS to Open Source / Avoid manual rewriting of code / Eliminate human errors<p>There are almost certainly others.<p>So my suggestion to help automate such an effort is to pay someone else to do it for you.<p>Find out how much they charge, what their guarantee is. Then figure out what your client wants. See if they are compatible. If so, charge your client +15% for overhead, you work with the other organization, and you're done.