NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Press Enter or click the Search button to begin your search.

Back to Results
A Semantic Analysis Method for Scientific and Engineering CodeThis paper develops a procedure to statically analyze aspects of the meaning or semantics of scientific and engineering code. The analysis involves adding semantic declarations to a user's code and parsing this semantic knowledge with the original code using multiple expert parsers. These semantic parsers are designed to recognize formulae in different disciplines including physical and mathematical formulae and geometrical position in a numerical scheme. In practice, a user would submit code with semantic declarations of primitive variables to the analysis procedure, and its semantic parsers would automatically recognize and document some static, semantic concepts and locate some program semantic errors. A prototype implementation of this analysis procedure is demonstrated. Further, the relationship between the fundamental algebraic manipulations of equations and the parsing of expressions is explained. This ability to locate some semantic errors and document semantic concepts in scientific and engineering code should reduce the time, risk, and effort of developing and using these codes.
Document ID
19980185793
Acquisition Source
Legacy CDMS
Document Type
Contractor Report (CR)
Authors
Stewart, Mark E. M.
(NYMA, Inc. Brook Park, OH United States)
Date Acquired
September 6, 2013
Publication Date
April 1, 1998
Subject Category
Mathematical And Computer Sciences (General)
Report/Patent Number
E-11149
NAS 1.26:207402
NASA/CR-1998-207402
Report Number: E-11149
Report Number: NAS 1.26:207402
Report Number: NASA/CR-1998-207402
Funding Number(s)
PROJECT: RTOP 509-10-11
CONTRACT_GRANT: NAS3-27816
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
No Preview Available