Lecture

Tuples: Desugaring and Implementation

Description

This lecture introduces tuples as finite ordered lists of elements, comparing them to vectors. It covers desugaring versus built-in implementation, the process of lexical analysis, parsing, and code generation. The lecture also delves into the implementation details of tuples in Scala, including TupleExpr, TupleType, and TuplePattern. Furthermore, it discusses the transformation of types, type checking, and code generation. Finally, it provides insights into desugaring tuples into case classes and offers practical advice for handling tuples in WebAssembly.

About this result
This page is automatically generated and may contain information that is not correct, complete, up-to-date, or relevant to your search query. The same applies to every other page on this website. Please make sure to verify the information with EPFL's official sources.