I wonder if we can use Natural Language Processing (NLP) to process programming code: Given a piece of code, can we
- Translate it to human language to understand what it does? The input could be a function definition(normally lack of documentation) in Python and the output could be the documentation for that function.
- Compile or translate it to another programming language? Compile Python code to C or machine code, or translate C code to Python code?