-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Python] Function Keyword Argument and Function Call through Paramete…
…r PR (#644) ### GroMEt generation - Added support for handling the GroMEt primitive "_call" - Fixed an issue with the unpacking of a tuple from an attribute item - Fixed an issue with packing of a tuple in function calls. - Added some additional code to make the handling of Attributes more robust - Fixed an issue with functions being used as keyword arguments - Fixed an issue with port indices being too large in some wires. ### Python to CAST - Added a table to maintain a function's arguments. This is used to determine if an argument is being called as a function. - Added support for generating a primitive "_call" Function Call node that's used whenever a function that's passed as a function parameter is being called. ### Other - Added "_call" primitive to the execution engine's set of primitives in order to properly support GroMEt generation for it. ### Testing - Added a test file that checks that the generation and use of the "_call" primitive is correct and consistent. Resolves #592 --------- Co-authored-by: Vincent Raymond <[email protected]> Co-authored-by: Gus Hahn-Powell <[email protected]> bd15457
- Loading branch information
1 parent
2329d9d
commit 371381e
Showing
1,200 changed files
with
305,825 additions
and
223,258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.