Skip to content

Added initial support for Bytes type #2831

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

Closed
wants to merge 5 commits into from

Conversation

swamishiju
Copy link
Contributor

I have implemented initial support for the bytes type

a: bytes
a = b"test"

As of now they support assignment, function args, function return type

The implementation itself is very similar to str and most functions carry over directly

@certik
Copy link
Contributor

certik commented Apr 3, 2025

Do you mind rebasing this on top of the latest main? Add the libasr submodule changes into a branch and submit as a PR against LFortran.

@swamishiju
Copy link
Contributor Author

swamishiju commented Apr 3, 2025

I think i'll keep this draft for now i'll rebase once we have integration tests completely working again incase it introduces some weird bugs and i'm not familiar with the new libasr so will take some time

@swamishiju swamishiju marked this pull request as draft April 3, 2025 02:50
@swamishiju swamishiju closed this by deleting the head repository Apr 12, 2025
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.

2 participants