session
Update 7: Lowering the language
One large push took most of the surface language from “parses” to “runs”:
- Arrays: literals, indexing, element assignment, compound assignment, and
forloops over arrays. matchas an expression, with string, range, and enum-variant patterns.- Struct methods with SRET returns, tuples, enums with payloads, the
?operator, closures via lambda lifting, anddeferblocks that run before every return. - Typed allocas throughout the lowerer, so loads now carry correct types instead of defaulting to
i64.