Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[code2FN] Label Generation in Gromet #752

Closed
4 tasks done
myedibleenso opened this issue Jan 12, 2024 · 2 comments · Fixed by #775
Closed
4 tasks done

[code2FN] Label Generation in Gromet #752

myedibleenso opened this issue Jan 12, 2024 · 2 comments · Fixed by #775
Assignees
Labels

Comments

@myedibleenso
Copy link
Collaborator

myedibleenso commented Jan 12, 2024

In order to support GOTO generation in Gromet, we need to add support for Label Generation in CAST, Annotated CAST, and Gromet.

Tasks

@titomeister
Copy link
Contributor

Update Jan 19:
We've introduced the Label and Goto CAST nodes into the pipeline.
Also introduced the appropriate Label and Goto Annotated CAST elements in the pipeline.
Current status is working on generating GroMEt FN for basic Label and Goto.

@titomeister
Copy link
Contributor

Updated the issue to better reflect the development process.

@titomeister titomeister changed the title [CAST] Annotated CAST for Label [code2FN] Label Generation in Gromet Jan 24, 2024
github-actions bot added a commit that referenced this issue Jan 27, 2024
## 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 #712
Resolves #744
Resolves #750
Resolves #760
Resolves #769
Resolves #752
Resolves #772

---------

Co-authored-by: Tito Ferra <[email protected]> 4f8bf6b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants