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
## MATLAB conditional logic added to CAST parser
This PR fixes the if statement handler in `matlab_to_cast.py`. We now
fully support `if elseif else` conditional logic of arbitrary depth in
MATLAB.
- One `if` statement is always included
- Zero or more `elseif` clauses can be included
- Zero or one `else` clause can be included
## Relevant issues
Completes issue #593
Partially completes issue #561
---------
Co-authored-by: Joseph Astier <[email protected]>
Co-authored-by: Vincent Raymond <[email protected]>
## MATLAB conditional logic added to CAST parser
This PR fixes the if statement handler in `matlab_to_cast.py`. We now
fully support `if elseif else` conditional logic of arbitrary depth in
MATLAB.
- One `if` statement is always included
- Zero or more `elseif` clauses can be included
- Zero or one `else` clause can be included
## Relevant issues
Completes issue #593
Partially completes issue #561
---------
Co-authored-by: Joseph Astier <[email protected]>
Co-authored-by: Vincent Raymond <[email protected]> a66fba6
jastier
changed the title
Support Tree-sitter parsing of MATLAB if-elseif-else logic
Support Tree-sitter parsing of MATLAB conditional logic
Nov 8, 2023
Support Tree-sitter parsing of MATLAB conditional logic
Support CAST generation and validation testing of this code snippet:
This will be used to represent MATLAB switch statement logic not covered by CAST
Related to issue #561
The text was updated successfully, but these errors were encountered: