diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-11-04 12:28:34 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-11-04 12:28:34 +0100 |
| commit | 7d07bd86a130bae674348b600d13efc25942271e (patch) | |
| tree | 4ce759ce522b4680182e013e44d034ed6ec46127 | |
| parent | 3b5a0de9e81556bc9e8bbfaf6f299de05eb82b99 (diff) | |
| download | crep-7d07bd86a130bae674348b600d13efc25942271e.tar.gz | |
Added main, it has to start somewhere
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | README.md | 9 | ||||
| -rw-r--r-- | main.c | 6 |
4 files changed, 23 insertions, 1 deletions
@@ -1 +1,2 @@ TAGS +crep
\ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ab1f1a9 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +default: + @echo "Check targets" + +crep: + $(CC) main.c -o crep + +clean: + rm crep @@ -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 @@ -0,0 +1,6 @@ +#include <stdio.h> + +int main() { + printf("Hi Mark!\n"); + return 0; +} |
