-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add GroMEt iterator to MATLAB CAST Loop #725
Labels
lang/MATLAB
Used for work related to MATLAB frontend
Comments
jastier
changed the title
Add GroMEt calls for MATLAB CAST objects
Add GroMEt iterator to MATLAB CAST Loop
Dec 14, 2023
Current status: In development |
titomeister
added a commit
that referenced
this issue
Feb 12, 2024
## MATLAB to GroMEt testing This PR adds GroMEt translation to all pytest cases in the Tree-Sitter MATLAB translator. This was done as part of the fix for a bug that was happening when generating Model Coverage Reports. The CAST to GroMEt converter was reporting correctly that the "list" type is not supported, switching to the corresponding enumeration fixed that issue. ## Relavant Features: - Each pytest case now includes GroMEt translation. - Got rid of some outdated static method typing calls. - `LiteralValue `data types are now CAST enumerations instead of hard-coded strings. - Removed the handler for `Range `Tree-sitter syntax nodes, these nodes are managed by iterator routines - Turned off the pytest series related to loops temporarily Related to issue #725 Partially resolves issue #764 --------- Co-authored-by: Joseph Astier <[email protected]> Co-authored-by: Tito Ferra <[email protected]> Co-authored-by: titomeister <[email protected]>
github-actions bot
added a commit
that referenced
this issue
Feb 12, 2024
## MATLAB to GroMEt testing This PR adds GroMEt translation to all pytest cases in the Tree-Sitter MATLAB translator. This was done as part of the fix for a bug that was happening when generating Model Coverage Reports. The CAST to GroMEt converter was reporting correctly that the "list" type is not supported, switching to the corresponding enumeration fixed that issue. ## Relavant Features: - Each pytest case now includes GroMEt translation. - Got rid of some outdated static method typing calls. - `LiteralValue `data types are now CAST enumerations instead of hard-coded strings. - Removed the handler for `Range `Tree-sitter syntax nodes, these nodes are managed by iterator routines - Turned off the pytest series related to loops temporarily Related to issue #725 Partially resolves issue #764 --------- Co-authored-by: Joseph Astier <[email protected]> Co-authored-by: Tito Ferra <[email protected]> Co-authored-by: titomeister <[email protected]> 159d40e
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add GroMEt iterator to MATLAB CAST Loop
When composing CAST Loops from MATLAB, create the loop iterator using GroMEt function nodes for:
The text was updated successfully, but these errors were encountered: