SourceProcessing

log

age author description
6 weeks hcm Updated fortFile methods and unit tests. The comment tests work correctly when internal comments are preserved.default tip
7 weeks m_utkej do not hoist integer expressions from I/O statements
7 weeks m_utkej add shape intrinsic
7 weeks hcm added complete parsing for a number unparsed statements in fortStmts.py. Added error checking for subexpressions of rawlines being lost during processing. Updated unit tests to reflect the changes.
2 months hcm rawline errors fixed for interface function to subroutine processing and transformFile
2 months lyonsam branch merge
2 months lyonsam link to bug report for a failing unit test
2 months lyonsam link to bug report for some failing unit tests
2 months hcm Added setter functions for changes to sons/attributes within fortStmts classes. Statement rawlines are now updated only if there is a change. There are still some whitespace discrepancies to be dealt with as a result of the original rawline being slightly modified during parsing in some cases
2 months lyonsam added parsing of exit stateents (NOTE: since it's so similar to cycle and end do, the logic for these should be abstracted in the future)
2 months lyonsam linked a failing example to the bug report
2 months lyonsam (failing) unit tests for a certain kind of rewind statement
2 months lyonsam branch merge
2 months lyonsam updates to some unit tests
2 months hcm removed extraneous myscan file and moved Scanner import to fortScan
2 months hcm created common argument replacement functions in util module
2 months hcm unit test reference output updated to slight whitespace changes from flow calls now being made as a result of statement function expansions
2 months hcm Expansion of statement functions added to canonicalization
2 months hcm subroutine creation in interface blocks and functions are no longer modified when subroutines are created
2 months hcm fixed subroutine creation issue
2 months hcm cleaned up canonicalizeUnit somewhat
3 months lyonsam now recursively transforming subunits in transformFile
3 months lyonsam now only printing active variables for units that are not functions or subroutines
3 months hcm fixed output directory issue for --separateOutput option when no directory is specified
3 months hcm modify rawlines of IOStmts during canonicalization only if they are modified
3 months hcm fixed issue with scanning causing errors in unit tests
3 months hcm fixed issue with hoisting functions calls from Unary expressions and updated unit test reference output
3 months hcm updated preprocessor reference files for unit tests. (added "use OAD_intrinsics" declarations)
3 months m_utkej follow up fix for http://mercurial.mcs.anl.gov/ad/SourceProcessing/rev/1a5f7df6c41e
3 months m_utkej branch merge
3 months m_utkej make intrinsic subroutinization aware of default type settings
3 months hcm modified canonicalization to hoist function calls from IO statements
3 months lyonsam made lbound an intrinsic (and added type info for lbound and ubound)
3 months m_utkej typo
3 months m_utkej more details in errors
3 months m_utkej branch merge
3 months m_utkej branch merge
3 months m_utkej allow for unnamed interfaces
3 months m_utkej make symbol table entries for interfaces, module procedures and collect type information about the specific implementations of generic module procedures so that in case of generic functions we can determine what the expression type will be by using some very basic resolution algorithm and then the function to subroutine conversion can create temporaries of the correct type. this is supposed to address http://trac.mcs.anl.gov/projects/openAD/ticket/188
3 months m_utkej was missing the line number
3 months hcm avoid duplicated private statements in function2subroutine transformations
3 months hcm fixed public statement issue with duplicated declarations
3 months lyonsam branch merge
3 months lyonsam some new intrinsics: dot_product and transfer
3 months m_utkej branch merge
3 months m_utkej follow on change needed after http://mercurial.mcs.anl.gov/ad/SourceProcessin/rev/ed173da6b09f - cannot have CONTAINS when nothing is defined. still need the empty module though
3 months hcm outputFormat was not being set when both separateOutput and outputFormat were specified as flags
3 months m_utkej change the way the subroutinized intrinsics are generated. move them to a module and add the implementations selectively (works only if we don't dumpt stdout because we don't want to make 2 passes to first find out what intrinsics we need AND the intrinsics module must precede the rest).
3 months hcm fixed issue with output format not being reset for every file with separateOutput option
3 months hcm fixed output format printing for separateOutput option and active variables file
3 months hcm typo in equivalence stmt parsing
3 months hcm equivalence statement parsed
3 months m_utkej branch merge
3 months m_utkej rephrase text
3 months hcm added a unit test to fortFile and modified the str(), readlines() & iterlines() functions somewhat
3 months hcm added complete parsing of rewind statements
3 months hcm Backed out changeset c03319f01ded
3 months hcm added rewind statement parsing
3 months hcm updated internal comment parsing
3 months hcm updated unit tests