summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
-rw-r--r--main.c10
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 <assert.h>
#include <stdio.h>
#include <stdlib.h>