W dniu 25.09.2016 o 22:17, Kevin Daudt pisze: > On Fri, Sep 23, 2016 at 12:15:41AM -0400, Jeff King wrote: >> Oops, yes. It is beginning to make the "strbuf_swap()" look less >> convoluted. :) >> > > I've switched to strbuf_swap now, much better. I've implemented > recursive parsing without looking at what you provided, just to see what > I'd came up with. Though I've not implemented a recursive descent > parser, but it might suffice. I think you can implement a parser handling proper nesting of parens without recursion. Though... what is the definition in the RFC? -- Jakub Narębski