diff options
-rw-r--r-- | 2019/09/.gitignore | 1 | ||||
-rw-r--r-- | 2019/09/Makefile | 1 | ||||
-rw-r--r-- | 2019/09/puzzles.lisp | 7 |
3 files changed, 9 insertions, 0 deletions
diff --git a/2019/09/.gitignore b/2019/09/.gitignore new file mode 100644 index 0000000..5fcaefb --- /dev/null +++ b/2019/09/.gitignore @@ -0,0 +1 @@ +puzzle-[12].lisp
\ No newline at end of file diff --git a/2019/09/Makefile b/2019/09/Makefile new file mode 100644 index 0000000..5a21270 --- /dev/null +++ b/2019/09/Makefile @@ -0,0 +1 @@ +include ../../Makefiles/lisp.mk
\ No newline at end of file diff --git a/2019/09/puzzles.lisp b/2019/09/puzzles.lisp new file mode 100644 index 0000000..f8edbc1 --- /dev/null +++ b/2019/09/puzzles.lisp @@ -0,0 +1,7 @@ +#!/usr/bin/sbcl --script + +(load "../interpreter.lisp") + +(intcode:run (intcode:parse "input") + (lambda () +puzzle-part+) + (lambda (x) (format t "~d~%" x)))
\ No newline at end of file |