cflat 0.1.0 review
Downloadcflat filters C source for easier searching
|
|
cflat filters C source for easier searching. cflat should also work for reasonably C-like languages like C++, Java, or C#.It should also work for reasonably C-like languages like C++, Java, or C#.
If you are brave you might even use it on Perl code.
Basically cflat prints the source code in a tabular format where each line is prefixed with the scope of the line (usually the function declaration).
This makes it easy to filter function bodies with grep or to do interesting things with awk, perl, etc. To get a better idea look at the example below.
cflat can also strip comments (C and C++ style) and string literals.
cflat 0.1.0 search tags