SPUG: Parsing (or at least matching) C function prototypes

C.J. Adams-Collier cjac at colliertech.org
Tue Mar 23 10:16:56 PDT 2010


I bet gcc is pretty good at parsing C...

On Mon, 2010-03-01 at 19:04 -0800, Michael R. Wolf wrote:
> In order to create an instrumentation layer in his C code, a friend  
> wants to extract function prototypes from his C code.
> 
> His first try worked with regular expressions.
> 
> And now his second try also works with regular expressions.
> 
> His solution may be "good enough", but on the (likely chance) that he  
> calls me again, does anyone know of code that could help *parse* (or  
> at least recognize with mo' bettah regexp's) his C code?
> 
> Thanks,
> Michael
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://mail.pm.org/pipermail/spug-list/attachments/20100323/20673174/attachment.bin>


More information about the spug-list mailing list