Hacker News new | ask | show | jobs
by Zababa 1599 days ago
If some people are confused (I was for a long time):

- OCaml is a functional, object-oriented and statically typed programming language that compiles to binaries and bytecode. It's a ML (Meta Language) descendant, like SML for example

- js_of_ocaml is a compiler that takes in OCaml bytecode and outputs JavaScript

- BuckleScript is a compiler that takes OCaml code and outputs JavaScript

- ReasonML is an alternative syntax for OCaml. ReasonML code can be compiled to binaries like regular OCaml code.

- BuckleScript and ReasonML were used together often

- ReScript is a new language that's based on the OCaml compiler, BuckleScript, and ReasonML syntax. ReScript targets only JavaScript and has a

A post on the history of ReScript/BuckleScript in the OCaml forum: https://discuss.ocaml.org/t/a-short-history-of-rescript-buck...