# Fortran interpreter and REPL in Fortran

**URL:** <https://fortran-lang.discourse.group/t/fortran-interpreter-and-repl-in-fortran/11350>\
**Category:** Uncategorized\
**Created:** [December 2, 2026, 2:21pm UTC](https://fortran-lang.discourse.group/t/fortran-interpreter-and-repl-in-fortran/11350 "2026-12-02T14:21:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beliavsky](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@Beliavsky](https://fortran-lang.discourse.group/u/Beliavsky)\
**Post date:** [December 2, 2026, 2:21pm UTC](https://fortran-lang.discourse.group/t/fortran-interpreter-and-repl-in-fortran/11350/1 "2026-12-02T14:21:33Z")

</div>

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.

> **[GitHub - Beliavsky/sfort: Fortran interpreter written in Fortran](https://github.com/Beliavsky/sfort)**
>
> Fortran interpreter written in Fortran
