From 99248b2ba8a78ec1f5f2a78a83626dcff41315eb Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Mon, 15 Jun 2026 10:34:52 +0200 Subject: [PATCH] feat(journal): update end of week 5 --- journal/week5.typ | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/journal/week5.typ b/journal/week5.typ index deb358a..1b00438 100644 --- a/journal/week5.typ +++ b/journal/week5.typ @@ -20,3 +20,25 @@ - Issues: - `GetExpr` can reference either a property on a `ComplexType` or a method. - A method (or function) can be overloaded, for example ```py list[T].__getitem__(int) -> T``` and ```py list[T].__getitem__(slice) -> list[T]``` + +#day(4) + +- Rework complex types: extension type, combine properties and methods as members + +#day(5) + +- Implement member lookup +- Adapt operations +- Handle generic members + +#day(6) + +- Redefine builtins with members +- Tidy up +- Add unary operations and subscripts + +#day(7) + +- Resolve overloaded functions +- Add slices +- Add simple code generator