Skip to content

Sync libasr with LFortran #1535

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 4 commits into from
Feb 21, 2023
Merged

Conversation

czgdp1807
Copy link
Collaborator

@czgdp1807 czgdp1807 commented Feb 20, 2023

Corresponding LFortran PR - lfortran/lfortran#1325

@@ -2529,6 +2559,9 @@ def main(argv):
subs["MOD"] = "LPython::AST"
subs["mod"] = "ast"
subs["lcompiler"] = "lpython"
elif subs["MOD"] == "AST":
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Shouldn't it be "LFORTRAN" instead of "AST"?

Copy link
Contributor

Choose a reason for hiding this comment

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

We haven't been consistent in the asdl if I remember well, so I would not do any big changes in the sync PRs, but we can fix things up later.

@certik
Copy link
Contributor

certik commented Feb 20, 2023

Otherwise it looks good.

@czgdp1807 czgdp1807 force-pushed the libasr_sync_2 branch 2 times, most recently from dd6a551 to 60e3bb0 Compare February 20, 2023 08:01
Copy link
Collaborator

@Pranavchiku Pranavchiku left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@ubaidsk
Copy link
Collaborator

ubaidsk commented Feb 20, 2023

For the files asr_to_wasm.cpp, asr_to_x86.cpp, wasm_assembler.h, wasm_decoder.h, wasm_to_wat.cpp, wasm_to_x64.cpp, wasm_to_x86.cpp, wasm_utils.h, x86_assembler.cpp, x86_assembler.h, please, could you keep the same version as in current lpython master? And then we have to add the changes in lfortran/lfortran#1216 and lfortran/lfortran#1304.

Copy link
Collaborator

@ubaidsk ubaidsk left a comment

Choose a reason for hiding this comment

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

It looks good to me. Thank you so much for this!

@czgdp1807 czgdp1807 marked this pull request as ready for review February 20, 2023 14:58
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, Thank you! 😃

Copy link
Collaborator

@Smit-create Smit-create left a comment

Choose a reason for hiding this comment

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

Thanks, @czgdp1807. LGTM!!

Copy link
Contributor

@certik certik left a comment

Choose a reason for hiding this comment

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

This looks good to me.

@czgdp1807 czgdp1807 merged commit ac56812 into lcompilers:main Feb 21, 2023
@czgdp1807 czgdp1807 deleted the libasr_sync_2 branch February 21, 2023 16:26
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.

6 participants