petitparser2 icon indicating copy to clipboard operation
petitparser2 copied to clipboard

Consider alternative to one-way become for PP2UnresolvedNode

Open jgfoster opened this issue 6 years ago • 1 comments

GemStone doesn't support one-way become so this isn't portable. I've been able to get what appears to be equivalent functionality from a proxy/delegate pattern (though it doesn't pass the #'==' tests).

jgfoster avatar Nov 04 '18 15:11 jgfoster

This is by no means important part of PP2. I think most of the parsers ever created can hapily live without this node or calling this method.

Long term, I will try to refactoring this into different package, or, as suggested, try to use proxy pattern if doable...

kursjan avatar Nov 04 '18 21:11 kursjan