|
diff --git a/main.c b/main.c
|
| 1 |
// IMMEDIATE TODO & IDEAS: |
1 |
// IMMEDIATE TODO & IDEAS: |
| 2 |
// - Add language specific filter (by default all but it can also passed |
2 |
// - Add language specific filter (by default all but it can also passed |
| 3 |
// with -lpy -lc -lrb) which would only parse python, c and ruby files. |
3 |
// with -tpy -tc -trb) which would only parse python, c and ruby files. |
| 4 |
// - By default its case insensitive but with passing -cs it tells that |
4 |
// - By default its case insensitive but with passing -cs it tells that |
| 5 |
// all matching should be done in case sensitive way. |
5 |
// all matching should be done in case sensitive way. |
| 6 |
// - Add pthreads and check how grep does it's magic. |
6 |
// - Add pthreads and check how grep does it's magic. |
| 7 |
// - Add Levenshtein distance for matching and expose distance as arg with |
7 |
// - Add Levenshtein distance for matching and expose distance as arg with |
| 8 |
// something like -d5 which would allow distance of 5 on a match. |
8 |
// something like -d5 which would allow distance of 5 on a match. |
| 9 |
// - Allow DEBUG to be provided as environmental variable. |
9 |
// - Allow DEBUG to be provided as environmental variable. |
|
|
10 |
// - Added depth flag (-r means recursive, -l2 means 2 levels deep). |
| 10 |
|
11 |
|
| 11 |
#include <assert.h> |
12 |
#include <assert.h> |
| 12 |
#include <stdio.h> |
13 |
#include <stdio.h> |
| ... |