We present syntax rewriting rules that translate Scala 2 code into Scala 3. Two major syntactic changes are introduced: new control structure syntax and significant indentation. We describe the design and the implementation of these rules and evaluate their performance on a large Scala project. Finally, we discuss strategies regarding how this project can be extended in further iterations.
Loading...
Name
scala3-syntax-rewriting-TROPIN-2024.pdf
Type
N/a
Access type
openaccess
License Condition
Apache License
Size
316.23 KB
Format
Adobe PDF
Checksum (MD5)
a48a013f2def3839d1ccdac74372c57e