stfc / fparser

This project maintains and develops a Fortran parser called fparser2 written purely in Python which supports Fortran 2003 and some Fortran 2008. A legacy parser fparser1 is also available but is not supported. The parsers were originally part of the f2py project by Pearu Peterson.
https://fparser.readthedocs.io
Other
61 stars 29 forks source link

Add support for the 'float' intrinsic #309

Closed arporter closed 2 years ago

arporter commented 2 years ago

'float' is an extension to the Fortran standard but seems to be supported by a range of compilers so we should support it too (if only to map it to 'real').

arporter commented 2 years ago

It turns out this is already supported (https://github.com/stfc/fparser/blob/e0b14f895f70a368ec83acc9adbb6fe17080392e/src/fparser/two/Fortran2003.py#L10192).