Due to the restriction on OCaml "int" integers (which are represented on 31 or 63 bits on 32- or 64-bit architectures), Parsifal is unable to handle properly uint32 and sint32 on a 32-bit architecture.
This even breaks Parsifal compilation, because of 32-bit litteral integers in some files (core/basePTypes.ml, formats/guid.ml, some unit tests).
uint64 is currently handled as an Int64.t. Should uint32 be represented by an Int32.t or a NativeInt.t ?
Due to the restriction on OCaml "int" integers (which are represented on 31 or 63 bits on 32- or 64-bit architectures), Parsifal is unable to handle properly uint32 and sint32 on a 32-bit architecture.
This even breaks Parsifal compilation, because of 32-bit litteral integers in some files (core/basePTypes.ml, formats/guid.ml, some unit tests).
uint64 is currently handled as an Int64.t. Should uint32 be represented by an Int32.t or a NativeInt.t ?