Files
venomade 4df60ead93 Lisplings: Rustlings-style exercises for Common Lisp
70 exercises in 20 chapters, from first s-expressions to restarts,
macros, CLOS, and a tiny Lisp interpreter. Each exercise ships
broken with a solved twin and a hint. Includes a watch-mode runner,
a plain-CL check harness, a nix flake, and verification tooling.
All plain SBCL, no dependencies.
2026-11-22 03:30:19 +00:00

31 lines
557 B
Nix

{
lib,
stdenv,
sbcl,
src,
}:
stdenv.mkDerivation {
pname = "lisplings";
version = "0.1.0";
inherit src sbcl;
installPhase = ''
runHook preInstall
mkdir -p $out/lib/lisplings $out/bin
cp -r $src/src $src/exercises $src/solutions $src/info.sexp $out/lib/lisplings/
substituteAll ${./lisplings.sh} $out/bin/lisplings
chmod +x $out/bin/lisplings
runHook postInstall
'';
meta = {
description = "Small exercises to get you used to reading and writing Common Lisp code";
mainProgram = "lisplings";
};
}