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.
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.