Compiling FPM with LFortran

GSOC 2025 @Fortran-lang

by Jinang Shah

Week 3 - Steady progress on compiling dependencies

May 31 – June 6, 2025

Welcome back! This week marked another important milestone in our ongoing effort to compile the full FPM stack using LFortran. I focused on resolving several compatibility and compilation issues within toml-f, . These fixes mostly handles how our asr_to_llvm handlles polymorphic variables. In parallel, I expanded the scope of testing and debugging to include additional libraries that are part of the FPM dependency, ensuring broader compatibility and a speedy compilation.

Work done in this week:

Overall, I logged about 20 hours this week. The successful compilation of fortran-shlex and fortran-regex is set up at CI, and work is progressing steadily on both toml-f and fortran-shlex. Each fix brings us one step closer to get it completely compiled.

Many thanks to Ondřej Čertík and Pranav Goswami for continued mentorship, reviews, and feedback. Thanks to all LFortran members for continuously helping out.

Plan for next week: