823330dde9
Most of the basic db functionality is in place now. Changing print_col out for a user-supplied callback function might be a cool idea. |
||
---|---|---|
.gitignore | ||
data.h | ||
db.c | ||
db.h | ||
events.c | ||
events.h | ||
io.c | ||
io.h | ||
levenshtein.c | ||
levenshtein.h | ||
LICENSE | ||
main.c | ||
makefile | ||
README.md | ||
script2.sql | ||
script.sql | ||
threads.h |
The (un)Official Lain's Diction Book
Quote / Definition / Pastebin bot
it takes text from irc and stores it in a database
13:56 <@kashire> We need to make our own dictionary.
13:56 <@kashire> The (un)Official Lain's Diction Book.
TODO
- Perhaps a database backend and a client frontend that's separate.
- SQL schema
- SQL interface
- Option arguments w/ getopt
- Exit codes
Extras
You can unzip the SQLite amalgamation right into here to use it, otherwise, provide INLINE_SQLITE=0:
make INLINE_SQLITE=1