Fortran monthly newsletter, September 2021

https://fortran-lang.org/newsletter/2021/09/01/Fortran-Newsletter-September-2021/

4 Likes

Concerning Flang, what means exactly “flang-new (aka. the new driver) now drives the flang bash script before an external compiler is called” ? What does that flang bash script ?

2 Likes

As of right now, Flang doesn’t have a driver that does full code generation yet. What we have is a driver that handles parsing and semantic checking, while the rest is still in the works. The flang bash script calls this driver to parse the Fortran files, then the script tells the driver to unparse them back to Fortran, and finally it calls an external Fortran compiler (gfortran by default) on those unparsed files. It’s a way of checking that what we’re doing is correct so far, until we can finish the code generation pieces.

8 Likes

Welcome @Alexis!

1 Like