[J3] [SC22WG5.6413] Fortran 202Y Suggestions
Robert Corbett
rpcorbett at att.net
Sat Jul 23 00:59:38 UTC 2022
No. It means that the code has not kept up with new developments in Fortran. The Fortran preprocessor is not purely text-based. It needs to understand Fortran to avoid mistakes such as reading beyond column 72 when preprocessing fixed source form code.
Bob Corbett
> On Jul 22, 2022, at 5:24 PM, Jeff Hammond via J3 <j3 at mailman.j3-fortran.org> wrote:
>
>
>
>>
>> Is a cpp-like preprocessor really needed if we do generics right?
>>
>> If we do generics, and then add macros (which are complementary, not exclusive -- there are things that each can do that the other can't), would a cpp-like preprocessor provide any additional utility?
>
> Many uses of the preprocessor, including 100% of mine, are not covered by generics. However, since most of my uses are related to non-portable code issues, one may argue that a technically non-portable solution like the cpp/fpp everyone supports, is just fine.
>
> Jeff
More information about the J3
mailing list