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

CAST translation of MATLAB commands #647

Closed
jastier opened this issue Nov 14, 2023 · 1 comment
Closed

CAST translation of MATLAB commands #647

jastier opened this issue Nov 14, 2023 · 1 comment
Assignees
Labels
lang/MATLAB Used for work related to MATLAB frontend

Comments

@jastier
Copy link
Contributor

jastier commented Nov 14, 2023

Support MATLAB commands

Implement CAST for the following MATLAB command invocation:

clear all

Matlab Tree-sitter syntax nodes to support:

  • command
  • command_name
  • command_argument
@jastier jastier added the lang/MATLAB Used for work related to MATLAB frontend label Nov 14, 2023
@jastier jastier added this to the [DARPA] Milestone 11 milestone Nov 14, 2023
@jastier jastier self-assigned this Nov 14, 2023
@github-project-automation github-project-automation bot moved this to TODO in skema Nov 14, 2023
@jastier jastier changed the title CAST translation of MATLAB command nodes CAST translation of MATLAB commands Nov 14, 2023
@jastier jastier moved this from TODO to In Progress in skema Nov 17, 2023
jastier added a commit that referenced this issue Nov 20, 2023
## Summary of Changes
This PR extends our coverage of MATLAB to include functions and
commands. Add some more test cases to reinforce existing test classes.
The Waterloo Model will now fully translate without 'None' values in the
output

##  Relevant Features
- Added function and command processing
- Added support for parenthesized nodes
- Added support for all operator types at least to a first order.
- Added PEMDAS checking for sequential arithmetic operators

## Bugfixes
- Fixed a bug where there could be 'None' values in the CAST output

### Related issues
Resolves #562 #647
partially #671

---------

Co-authored-by: Joseph Astier <jastier@arizona.edu>
github-actions bot added a commit that referenced this issue Nov 20, 2023
## Summary of Changes
This PR extends our coverage of MATLAB to include functions and
commands. Add some more test cases to reinforce existing test classes.
The Waterloo Model will now fully translate without 'None' values in the
output

##  Relevant Features
- Added function and command processing
- Added support for parenthesized nodes
- Added support for all operator types at least to a first order.
- Added PEMDAS checking for sequential arithmetic operators

## Bugfixes
- Fixed a bug where there could be 'None' values in the CAST output

### Related issues
Resolves #562 #647
partially #671

---------

Co-authored-by: Joseph Astier <jastier@arizona.edu> 03cced3
@jastier
Copy link
Contributor Author

jastier commented Nov 28, 2023

Resolved by PR #641

@jastier jastier closed this as completed Nov 28, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in skema Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/MATLAB Used for work related to MATLAB frontend
Projects
None yet
Development

No branches or pull requests

1 participant