(j3.2006) Units of measurement in Fortran

Rasmussen, Craig E rasmussn
Thu Apr 21 15:15:59 UTC 2011


I'm hoping to get a proposal funded that will allow users to add units to Fortran via compiler directives like OpenMP.  We now have the compiler infrastructure in place with our Open Fortran Parser (OFP) and ROSE to build a tools that would ensure that units are maintained in the program.

I don't really see a need to add units to the language (Van may disagree) because units can be checked with static analysis tools and have not effect on runtime behavior of a program.  To me, compiler directives is the correct approach.

-craig

On Apr 20, 2011, at 11:06 PM, Keith Bierman wrote:


On Wed, Apr 20, 2011 at 12:21 AM, Van Snyder <van.snyder at jpl.nasa.gov<mailto:van.snyder at jpl.nasa.gov>> wrote:
I was an official reviewer for DoD-1, which became Ada.  I tried in about 1981-1983 to convince DoD to include units in Strawman, then in Woodenman, then in Tinman, then in Steelman, then in Red, Green, Yellow, and Blue, then in Ada when it finally had a name.  Colonel Whittaker said "Huh?"...

http://labs.oracle.com/projects/plrg/faq/index.html

But it's obviously not Fortran.next




_______________________________________________
J3 mailing list
J3 at j3-fortran.org<mailto:J3 at j3-fortran.org>
http://j3-fortran.org/mailman/listinfo/j3





More information about the J3 mailing list