- how much of compiler code is shared between different backends: Scala.NET, Scala.JVM, Scala.js, Scala-Native?
- how much of standard library code is shared between different backends: Scala.NET, Scala.JVM, Scala.js, Scala-Native?
The main question (for which the answers for previous questions are also needed) is: how sure the Scala programmer can be that his code will compile on different backends and work correctly (have identical outcomes) without change? If there were multiple Scala language parsers in different Scala compilers then most probably they would differ in e.g. syntax parsing bugs, number of implemented features, pattern matching exhaustiveness checks, etc
P.S. I’m mixing “Scala compiler” with “compiler backend” because I’m not sure how to uniformly call elements of set ( Scala.NET, Scala.JVM, Scala.js, Scala-Native ).