unisonweb / unisonweb-org

Source for the unisonweb.org website
https://unisonweb.org
Other
40 stars 61 forks source link

"line comment" language reference text seems wrong #332

Open kylegoetz opened 1 year ago

kylegoetz commented 1 year ago

The current Unison language reference says line comments begin with "--(any char sequence)" and can only otherwise contain whitespace.

Discussion on the Unison slack leads me to believe that line comments can indeed be preceded by anything. So it's valid to have

DEFAULT_AGE = 16 -- this is default age because it's the minimum legal driving age in the US

Language ref should be updated accordingly.