You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to be as if GenerateTmLanguageFile.ts would synthesize Scala.tmLanguage.ts from Scala.tmLanguage.json, but some recent commit is directly on the TypeScript file. Is the JSON the ground truth, or the TypeScript?
The text was updated successfully, but these errors were encountered:
Sciss
changed the title
What is the relation Scala.tmLanguage.json between and Scala.tmLanguage.ts
What is the relation between Scala.tmLanguage.json and Scala.tmLanguage.ts
May 29, 2021
The JSON contains the latest released version, but the TypeScript contains the latest development work. We build the JSON from the TS at every release.
You can read a bit more info in the contributing docs, and there's also some discussion as to why we do this in #23.
Sorry, I replied over at #204 before I saw the question here, but here's the response to that question:
We make no distinction between Scala 2 and Scala 3, the highlighter aims to work for both. It would be very difficult for our grammar to be able to distinguish one from the other, so we make no attempt to do so.
It seems to be as if
GenerateTmLanguageFile.ts
would synthesizeScala.tmLanguage.ts
fromScala.tmLanguage.json
, but some recent commit is directly on the TypeScript file. Is the JSON the ground truth, or the TypeScript?The text was updated successfully, but these errors were encountered: