Current state of the syntax


#1

Hi there :slight_smile:

I was about a year back talking to Reason folks, and they told me they are about to change the syntax, particularly making the semicolon optionally, and so on.

Generally, the sentiment was, to adopt many changes that Rescript made.
It seems the homepage is not very up to date, with the last blog post being from 2018.

Do I go right in the assumption, that the syntax has evolved, and both homepage and docs have not catched up?

Who cares about the homepage currently?


#2

I know it’s a bit late, but you might have better luck asking in the Discord channel: https://discord.gg/reasonml

I believe the docs are being worked on by people at Ahrefs. The Melange docs are probably the most up to date: https://melange.re/v2.0.0/


#3

Reason and ReScript have diverged: ReScript’s later syntax changes were not wholesale rolled back into Reason, so the old homepage is not a reliable guide to current Reason syntax. If you want a maintained compiler using Reason syntax, Melange is the practical reference; its docs are more current than the legacy homepage. The Discord is still the best place to ask which syntax details are actually settled.