/c_parser

Simple program to parse c declarations

Primary LanguageC

Summary:

Example:

> parse.exe "char * const *(*myfunc)()"
  Parsing char * const *(*myfunc)()
  myfunc is a pointer to a function returning pointer to read-only pointer to char

TODO:

  • Process and print array sizes
  • Process and translate function arguments
  • Translate into "Samuel L Jackson" speech
  • Add more test cases
  • Handle syntax errors