aboutsummaryrefslogtreecommitdiff
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 @@
2 2
3## What is crep? 3## What is crep?
4 4
5If grep and etags had a baby. 5If grep and etags had a baby. You should use ctags or etags. Seriously. This is
6 6an experimental thingy.
7Note: 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
index 7078128..38cbd42 100644
--- a/main.c
+++ b/main.c
@@ -1,3 +1,13 @@
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>