-
Notifications
You must be signed in to change notification settings - Fork 2
FORTRAN Support
Anjia Wang edited this page Feb 25, 2019
·
1 revision
FORTRAN is not case sensitive, while C/C++ is. We could make ompparser to ignore the letter case for all the terms. Or we could assume the vendor compiler will handle it and only feed the terms in lower case.
FORTRAN has extra paired END construct for some directives such as PARALLEL. If a single END pragma is coming to ompparser, it can't tell anything but the kind of paired directive. The matching work has to be done in the vendor compiler as part of the connector.
For example, in ROSE it records all the original FORTRAN OpenMP comments and generates a list of OmpAttribute objects. Then it goes through the list and determines the correct pairs.
PassLab making OpenMP Ubiquitous Parser possible!