Skip to content

Initial Support for Global Dictionaries #1653

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

Merged
merged 3 commits into from
Apr 1, 2023

Conversation

harshsingh-24
Copy link
Contributor

@harshsingh-24 harshsingh-24 commented Mar 31, 2023

  1. Solves MSVC gives different outputs compared to WSL build, Linux/Mac OS ? #1593
  2. The support for Global Dictionary is needed for Implementing Dictionary return type to solve:
    Dict implementation design #983 (specifically, Support passing dict as function arguments and return value of functions)

@certik @czgdp1807 @Thirumalai-Shaktivel

@harshsingh-24
Copy link
Contributor Author

I got a code generation error from C backend saying, Strings as data type in Dictionary are not currently supported in C. Therefore, I removed the test case associated with String type.

@certik
Copy link
Contributor

certik commented Apr 1, 2023

@Thirumalai-Shaktivel can you please review it?

Copy link
Collaborator

@Thirumalai-Shaktivel Thirumalai-Shaktivel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@harshsingh-24
Copy link
Contributor Author

Hey @Thirumalai-Shaktivel @czgdp1807 !! The C backend currently does not support str. How can I make it support for str?

@certik
Copy link
Contributor

certik commented Apr 1, 2023

Let's merge this after #1617.

@certik certik merged commit 071dd40 into lcompilers:main Apr 1, 2023
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.

4 participants