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

Adding back nativeints to melange stdlib #1149

Closed
wants to merge 1 commit into from

Conversation

Josef-Thorne-A
Copy link

Fix for #1148
This pull request makes it so that the melange compiler will accept nativeints and the associated Ocaml standard library functions associated with them. This makes it easier to port native libraries which made use of these functions -- for example, Sexplib0.

The intention is to enhance compatibility with Ocaml libraries rather than porting nativeint to Javascript as it's unclear if there is an obvious or correct way.

This implementation treats nativeints as 32-bit integers because it was the most straightforward path.

@anmonteiro
Copy link
Member

continued in #1150

@anmonteiro anmonteiro closed this Jul 7, 2024
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