CDECL as visual tool

I saw an article showing command line use of cdecl where the results were given like a help file.

i.e; "cdecl int *(char b) and the output explained what was happening.,

Also in reverse, i.e.; Describe in words, and you get a formula.

I cant find anything on this. Does anyone know what I m talking about?

Thanks
No. I have no idea what you're talking about.

cdecl is a "calling convention" for C based languages.
http://en.wikipedia.org/wiki/Calling_convention


http://zanasi.chem.unisa.it/download/C.pdf



This is a link to K&R C Programming, section 5.12 on page 100 has some code to convert from a complex declaration to words, not sure about the other way though.

HTH
Last edited on
I think you're talking about the command line interface to http://cdecl.org
That's clever. There's a link on the site to the source code. You can download it, build it and run it (with -i for interactive).
It is possible, here is a link.

http://bytes.com/topic/c/answers/220934-cdecl-test-cases

I just don't know how to do it on Windows???
Last edited on
You ought to be able to build it in cygwin on Windows.
Topic archived. No new replies allowed.