Skip to content
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

Add Erlang support #1

Merged
merged 3 commits into from
Mar 5, 2024
Merged

Conversation

giacomocavalieri
Copy link
Contributor

This PR adds Erlang support! There's some design choices to be made on how we're handling bit arrays on different targets, I've left a comment in the codebase's tests, let me know what you think would be the best course of action there!

@MystPi
Copy link
Owner

MystPi commented Mar 5, 2024

Thanks!! Yeah, I think it might be best to duplicate behavior across runtimes. Maybe we could still color the resulting string magenta to signify it was originally a BitArray? I'm not sure if that would work differently across runtimes though.

Also, it looks like the stdlib function bit_array.to_string returns a Result. I'm not sure what we should do if it fails (or why it would even fail)?

@MystPi MystPi merged commit 79a74e9 into MystPi:master Mar 5, 2024
1 check passed
@giacomocavalieri giacomocavalieri deleted the erlang-support branch March 5, 2024 14:25
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