JSON Compilation Database Format Specification¶| clang.llvm.org
Directed recollections of the GSoC21 timeline Background If the last ten weeks of weekly posts have not made it clear; as a student developer in the Google Summer of Code in the year 2021; I was privileged to work on the LFortran compiler alongside Gagandeep Singh and Thirumalai Shaktivel under the fantastic mentorship of Ondřej Čertík under the Fortran-Lang organization. Pencil Pushing This section describes the overall work done in a manner designed to delight minds enamoured by brevity ...| rgoswami.me
The road to accurate elementary intrinsic functions is paved with IEEE/ISO standards Background Serialized update for the 2021 Google Summer of Code under the fortran-lang organization, mentored by Ondrej Certik. Logistics Met with Ondrej daily from Sunday till Friday On Sunday we finished the compile time evaluation design (partially) Ondrej finished the rest overnight On Monday, we started co working on runtime implemenations Also added some more compile time stuff and pointers to clean thi...| rgoswami.me
Continuing compile time intrinsic functions, ASR passes, and testing LAPACK Background Serialized update for the 2021 Google Summer of Code under the fortran-lang organization, mentored by Ondrej Certik. Logistics Daily checkins over Zulip Code reviews on Gitlab Met with Ondrej and Thirumalai on Thursday Discussed comments and how to attach them Decided that it would make sense to possibly store the comments in the ASR to make sure that the comments are attached to the right nodes We discusse...| rgoswami.me
Language standardese and implementations Background Serialized update for the 2021 Google Summer of Code under the fortran-lang organization, mentored by Ondrej Certik. Logistics Discussed more refactors over MRs and Zulip Overview Intrinsic functions and more bug hunting. A lot of starts in different directions, but I will need to trim these down a bit. A major goal was working through the compile time evaluation of some intrinsic functions. New Merge Requests Split ast_to_asr An MR started ...| rgoswami.me
Revisiting minidftatom and a birds eye view of lfortran Background Serialized update for the 2021 Google Summer of Code under the fortran-lang organization, mentored by Ondrej Certik. Logistics Met with Ondrej on Tuesday Went over the debugging workflow Discussed the design of the SymbolTableVisitor and BodyVisitor Fixed a symbol scoping bug and discussed implementing value for kind Kept in touch asynchrously over Zulip and MRs Overview This week focused on implementing features and cleaning ...| rgoswami.me
Enriching ASR nodes at compile time Background Serialized update for the 2021 Google Summer of Code under the fortran-lang organization, mentored by Ondrej Certik. Logistics Met with Ondrej on Monday and Wednesday Discussed the design choices w.r.t. class hierarchies (and the lack thereof) Overview Note that the title is rather misleading, this post has nothing to do with the values of the LFortran project (which are by the way, fantastic), but instead is about adding more detail to the ASR n...| rgoswami.me
Project scaffolding and compiler design Background Serialized update for the 2021 Google Summer of Code under the fortran-lang organization, mentored by Ondrej Certik. Logistics Met with Ondrej on Tuesday, Wednesday and Thursday Discussed the AST, ASR and backends in more detail Zeroed in on several alternate designs implementations of intrinsic functions We have prototype calls for the two kinds of compile evaluation My sin implementation (pre-GSoC21) is pretty unwieldy and a cleaner method ...| rgoswami.me
Towards the mid-summer evaluation and redirecting efforts Background Serialized update for the 2021 Google Summer of Code under the fortran-lang organization, mentored by Ondrej Certik. Overview This week was a bit of a sticky wicket. My unfamiliarity with the LLVM backend and its internals caught up with me just around the same time I ran into several fixture and rent related idiosyncrasies which led to yet another shift in my weekly meeting.| rgoswami.me
Standard practice pragmatic approaches to kind for dftatom Background Serialized update for the 2021 Google Summer of Code under the fortran-lang organization, mentored by Ondrej Certik. Logistics Met with Ondrej on Tuesday Went over my kind implementation Merged older approved MRs Worked on generating tests Talked about the test methodology in general Most of the tests are better off in their integration form (discussed below) Some aspects of the passes may be tested using the doctest setup ...| rgoswami.me
Charting paths towards concrete lfortran usage Background As mentioned in an earlier post, I have had the immense pleasure of continuing development of the disruptive lfortran compiler under the aegis of the Fortran Lang organization, financed by the Google Summer of Code and mentored ably by Ondrej Certik. A rather interesting consequence of this is that we are strongly encouraged to write a precis of our activities each week. This is mine, given that the clock starting winding down (full ti...| rgoswami.me