This was a fun week again. My mentor Ondrej attended the SciPy conference and also presented LPython in his talk. At the start of the week, he asked me about the status of REPL and Jupyter Notebook support for LPython. We have good, usable, but not feature complete REPL, but we have no Jupyter Notebook support was my reply. Within 2 to 3 days, I added support for Jupyter Notebook by adapting the code from LFortran’s repository (LFortran already supports Jupyter Notebooks), and fixed bugs related to the failing CI caused by updating the dependencies versions.
Merged Pull Request
- Jupyter Notebook
 Support to use LPython in Jupyter Notebooks, and fix for the CI failures.
- Support to print lists in REPL
 Adds support to print top-level expression oflisttype.
- Underscore: _variable in REPL
 This PR introduces the_(underscore) variable in LPython’s REPL (like in CPython’s REPL). The_variable holds the value of the last evaluated expression from the previous REPL block.
Open Pull Request
- CI tests for LLVM 10, 14, 15 and 16
 The CI fails for LLVM version 14 only, and I am not able to reproduce the bug locally.
Issue Created
- Bug with bit_lengthfunction
 I added a comment in an existing issue concerning thebit_lengthfunction. The comment is specific to interactive mode, where no LLVM IR is generated.
This week I will be working on support to print other aggregate datatypes in interactive mode. I will also look into the failing CI of LLVM 14.