feat: add initial project structure with spam detection tool and supporting libraries

Add the complete source tree for the isspam spam detection utility, including the main C implementation (isspam.c), custom memory allocator (rmalloc.h), string builder (rstr.h), dynamic string list (rstring_list.h), build configuration (Makefile, .clang-format), CI workflow (.gitea/workflows/build.yaml), and sample test data (spam/examole_spam3.txt, not_spam/correct1.txt). The core logic defines a list of forbidden words and provides functions for tokenizing input, removing preserved characters, and checking content against the spam keyword set.
This commit is contained in:
2024-11-28 17:39:34 +00:00
commit bbe721b620
14 changed files with 916 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
.history
.vscode