You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the preprocess step of the tree-sitter to CAST handling, we use GCC to remove includes and other directives from Fortran files before passing them to the tree-sitter generator. A special set of command-line arguments is used for this.
On Mac OS, the default compiler is CLang, which potentially has a different set of command-line arguments to do the pre-processing correctly.
We need to determine, if possible, what the command-line arguments are for Clang and update the preprocess step in skema/program_analysis/CAST/fortran/preprocessor/preprocess.py
to support Mac OS and clang.
The text was updated successfully, but these errors were encountered:
## Summary of Changes
- Adds CAST generation for Fortran Unconditional GO TO
- Updates Matlab generation to use CASTLiteralValue
- Adds easy_multi_file_ingester frontend to generate system Gromet
without needing a system_filepaths file
- Adds a preprocessor to python2cast which converts Python 2 source code
to Python 3
- Adds support for additional Fortran compilers
- Updated CAST Version to v1.2.6. Updates LiteralValue to
CASTLiteralValue. All instances of this have been updated.
- Updates GroMEt version to 0.1.9. This version adds `FunctionType.GOTO`
and `FunctionType.Label` enums to support Gromet generation for Gotos
and Labels.
- Adds Annotated CAST (AnnCAST) support for Goto and Label.
- Adds Gromet generation for Basic Gotos
- Adds Gromet generation for Labels.
## Tests and Bug Fixes
- Fixes a bug where the working directory can change if a Gromet pass
fails
- Fixes bug in fortran2cast where printing to stdout would fail
- Fixes a small wiring bug with conditionals.
- Adds unit tests for simple Goto/Label examples.
- Adds a `utils_test.py` script that provides an interface to reading in
Fortran files for testing.
- Updates test_object_count unit test with accurate values
### Related issues
Resolves#712Resolves#744Resolves#750Resolves#760Resolves#769Resolves#752Resolves#772
---------
Co-authored-by: Tito Ferra <[email protected]> 4f8bf6b
In the preprocess step of the tree-sitter to CAST handling, we use GCC to remove includes and other directives from Fortran files before passing them to the tree-sitter generator. A special set of command-line arguments is used for this.
On Mac OS, the default compiler is CLang, which potentially has a different set of command-line arguments to do the pre-processing correctly.
We need to determine, if possible, what the command-line arguments are for Clang and update the preprocess step in
skema/program_analysis/CAST/fortran/preprocessor/preprocess.py
to support Mac OS and clang.
The text was updated successfully, but these errors were encountered: