Stream: Mirror: Isabelle Development Mailing List

Topic: [isabelle-dev] Moving towards Scala 3


view this post on Zulip Email Gateway (Apr 04 2022 at 08:53):

From: Makarius <makarius@sketis.net>
Attentive readers of the history have already noticed that we are moving
towareds Scala 3.

This is a non-trivial step forward on the Scala staircase, see also
https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html

After the rather big change in Isabelle/87ebf5a50283, most syntax problems
should be solved. I now continue to work on semantic questions, most notably
run-time invocation of the Scala compiler.

There is already "isabelle build_scala" and "isabelle build_setup" to produce
a suitable Isabelle component.
Attached is an adhoc changeset for the most basic setup for scala-3.0.2.

Makarius
ch-dotty

view this post on Zulip Email Gateway (Apr 07 2022 at 07:57):

From: Florian Haftmann <florian.haftmann@informatik.tu-muenchen.de>
As an aside, changeset 010a77180dff adjusts printing of type annotation
in Scala to accommodate a subtle change of semantics in Scala 3.

As a prelude to that change, the historically grown code translating HOL
terms to intermediate language patterns has seen a substantial iterative
reworking, allowing to spot the point where pattern binding reduction
failed for hitherto unclear reasons — see changeset f9c758208298.

Florian
OpenPGP_signature


Last updated: Oct 12 2024 at 20:18 UTC