Commit graph

9 commits

Author SHA1 Message Date
James Westman
6fdb12fd5d
WIP: Add gir.PartialClass 2022-07-23 15:10:42 -05:00
James Westman
3416546eac
Expression: Fix some crashes 2022-07-23 15:10:28 -05:00
James Westman
cd33266452
tests: Test custom types in lookup expressions 2022-07-23 15:10:28 -05:00
James Westman
76a482affb
expressions: Validate lookup expressions 2022-07-23 15:10:28 -05:00
James Westman
cc1d2ab78f
expressions: Add closure expressions 2022-07-23 15:10:28 -05:00
James Westman
78960fcd11
expressions: Add casts
These are sometimes necessary. In the future the compiler should be able
to detect when they will be necessary so we don't have to find out at
runtime.
2022-07-23 15:10:28 -05:00
James Westman
ae40f8416f
Tweak the way scopes work
Should make it clearer what a "variable" is and allow more flexibility
in what a variable can be (previously it could only be an object, but
now it can be e.g. a reference to the template or a special shortcut)
2022-07-23 15:10:28 -05:00
James Westman
d7155981b1
Add lambda values 2022-07-23 15:10:28 -05:00
James Westman
4fefa0bd73
Add lookup expressions 2022-06-24 23:16:15 -05:00