Compiling FPM with LFortran

GSOC 2025 @Fortran-lang

by Jinang Shah

Week 1 - Creating workarounds and MREs for toml-f compilation

May 16 – May 23, 2025

Welcome to the first blog post of my GSoC 2025 journey! This summer, I’m working with the Fortran-lang organization to compile Fortran Package Manager (FPM) with the LFortran compiler. The project aims to enable full FPM builds using LFortran by resolving parsing, semantic, and compilation issues. FPM has some code dependencies which needs to be compiled with LFortran. The first step is to compile the toml-f library, which is a TOML parser written in Fortran. This week, I focused to compile toml-f with LFortran.

Work done in this week:

I would like to sincerely thank Ondřej Čertík and Pranav Goswami for their continuous guidance and support. Also I would like to thank LFortran team members who fixed some MREs I posted which makes a speedy progress.

Plan for next week: