diff options
| 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) | |
| tree | 982f847187aff994a312ad51e34b439cefced09a | |
| parent | c397efd2945579e2704843e7be863045a2ab9ef0 (diff) | |
| download | crep-f5ed59a7fc3b66cd9589cd5967cc1ab76f11a465.tar.gz | |
Added some todos and ideas
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | main.c | 10 |
2 files changed, 12 insertions, 3 deletions
@@ -2,9 +2,8 @@ ## What is crep? -If grep and etags had a baby. - -Note: you should use ctags or etags. Seriously. This is an experimental thingy. +If grep and etags had a baby. You should use ctags or etags. Seriously. This is +an experimental thingy. - https://en.wikipedia.org/wiki/Ctags - https://www.emacswiki.org/emacs/TagsFile @@ -1,3 +1,13 @@ +// IMMEDIATE TODO & IDEAS: +// - Add language specific filter (by default all but it can also passed +// with -lpy -lc -lrb) which would only parse python, c and ruby files. +// - By default its case insensitive but with passing -cs it tells that +// all matching should be done in case sensitive way. +// - Add pthreads and check how grep does it's magic. +// - Add Levenshtein distance for matching and expose distance as arg with +// something like -d5 which would allow distance of 5 on a match. +// - Allow DEBUG to be provided as environmental variable. + #include <assert.h> #include <stdio.h> #include <stdlib.h> |
