Commit graph

537 commits

Author SHA1 Message Date
Kristin Rutenkolk
7bcdb8c227 typehint inline functions 2024-12-28 01:08:45 +01:00
Kristin Rutenkolk
a358fb6d77 add array-copy-method var to switch behavior 2024-12-21 17:56:25 +01:00
Kristin Rutenkolk
0467fe6006 add native array read functions 2024-12-20 21:53:01 +01:00
Kristin Rutenkolk
b03635e231 rewrite write array functions to take a length parameter 2024-12-20 17:26:52 +01:00
Kristin Rutenkolk
d1f54b1e05 fix defstruct cons implementation for mapentries and respective type
hints
2024-12-20 11:30:13 +01:00
Kristin Rutenkolk
b2cc9e6549 remove maplike option from defstruct generation 2024-12-20 10:40:55 +01:00
Kristin Rutenkolk
f3f156c53a add suppoort for native array write functions 2024-12-19 16:11:00 +01:00
Kristin Rutenkolk
e648c26a25 clean up deserializing logic 2024-12-19 15:12:10 +01:00
Kristin Rutenkolk
0c84c323b3 make private with-c-layout implementation behave like the one in
`layout`
2024-12-19 14:17:18 +01:00
Kristin Rutenkolk
bba05c7dfd improve defstruct doc 2024-12-19 12:28:43 +01:00
Kristin Rutenkolk
87e9bb7a7b adjust tests to make use of :raw? option in arrays 2024-12-12 12:36:15 +01:00
Kristin Rutenkolk
86c4f99a3f add optional :raw? true option for arrays 2024-12-12 12:35:37 +01:00
Kristin Rutenkolk
ff0bd6c568 make multimethods hygenic 2024-12-08 12:40:00 +01:00
Kristin Rutenkolk
2b1d062277 add non raw array ffi test 2024-10-30 21:00:45 +01:00
Kristin Rutenkolk
d190873f72 add raw-arrays struct serde 2024-10-30 20:58:23 +01:00
Kristin Rutenkolk
56a0df3257 add :raw-arrays? option 2024-10-30 20:28:20 +01:00
Kristin Rutenkolk
69a99d5521 remove nested struct definition tests, as they seem to not find the
right types consistently
2024-10-30 15:17:11 +01:00
Kristin Rutenkolk
63e029dc51 fix mem test to not create structs in in are clauses 2024-10-30 15:13:42 +01:00
Kristin Rutenkolk
7ccaad988d add IFN implementation to structs 2024-10-30 15:12:40 +01:00
Kristin Rutenkolk
68d9108ccf fix ffi_test 2024-10-30 14:12:18 +01:00
Kristin Rutenkolk
eef2e56f7e improve sequences on structs 2024-10-30 13:28:49 +01:00
Kristin Rutenkolk
fc62e1f345 remove vector-native struct version 2024-10-30 11:59:46 +01:00
Kristin Rutenkolk
a8fca25f7c add ffi tests with structs 2024-10-28 22:47:38 +01:00
Kristin Rutenkolk
8fb300c5c9 fix string deserialization for strings in structs 2024-10-28 22:42:59 +01:00
Kristin Rutenkolk
9765ec0deb fix strings in defstruct 2024-10-28 22:18:49 +01:00
Kristin Rutenkolk
cec1a8a0a8 add tests for structs with array members 2024-10-28 21:29:23 +01:00
Kristin Rutenkolk
8844eef320 fix array handling code 2024-10-28 21:28:50 +01:00
Kristin Rutenkolk
43acc60784 add struct definition and instantiation tests 2024-10-28 15:46:06 +01:00
Kristin Rutenkolk
78164a12a7 add struct serialization tests 2024-10-28 14:35:54 +01:00
Kristin Rutenkolk
bbd01dc4a9 add equivalence tests 2024-10-28 14:35:40 +01:00
Kristin Rutenkolk
fd0f22fda5 implement java.util.Map and MapEquivalence 2024-10-28 14:35:01 +01:00
Kristin Rutenkolk
e5cd228f94 add map functionaliy test for struct 2024-10-24 14:42:31 +02:00
Kristin Rutenkolk
18679c435e fix struct entryAt 2024-10-24 14:38:09 +02:00
Kristin Rutenkolk
9404ef4cf8 fix struct assoc 2024-10-24 14:24:54 +02:00
Kristin Rutenkolk
003a7377dd fix struct map containsKey 2024-10-24 14:05:58 +02:00
Kristin Rutenkolk
ec418cb6c9 fix map cons 2024-10-24 13:45:16 +02:00
Kristin Rutenkolk
4c408043ec improve error message 2024-10-24 12:04:36 +02:00
Kristin Rutenkolk
b6f1e44ce0 make defstruct robust against dangling and unbound vars 2024-10-24 11:45:17 +02:00
Kristin Rutenkolk
020e10264f add error message for invalid type usage 2024-10-24 11:37:40 +02:00
Kristin Rutenkolk
cf2decedcd introduce custom vector iterator 2024-10-24 09:07:46 +02:00
Kristin Rutenkolk
913c004adb fix forEach reference 2024-10-22 13:19:07 +02:00
Kristin Rutenkolk
f08fa20cf6 draft of new type generation 2024-10-19 03:26:45 +02:00
Kristin Rutenkolk
4f5b9fa60a fix seq of new type and remove indirection 2024-10-18 18:06:02 +02:00
Kristin Rutenkolk
53a8435768 add pprint impl for struct types 2024-10-13 22:08:01 +02:00
Kristin Rutenkolk
21c547c469 add custom deftype for struct type generation 2024-10-12 15:52:03 +02:00
Kristin Rutenkolk
f702096ed5 fix array handling for defstruct macro 2024-10-12 00:36:21 +02:00
Kristin Rutenkolk
eea1b43da3 fix nested types serdes 2024-10-11 22:26:41 +02:00
Kristin Rutenkolk
37b74fc638 add serialization generation 2024-10-11 17:48:58 +02:00
Kristin Rutenkolk
c5d18e9e50 add generate-serialize multimethod 2024-10-11 16:55:03 +02:00
Kristin Rutenkolk
8bfc156d10 add deserialization generation 2024-10-11 15:52:40 +02:00