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.
DJDT

Versions

Time

Settings from gsoc.settings

Headers

Request

SQL queries from 1 connection

Static files (2312 found, 3 used)

Templates (11 rendered)

Cache calls from 1 backend

Signals

Log messages