4 ms·
Can bucklescript compile OCaml into js?
by crimsonalucard 8y ago
Can bucklescript compile OCaml into js?
- fspeech 8y agoYes that is what it was designed to do. Of course if your code calls out to some library implemented in native you will need to substitute with the js equivalent. Bucklescript has special syntax for you to describe the FFI to js, like Typescript. Otherwise it is OCaml in classical syntax or in Reason.