Fortran keyword categories

I don’t know if you can cleanly categorize the keywords that way. Most attributes can also be statements. REAL is both an intrinsic type and an intrinsic function. An easy way to build a list is to go through the index of the standard and look for entries in upper case that are followed by “statement”, “specifier”, etc…