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.
This commit is contained in:
commit
4df60ead93
172 files changed
+4403
No files matched your search
@@ -0,0 +1,30 @@
|
||||
{
|
||||
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";
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user