Create script to be run over python source text file (before Python ast walking) that identifies (by regex) python idioms that are not yet supported. Only consider the source code, ignore comments. This could help drive unit test dev.
Builds off of same strategy as for Fortran script.
Bookkeeping:
record the type (tree-sitter vs. idiom)
idiom name (e.g., coarray),
instance file/line number
Two types of patterns:
[eventually, once using tree-sitter] due to lack of tree-sitter Python parser support
Python language idioms we don't yet support; if they're hard to specify by simple regex, then don't bother.
Create script to be run over python source text file (before Python ast walking) that identifies (by regex) python idioms that are not yet supported. Only consider the source code, ignore comments. This could help drive unit test dev.
Builds off of same strategy as for Fortran script.
Bookkeeping:
Two types of patterns: