/lisp-person-register

Stupid project that I created just to learn the basics of this language. I ended up liking it! It's a TUI application that registers names and ages in a simple SQLite3 database, rendering the registered users and prompting the user to either exit or register a new person.

Primary LanguageCommon Lisp

Lisp-Person-Register

Stupid project that I created just to learn the basics of this language. I ended up liking it! It's a TUI application that registers names and ages in a simple SQLite3 database, rendering the registered users and prompting the user to either exit or register a new person.

Usage

# Download the dependencies, then run the code.
make deps run

Makefile Recipes

# Inspect the database `user` table.
make inspect

# Clean the generated files to setup and run this project and the database.
make clean

Dependencies

# Install the Steel Bank Common Lisp REPL.
sudo apt install -y rlwrap sbcl

# Install the Quicklisp package manager.
curl -o quicklisp.lisp http://beta.quicklisp.org/quicklisp.lisp
sbcl --no-sysinit --no-userinit --load quicklisp.lisp \
                  --eval '(quicklisp-quickstart:install :path "~/.quicklisp")' \
                  --eval '(ql:add-to-init-file)' \
                  --quit

See Also

Setting up a development environment:

I was inspired by this simple Python challenge: