Week 4: Continuing F2PY's frontend

Published: 07/27/2022

Reimplemeting F2PY's frontend with `argparse`

What did I do this week?

I continued with implementing F2PY's frontend with argparse library. This week I implemented compilation functionality provided by F2PY in the frontend framework. I have written a detailed blog here: https://namamishanker.github.io/posts/argparse-f2py/

It was much more difficult that we expected, mostly because of the fact that we needed to maintain backwards compatibility with numpy's distutils. The full integration is still on the way and should be completed by the mid of the next week.

What will I do the next week?

I will continue to implement compilation functionality in F2PY. The base work has been done this week, but I still need to debug and verify the working of argparse F2PY. 

Did I get stuck anywhere?

I'm glad you asked that. I did get stuck a lot this week. The way f2py2e integrated with numpy.distutils was a bit messy and much more complicated than I earlier expected. Please go through my linked blog if you are interested in the details. But then again, you probably aren't. Just know that it was a bit difficult.