Re:Parser combinator library in C
by Someone on Tuesday August 07, 2012 @07:17AM
(#4349527)
I am not sure I grok the code, but I think something along the following lines would work:
Elegant? Not really, but with proper macros/functions, it should not be much less elegant than reference counting on its own.
[ Parent
| on HN ]
Re:Parser combinator library in C
by silentbicycle on Tuesday August 07, 2012 @07:29AM
(#4349567)
That's pretty close to Deutsch-Bobrow deferred referenced counting. If you decide to implement it, you may want to read their paper about the technique.