Using Claude Opus 5.5 I have written a Fortran interpreter and REPL in Fortran that covers some of modern Fortran. It is an FPM package that compiles with gfortran 16 in about 30s on my PC. It is analogous to the 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.
Fortran interpreter and REPL in Fortran
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.
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.
Run your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.