Compiling FPM with LFortran

GSOC 2025 @Fortran-lang

by Jinang Shah

Week 4 - Building toml-f, fortran-shlex completely with LFortran

June 7 – June 13, 2025

Welcome back! This week marked a major step in my GSOC project with the successful full compilation of toml-f, fortran-shlex, and fortran-regex using LFortran with few workarounds. My primary focus was creating targeted MREs and fixing remaining issues related to character handling, struct types, and polymorphic variables in toml-f.

Work done in this week:

This week I worked for around 18–20 hours, primarily focused on eliminating few set of blockers and getting all three core dependencies to compile with few workarounds. We’re now in a good position to shift attention toward compiling MCLI2, jonquil and eventually FPM that depend on these.

Huge thanks to Ondřej Čertík and Pranav Goswami for their constant reviews, guidance, and suggestions throughout this week. Also thanks to all LFortran members who had helped me in my project.

Plan for next week: