views:

48

answers:

2

Can anyone recommend a nice Fortran code beautifier?

f90pp/f90ppr works but is a bit dodgy and lacks the formatting options of C/C++ beautifiers like astyle.

A: 

I never use that sort of stuff, but in my travels I've come a few times upon tidy. Check it out, see if it does you any good.

ldigas
A: 

I write Fortran every day, but this is the first time it's occurred to me to expect the code to look beautiful :-) I use Emacs and the default settings for the fortran90 mode produces source files which look fine to my eye. I generally make keywords upper-case.

High Performance Mark