Skip to content

It is a command line tool that prints the struct memory layout

Notifications You must be signed in to change notification settings

volkanunal/ketenpere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ketenpere


It is a command line tool that prints the struct layout.

Why?

Because sometimes you want to do things that don't fit into the normal way of doing it.

Example

Example with test2.ke

struct ketenpere {
    int ket;
    int en;
    int pere;

    struct lafargue {
        double laf;
        float ar;
        char* gue;

        struct jxb {
            int* yohhya;
        };
    };    
};
./ketenpere.out test2.ke
ketenpere(struct) has following member or members (int)ket (int)en (int)pere (struct)lafargue
lafargue(struct) has following member or members (double)laf (float)ar (char*)gue (struct)jxb
jxb(struct) has following member or members (int*)yohhya 

Task Lists

  • Fix some bugs (if more than one nested struct)
  • Add support user-defined type as pointer
  • Add support for union token
  • Add support for enum token
  • Add doc
  • Add dynamiclist for visitor instance

About

It is a command line tool that prints the struct memory layout

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published