8 Commits

Author SHA1 Message Date
0ecab6c142 Rename free procedures 2024-10-26 19:36:59 +01:00
e508cc62f5 Rename structures and free procedures to reflect module change 2024-10-26 19:33:10 +01:00
3a578e190f Assert success of alloc in deep_copy_* loops
Returning false here would leave the destination sequence in an
invalid state and may lead to leaked memory; until this is solved
properly it is safer to assert().
2024-10-26 19:21:05 +01:00
ecfbf2e5c4 Implement (non-negated) class desugaring 2024-10-26 19:21:05 +01:00
07fc46ce38 Add success result to desugar_regex() 2024-10-26 19:21:05 +01:00
ac4e9911d8 Implement question mark desugaring 2024-10-26 19:21:05 +01:00
7e7a7f1cb7 Implement plus desugaring 2024-10-26 19:21:05 +01:00
9494c08f36 Write invariant tests for desugaring 2024-10-26 15:39:13 +01:00