Skip to content

MichaelSuen-thePointer/mqcdecl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mqcdecl

A "clean room" and "naive" implementation of cdecl.org

##What is supported legal variable declaraion

e.g.

double (*(*(*fp1)())[10])()

legal type name

e.g.

char**

pointers, arrays and functions

the following type names are supported

int
short
long
double
float
char
void

##What is not supported type name with space is not supported, such as 'long long int'

storage specifiers are not supported

const, volatile and other qualifiers are not supported

function parameters are not supposed to have name, e.g. void func(int p1, int p2) is not supported, use void func(int, int) instead

multi-line declaraion is not supported, write declaraion in one line

function with ... parameter, such as int printf(const char* format, ...)

About

A "clean room" and "naive" implementation of cdecl.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages