{"slug": "fortran-interpreter-and-repl-in-fortran", "title": "Fortran interpreter and REPL in Fortran", "summary": "A developer built an interpreter and REPL for modern Fortran written in Fortran itself, using Claude Opus 5.5, and published it as the open-source sfort project on GitHub. The FPM package compiles with gfortran 16 in about 30 seconds on the developer's PC and covers a subset of the language documented in a feature-status file, analogous to the ofort Fortran interpreter written in C. The developer plans to expand language coverage and add the ability to create executables using C as an intermediate language.", "body_md": "Using Claude Opus 5.5 I have written a Fortran interpreter and REPL in Fortran that covers [some of modern Fortran](https://github.com/Beliavsky/sfort/blob/main/docs/feature-status.md). It is an FPM package that compiles with gfortran 16 in about 30s on my PC. It is analogous to the [ofort](https://github.com/beliavsky/ofort) Fortran intepreter written in C. I plan to cover more of the language and add the ability to create executables using C as an intermediate language.", "url": "https://wpnews.pro/news/fortran-interpreter-and-repl-in-fortran", "canonical_source": "https://fortran-lang.discourse.group/t/fortran-interpreter-and-repl-in-fortran/11350#post_1", "published_at": "2026-12-02 14:21:33+00:00", "updated_at": "2026-12-02 14:46:01.277617+00:00", "lang": "en", "topics": ["artificial-intelligence", "developer-tools", "large-language-models"], "entities": ["Claude Opus 5.5", "sfort", "ofort", "gfortran 16", "Fortran", "GitHub", "Anthropic"], "also_reported_by": [], "takeaway": "Claude Opus 5.5 was used to write sfort, a Fortran interpreter and REPL in Fortran that ships as an FPM package compiling with gfortran 16 in about 30 seconds.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/fortran-interpreter-and-repl-in-fortran", "markdown": "https://wpnews.pro/news/fortran-interpreter-and-repl-in-fortran.md", "text": "https://wpnews.pro/news/fortran-interpreter-and-repl-in-fortran.txt", "jsonld": "https://wpnews.pro/news/fortran-interpreter-and-repl-in-fortran.jsonld"}}