Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jeffmax
· 16y ago · 0 comments
http://cdecl.org/
Comments
[–]
javert
16y ago
"So is somebody gonna create a tool that uses this parser so you can declare your C in English?" -My roommate
[–]
exit
16y ago
this is fantastic, but apparently "void (
signal(int, void (
fp)(int)))(int);" is a syntax error?
[–]
loup-vaillant
16y ago
It is not, but their implementation is incomplete. They parse it correctly when you remove "fp". Apparently, they don't handle declarations which have another identifiers besides the one that is declared.
int f(int ) // OK int f(int i) // fail