Ayaz Hafiz
|
cb5a21cb20
|
Derive decoding for tuples
|
2023-03-22 16:43:52 -05:00 |
|
Ayaz Hafiz
|
e96be7c746
|
Factor out decoders into separate files
|
2023-03-22 12:29:21 -05:00 |
|
Ayaz Hafiz
|
5e0a6e5926
|
Derive key for Decoding tuples
|
2023-03-22 12:23:16 -05:00 |
|
Joshua Warner
|
de828416bf
|
Initial implementation of tuples in type checking
This leaves in place a bunch of TODOs and likely many bugs - notably, I haven't tested codegen/layout at all here.
|
2023-01-22 12:40:44 -08:00 |
|
Ayaz Hafiz
|
1c93727822
|
Add a notion of "openness" tag extensions suitable only for size-polymorphism
|
2023-01-16 10:52:23 -06:00 |
|
Ayaz Hafiz
|
8aee32830a
|
Add symbols' localized type variable to the AST
|
2022-10-17 17:35:48 -05:00 |
|
Ayaz Hafiz
|
07cac2b4ce
|
Avoid non-consuming iterators
|
2022-08-15 11:11:37 -05:00 |
|
Ayaz Hafiz
|
ed23461165
|
Only open extension variable when feature is turned on
|
2022-08-15 11:11:36 -05:00 |
|
Ayaz Hafiz
|
9a7e280e9c
|
Add some more comments to record decoding
|
2022-08-15 11:11:36 -05:00 |
|
Ayaz Hafiz
|
0f58328d3d
|
Use wrap_in_decode_custom_decode_with for decode record
|
2022-08-15 11:11:36 -05:00 |
|
Ayaz Hafiz
|
23c6e6ea87
|
Add a wrap_in_decode_custom_decode_with helper for decode deriving
|
2022-08-15 11:11:36 -05:00 |
|
Ayaz Hafiz
|
07392a35a7
|
Populate type of decoded record completely
|
2022-08-15 11:11:35 -05:00 |
|
Ayaz Hafiz
|
e93145180e
|
Better debug symbols for derivers
|
2022-08-15 11:11:35 -05:00 |
|
Richard Feldman
|
639df6c8c0
|
Unify this_decode_with_var
|
2022-08-15 11:11:35 -05:00 |
|
Richard Feldman
|
b3b6a7ee9f
|
Type-check lots of step_field
|
2022-08-15 11:11:35 -05:00 |
|
Richard Feldman
|
c34427bbf9
|
Rename record_var to initial_state_var
|
2022-08-15 11:11:34 -05:00 |
|
Ayaz Hafiz
|
a276578642
|
Use some flex vars where they're needed for constraining
|
2022-08-15 11:11:33 -05:00 |
|
Ayaz Hafiz
|
e2e5faa28a
|
Rename to state_record_var
|
2022-08-15 11:11:33 -05:00 |
|
Richard Feldman
|
89f947f3ae
|
Finish setting up types for derived decoders
|
2022-08-15 11:11:33 -05:00 |
|
Richard Feldman
|
ddd462ec8b
|
Finish step
|
2022-08-15 11:11:33 -05:00 |
|
Richard Feldman
|
0579d84bf0
|
Set types for Keep/Skip
|
2022-08-15 11:11:32 -05:00 |
|
Richard Feldman
|
bccfa55179
|
Unify more derived decoder things
|
2022-08-15 11:11:32 -05:00 |
|
Richard Feldman
|
33548874d3
|
Drop some doc comments
|
2022-08-15 11:11:32 -05:00 |
|
Richard Feldman
|
8289458eee
|
Unify this_decode_with_var
|
2022-08-15 11:11:32 -05:00 |
|
Richard Feldman
|
13e3146ac1
|
Type-check lots of step_field
|
2022-08-15 11:11:32 -05:00 |
|
Richard Feldman
|
1587bfbeb5
|
Add type checking for finalizer
|
2022-08-15 11:11:32 -05:00 |
|
Richard Feldman
|
93d07079e1
|
Add type info to decoder_initial_state
|
2022-08-15 11:11:32 -05:00 |
|
Richard Feldman
|
7e12bcff1d
|
Rename variant_var to tag_union_var
|
2022-08-15 11:11:32 -05:00 |
|
Richard Feldman
|
6e008cf718
|
Finish building expressions for decoder_record
|
2022-08-15 11:11:31 -05:00 |
|
Richard Feldman
|
d3e96e9aa8
|
Expand record deriving decoding
|
2022-08-15 11:11:31 -05:00 |
|
Richard Feldman
|
bf8c253b13
|
Add some basic record decoding
|
2022-08-15 11:11:31 -05:00 |
|
Ayaz Hafiz
|
aa5e1e6a27
|
Build derive keys for derivable records
|
2022-08-15 11:11:30 -05:00 |
|
Ayaz Hafiz
|
de3a12167b
|
Wrap list decoders in Decode.custom for now
Otherwise we get some weird panics in borrow, I think something is going
wrong with let-generalization
|
2022-08-03 16:09:22 -05:00 |
|
Ayaz Hafiz
|
ab3ff6e842
|
Add a list decoder
|
2022-08-03 14:57:38 -05:00 |
|