Hacker News new | ask | show | jobs
by michaelsbradley 3083 days ago
Reason code can indeed be compiled to JavaScript using the Bucklescript backend (as can regular OCaml), but it can also be compiled to native since it's just a dialect of OCaml. In the latter case, the programmer would need to avoid JS interop or employ conditional compilation.