From f5ed59a7fc3b66cd9589cd5967cc1ab76f11a465 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 9 Nov 2023 23:54:13 +0100 Subject: Added some todos and ideas --- README.md | 5 ++--- main.c | 10 ++++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a85f806..c15c5a3 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/main.c b/main.c index 7078128..38cbd42 100644 --- a/main.c +++ b/main.c @@ -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 #include #include -- cgit v1.2.3