Next: Machine Model, Previous: Simplify Porting, Up: Projects
These extensions are not the sort of things users ask for “by name”, but they might improve the usability of g77, and Fortran in general, in the long run. Some of these items really pertain to improving g77 internals so that some popular extensions can be more easily supported.
NUMERIC type to designate typeless numeric constants,
named and unnamed.
The idea is to provide a forward-looking, effective
replacement for things like the old-style PARAMETER statement
when people
really need typelessness in a maintainable, portable, clearly documented
way.
Maybe TYPELESS would include CHARACTER, POINTER,
and whatever else might come along.
(This is not really a call for polymorphism per se, just
an ability to express limited, syntactic polymorphism.)
libg2c issue.)
UNIT= in the first example is invalid.
Make sure this is what users of this feature would expect.
STRUCTURE, UNION, MAP, and RECORD
fully.
Currently there is no support at all
for %FILL in STRUCTURE and related syntax,
whereas the rest of the
stuff has at least some parsing support.
This requires either major
changes to libg2c or its replacement.
INTERFACE and END INTERFACE, and their contained
procedure interface bodies (blocks?).
ENTRY doesn't support F90 RESULT() yet,
since that was added after S8.112.
OPENed,is positioned at the beginning, the end, or wherever—it
might be nice to offer an option of opening to “undefined” status, requiring
an explicit absolute-positioning operation to be performed before any
other (besides CLOSE) to assist in making applications port to systems
(some IBM?) that OPEN to the end of a file or some such thing.