This week I did not get any work done due to exams held at my university.
Get link
Facebook
X
Pinterest
Email
Other Apps
Comments
Popular posts from this blog
2022-06-18-progress report 1 This week I forked the LFortran repository and compiled it to generate some AST and ASR to inspect how they are generated. I also managed to take a look at the previous implementation of generics, a Merge Request made by Ondřej Čertík ( https://gitlab.com/lfortran/lfortran/-/merge_requests/1664 ). I will try to complete this Merge Request to get generics syntax working in LFortran as my first task. Due to exams in my school, I couldn't get much work done this first week. I will be done with them in a few weeks time, until when my output will be lower than my actual capabilities.
GSOC 2022 - LFortran - Implementing Generics Final report - Oshanath Rajawasam Mentors : Ondřej Čertík, Gagandeep Singh Overview This project was about implementing generics for LFortran. This project was implemented parallelly to the same project on LPython, so a lot of the same code is reused. The LPython counterpart was developed by Luthfan Lubis and it has progressed further than this project. Reason for the Project Functions and subroutines in Fortran have specific parameter types and return types associated with them. Since LFortran, at its core, is the same as Fortran, this is also the case for LFortran. This can be problematic when the application demands template-like structures. For example, when implementing a function to add 2 numbers, with current tools available, we would have to implement the same function for all data types it is intended to be used. But with templates, we can define the function once, and use it with any data type we w...
2022-07-01-progress report 3 This week I met with Ondrej Certik online because the project was too complex for me to start working on directly. He showed me how to fix the parser to parse template syntax and he himself fixed it and created a merge request ( https://gitlab.com/lfortran/lfortran/-/merge_requests/1803/ ) which is the long running generics branch. This week I will be working on the conversion between AST and ASR and try to generate the ASR from the template AST.
Comments
Post a Comment