ml4ai / skema

SKEMA: Scientific Knowledge Extraction and Model Analysis
https://ml4ai.github.io/skema/
Other
10 stars 4 forks source link

[python] Create pre-preprocessor script to identify unsupported idioms #195

Open cl4yton opened 1 year ago

cl4yton commented 1 year ago

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:

myedibleenso commented 1 year ago

Update: we won't touch this on the Python side until @vincentraymond-ua has done the same for Fortran