Skip to content

Support Any type, Operations, and Kwargs handling for Python->Laurel#489

Open
thanhnguyen-aws wants to merge 25 commits intomainfrom
laureltrans
Open

Support Any type, Operations, and Kwargs handling for Python->Laurel#489
thanhnguyen-aws wants to merge 25 commits intomainfrom
laureltrans

Conversation

@thanhnguyen-aws
Copy link
Contributor

Description of changes:
This PR Any type, Operations, and Kwargs handling for Python->Laurel:

  1. Define type Any and ListAny in PythonLaurelCorePrelude as inductive types.
  2. Change the encoded type for all variables, functions' inputs and outputs to Any type.
  3. Encode Python's operations in PythonLaurelCorePrelude so that they are consistent with Python's semantic.
  4. Support Kwargs handling for Python->Laurel

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@andrewmwells-amazon
Copy link
Contributor

I asked Thanh to create this branch to replace #457 since I can't push to his fork

@keyboardDrummer
Copy link
Contributor

Exciting stuff. Is the Any encoding is used for all values now? What happened to using the statically provided Python types to optimize away the Any?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants