lpython icon indicating copy to clipboard operation
lpython copied to clipboard

Fix duplicate read when paring python asr

Open syheliel opened this issue 1 year ago • 1 comments

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.

syheliel avatar Feb 17 '24 14:02 syheliel

What is the status of this PR?

Thirumalai-Shaktivel avatar Mar 05 '24 12:03 Thirumalai-Shaktivel