robrix / Hammer

Parsing and pattern matching in Objective-C
BSD 3-Clause "New" or "Revised" License
75 stars 1 forks source link

Reference cycles? #28

Open robrix opened 10 years ago

robrix commented 10 years ago

There are almost certainly reference cycles w.r.t. parser combinators. How can they be collected?

robrix commented 10 years ago

There should be fewer now, thanks to #29. The derivative of repetition includes self, however, and that gets memoized strongly, so there’s at least one reference cycle.