/tiny_cdecl

A tiny parser for basic C declaration using "Spiral Rule"

Primary LanguageC

#README

This is a tiny parser for basic C declaration using "Spiral Rule"

###EXAMPLE I took the famous confusing funcion signal as an example

it's prototype is

void (*signal(int sig, void (*func)(int)))(int)

and tiny cdecl's output is

Alt text

more details about usage are shown in example.c :)