Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also Bucklescript and ReasonML respectively provide OCaml and javascript-like syntax over the same AST and can translate your code between the two (as seen in the try reasonML UI).


That's not exactly how it works: Bucklescript is a JS backend for OCaml, and ReasonML is an alternative syntax for OCaml. Bucklescript is not involved in this translation, it generates the JS output on the top right pane of that UI.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: