News for hackers. Stuff that matters.
Re:Gosh Darn Function Pointers by imglorp on Monday January 15, 2018 @05:54PM (#16154181)
The algorithm is the "spiral rule".

http://c-faq.com/decl/spiral.anderson.html

Re:Gosh Darn Function Pointers by ufo on Monday January 15, 2018 @06:03PM (#16154267)
Thanks, but I actually want the other way around. Instead of parsing an existing C declaration, I want to produce one when given a structured tree representing the C datatype.

I found that to be trickier than it sounds.