I asked ChatGPT to translate some simple but typical data transformation code from R4ds into several other syntaxes/languages (R, python, SAS, Stata), and it seems to have done a good job! (The SAS solution typifies why I hate working in SAS.)