What did you do this week?
This week I majorly focused on two things. Lpython does not yet support class methods. So I raised an issue about it and explored ways to implement that. A lot of the modules in my priority list highly use methods, for eg. str builtin functions, decimal, etc.
Other than that, I began with statistics & random modules which require functions implementation rather than methods.
What is coming up next?
After discussion with my mentor, we decided it’ll be best to implement method functions right away, only without the llvm and just with cpython. We can include LLVM after support for methods is successfully implemented. I’ll work on current open PRs and look up ways to introduce methods in the back end.
Did you get stuck anywhere?
Until now I’ve been entirely involved with implementing functions using python, but this week I was faced with a roadblock due to some features missing from the back end. So I decided to give it a go myself. I have however not worked with ASTs as of now, so it's a slow process to understand it all. I’ll soon be able to contribute there too surely.