Skip to content

Commit 33a2823

Browse files
Clean up and add input for 2024/05
Note: there was a bug inside BEFORE? making any recursive call useless. Turns out, the input was _complete_, i.e, did not rely on transitive page ordering rules. I lucked out!
1 parent 2744a11 commit 33a2823

File tree

5 files changed

+101
-27
lines changed

5 files changed

+101
-27
lines changed

Makefile

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
11
lisps := $(shell find . -follow -type f \( -iname \*.asd -o -iname \*.lisp \) ! -path "./vendor/*")
22

3+
SBCL_BIN ?= sbclw
4+
SBCL_ARGS ?= --noinform --dynamic-space-size 4096
5+
36
all: vendor
47

58
# Vendor ----------------------------------------------------------------------
69
.PHONY: vendor
710
vendor: quickutils
811

12+
.PHONY: mlsyntax
13+
mlsyntax:
14+
mkdir -p vendor/mlsyntax
15+
cp ~/Workspace/mlutils/mlsyntax.lisp vendor/mlsyntax/
16+
917
.PHONY: quickutils
1018
quickutils:
1119
cd vendor && sbclw --noinform --load "make-quickutils.lisp" --non-interactive
1220

21+
.PHONY: cl-classified
1322
cl-classified:
1423
mkdir -p vendor/cl-classified
1524
cp ~/Workspace/cl-encrypted/classified.asd vendor/cl-classified/
@@ -23,9 +32,9 @@ cl-classified:
2332
.PHONY: start
2433
start:
2534
sbcl-vlime ${SBCL_ARGS} \
26-
--eval "(pushnew '*default-pathname-defaults* asdf:*central-registry*)" \
2735
--eval "(ql:quickload :cl-dotenv)" \
2836
--eval "(.env:load-env #P\"./.env\")" \
37+
--eval "(pushnew '*default-pathname-defaults* asdf:*central-registry*)" \
2938
--eval "(ql:quickload \"AOC\")"
3039

3140
# Info ------------------------------------------------------------------------

aoc.asd

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
:serial t
4141
:components ((:file "quickutils-package")
4242
(:file "quickutils")
43-
))
43+
(:module "mlsyntax" :serial t
44+
:components ((:file "mlsyntax")))))
4445
(:module "upstream"
4546
:serial t
4647
:components ((:file "quickutils-local")

0 commit comments

Comments
 (0)