Week 4 - Progress Report

akshansh
Published: 07/09/2022

Tasks Accomplished This Week

Issues Raised

  1. [Parser] `Tokenizer Error` on list comprehension example · Issue #752 · lcompilers/lpython (github.com) [OPEN]

Issues Closed/Partially Completed

  1. [New] Parse raw, byte and formatted strings · Issue #512 · lcompilers/lpython (github.com) [OPEN]
  2. TODO: Extract type hints from the comments · Issue #485 · lcompilers/lpython (github.com) [OPEN]

PRs

  1. [Parser] Parse raw strings by akshanshbhatt · Pull Request #734 · lcompilers/lpython (github.com) [OPEN]
  2. [Parser] Parse indexing operations on attributes by akshanshbhatt · Pull Request #751 · lcompilers/lpython (github.com) [OPEN]
  3. [Parser] Parse `type-comments` in `for-loops` by akshanshbhatt · Pull Request #724 · lcompilers/lpython (github.com) [OPEN]

Problems Faced This Week

  • I didn't face any major problems this week.

Plans For Upcoming Week

  • Most of the major AST nodes are implemented now. I plan to rigorously test the new parser to its limit by parsing python files from some of the major Python projects' repos such as SymPy and NumPy.
  • Comparing the AST generated by the new parser from that of the existing parser would let us know the changes to be made in the current parser generator file.