Added some todos and ideas
| Author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-11-09 23:54:13 +0100 |
| Committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-11-09 23:54:13 +0100 |
| Commit | f5ed59a7fc3b66cd9589cd5967cc1ab76f11a465 (patch) |
|
| diff --git a/README.md b/README.md | |||
| ... | |||
| 2 | 2 | ||
| 3 | ## What is crep? |
3 | ## What is crep? |
| 4 | 4 | ||
| 5 | If grep and etags had a baby. |
5 | If grep and etags had a baby. You should use ctags or etags. Seriously. This is |
| 6 | 6 | an experimental thingy. |
|
| 7 | Note: you should use ctags or etags. Seriously. This is an experimental thingy. |
||
| 8 | 7 | ||
| 9 | - https://en.wikipedia.org/wiki/Ctags |
8 | - https://en.wikipedia.org/wiki/Ctags |
| 10 | - https://www.emacswiki.org/emacs/TagsFile |
9 | - https://www.emacswiki.org/emacs/TagsFile |
| ... | |||
| diff --git a/main.c b/main.c | |||
| 1 | // IMMEDIATE TODO & IDEAS: |
||
| 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. |
||
| 4 | // - By default its case insensitive but with passing -cs it tells that |
||
| 5 | // all matching should be done in case sensitive way. |
||
| 6 | // - Add pthreads and check how grep does it's magic. |
||
| 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. |
||
| 9 | // - Allow DEBUG to be provided as environmental variable. |
||
| 10 | |||
| 1 | #include <assert.h> |
11 | #include <assert.h> |
| 2 | #include <stdio.h> |
12 | #include <stdio.h> |
| 3 | #include <stdlib.h> |
13 | #include <stdlib.h> |
| ... | |||