GSoC Weekly Report

Week 4 | Swaminath Shiju | LPython

15 June to 22 June

Weekly Agenda

This was mostly spent refactoring the backend code and improving the test coverage for the new types.

Achievements

Code Samples

This week's work didn't introduce a ton of new syntax changes other than taking the new types out of the type intrinsic.


program lp_test

    _lfortran_list(integer)                                 :: test_list 
    _lfortran_dict(integer, real)                           :: test_dict
    _lfortran_set(integer)                                  :: test_set
    _lfortran_tuple(integer, _lfortran_tuple(integer))      :: test_tuple

end program
            

Pull Requests

Goals for next week

A main goal for next week is implementing Union types into LFortran frontend so that we can extensively test it. This would go hand in hand with the introduction on python types and help us make sync significantly easier.