Skip to content

Pointers in emulation mode #1336

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 7 commits into from
Dec 1, 2022
Merged

Pointers in emulation mode #1336

merged 7 commits into from
Dec 1, 2022

Conversation

czgdp1807
Copy link
Collaborator

Closes #1334

@certik certik marked this pull request as ready for review December 1, 2022 18:49
@certik
Copy link
Contributor

certik commented Dec 1, 2022

This seems to work well:

$ lpython structs_15.py 
4
514 2
1542 6
20 238
2
$ PYTHONPATH=../src/runtime/ltypes python structs_15.py
4
514 2
1542 6
20 -18
2

The only difference is due to #1337, which is a separate issue.

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.

These changes are fine with me.

@czgdp1807 I assume you have some stuff that you still want to polish here, so go ahead and then merge. Otherwise we can squash & merge.

@certik certik merged commit 254efcf into lcompilers:main Dec 1, 2022
@certik
Copy link
Contributor

certik commented Dec 1, 2022

@czgdp1807 I need this, so I merged it. If there are some things you want to improve, then go ahead and send a new PR.

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.

Feature request: pointers in emulation mode
2 participants