A toy Lisp interpreter built in a day using Gemini.
- 🔤 Parser, lexer & interpreter — Tokenizes syntax into an Abstract Syntax Tree (AST), and evaluates code.
- 🖥️ CLI — Execute
.lispfiles directly from your terminal (qlisp file.lisp). - 🔄 REPL — Developer code interactively from the terminal (
qlisp). - 🧪 Tests — Full suite powered by Vitest, and custom harness for testing
.lispfiles. - 🪄 Macros — Compile-time macro expansion before execution.
- ☁️ GitHub Codespaces — Pre-configured
.devcontainerenvironment for developing remotely.
Clone the repository using the GitHub CLI and install dependencies:
gh repo clone joshnuss/qlisp
cd qlisp
pnpm install
pnpm link --globalTo run the REPL:
qlispTo run a LISP file:
qlisp example.lisp
MIT