Skip to content

Commit 4741273

Browse files
authored
Merge pull request #311 from rescript-association/fix_310
a few tweaks to reflect the current status of relationship with ocaml
2 parents 6f6c4cf + 55f17ea commit 4741273

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

pages/docs/manual/latest/faq.mdx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,23 @@ canonical: "/docs/manual/latest/faq"
1010

1111
We aim to provide the best typed language experience for the JavaScript platform.
1212

13-
**What’s ReScript's relationship with OCaml?**
14-
15-
We reuse the same excellent type system with OCaml, and lots of other high quality components. Additionally, ReScript provides its own syntax build system, JS interop, extra language features, etc. We do sync up those OCaml components from time to time, but it’s not our goal to be tied to the OCaml release cycle and its toolchain.
1613

1714
**What’s the relationship with BuckleScript?**
1815

1916
BuckleScript is ReScript's old branding, with a sharper focus on proper JS support and familiarity which we previously couldn't achieve to the degree we wanted, due to us needing to cater to various different crowds.
2017

18+
**What’s ReScript's relationship with OCaml?**
19+
20+
We reuse and adjust the excellent type system and lots of other high quality components from OCaml for JS experience.
21+
Additionally, ReScript provides its own syntax, build system, IDE, backend, JS interop, extra language features, etc.
22+
23+
The ReScript toolchain is developed using OCaml, however, the version of ReScript is decoupled against the version of OCaml,
24+
ReScript compiler should build against any reasonable modern version of OCaml compiler.
25+
26+
For the majority of ReScript users, they don't need to learn OCaml or use OCaml toolchain to be productive in ReScript.
27+
28+
29+
2130
**What’s the relationship with Reason?**
2231

2332
See [here](/blog/bucklescript-is-rebranding). Reason is a syntax layer for OCaml that BuckleScript also adopted. The current ReScript compiler also supports the old Reason syntax v3.6 for backward compatibility. We will support it for a long time to make sure existing users do not get breaking changes.

0 commit comments

Comments
 (0)