summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-11-09 23:54:13 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-11-09 23:54:13 +0100
commitf5ed59a7fc3b66cd9589cd5967cc1ab76f11a465 (patch)
tree982f847187aff994a312ad51e34b439cefced09a /main.c
parentc397efd2945579e2704843e7be863045a2ab9ef0 (diff)
downloadcrep-f5ed59a7fc3b66cd9589cd5967cc1ab76f11a465.tar.gz
Added some todos and ideas
Diffstat (limited to 'main.c')
-rw-r--r--main.c10
1 files changed, 10 insertions, 0 deletions
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>