diff --git a/.gitignore b/.gitignore index bea575523049584375fc6633238255015d3a4c84..ef642e23849934e1fd00cea6a969e63430c58af4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ TAGS +crep \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..ab1f1a9cb12bf49e8e9406fe40eb01e8e0f78c1d --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +default: + @echo "Check targets" + +crep: + $(CC) main.c -o crep + +clean: + rm crep diff --git a/README.md b/README.md index 26d5a852ee8306ec8bcf62791a81f3eae718589f..67943add56d6a520c3643e19e3fcc74b460b4176 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,13 @@ # crep - like grep but for code -> Note: you should use ctags or etags. Seriously. This is an experimental thingy. +**What is it?** If grep and etags had a baby. + +Note: you should use ctags or etags. Seriously. This is an experimental thingy. - https://en.wikipedia.org/wiki/Ctags - https://www.emacswiki.org/emacs/TagsFile + +## Additional resources + +- https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string-search_algorithm +- https://github.com/tree-sitter/tree-sitter diff --git a/main.c b/main.c new file mode 100644 index 0000000000000000000000000000000000000000..cde3c1a4af247d7861cb059053c38835710a8fbc --- /dev/null +++ b/main.c @@ -0,0 +1,6 @@ +#include + +int main() { + printf("Hi Mark!\n"); + return 0; +}