Open syheliel opened 7 months ago
fix issue #2475. I create parse_python_source to accept source code literal input to avoid additional file read.
parse_python_source
Note that there are still mutiple codes sharing the similar logic, like https://github.com/lcompilers/lpython/blob/main/src/bin/lpython.cpp#L254 . If this modification is accepted, I will fix them in this PR later.
What is the status of this PR?
fix issue #2475. I create
parse_python_source
to accept source code literal input to avoid additional file read.Note that there are still mutiple codes sharing the similar logic, like https://github.com/lcompilers/lpython/blob/main/src/bin/lpython.cpp#L254 . If this modification is accepted, I will fix them in this PR later.