id
int64
0
45.1k
file_name
stringlengths
4
68
file_path
stringlengths
14
193
content
stringlengths
32
9.62M
size
int64
32
9.62M
language
stringclasses
1 value
extension
stringclasses
6 values
total_lines
int64
1
136k
avg_line_length
float64
3
903k
max_line_length
int64
3
4.51M
alphanum_fraction
float64
0
1
repo_name
stringclasses
779 values
repo_stars
int64
0
882
repo_forks
int64
0
108
repo_open_issues
int64
0
90
repo_license
stringclasses
8 values
repo_extraction_date
stringclasses
146 values
sha
stringlengths
64
64
__index_level_0__
int64
0
45.1k
exdup_ids_cmlisp_stkv2
listlengths
1
47
18,137
roswell.map
jstoddard_roswell/roswell.map
;;; This is a -*- Lisp -*- file... (in-package #:roswell) ;;; Level 1: A 52x42 Map (defun level1-start () (setf (x-position *player*) 80) (setf (y-position *player*) 176)) (let ((level1 (make-instance 'level-map :map-width 52 :map-height 42 :bg-map (make-array '(52 42) :initial-element...
1,806
Common Lisp
.l
47
33.595745
61
0.611048
jstoddard/roswell
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
7683ee814879294ad160ae78b1850c065b9c61d013d4a083ba8fcfdc5f7bfd96
18,137
[ -1 ]
18,139
projectiles.xcf
jstoddard_roswell/media/projectiles.xcf
gimp xcf file` BљBљ G gimp-commentCreated with GIMPgimp-image-grid(style solid) (fgcolor (color-rgba 0.000000 0.000000 0.000000 1.000000)) (bgcolor (color-rgba 1.000000 1.000000 1.000000 1.000000)) (xspacing 10.000000) (yspacing 10....
1,792
Common Lisp
.l
13
136.923077
1,103
0.281461
jstoddard/roswell
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
c9e049bf5ad83a766aee53b715baaab42bfe75783761c991bc6e9f9f58581a94
18,139
[ -1 ]
18,154
operators.lisp
marcoheisig_Leibniz/code/internals/operators.lisp
(in-package #:leibniz) ;;; Constants (define-operator +e+) (define-operator +i+) (define-operator +gamma+) (define-operator +phi+) (define-operator +pi+) ;;; Common Lisp Operators (define-operator = (number &rest more-numbers)) (define-operator /= (number &rest more-numbers)) (define-operator < (number &rest ...
2,888
Common Lisp
.lisp
73
37.30137
78
0.769734
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
b9455f923a7cdfdbd204e49ff93d168b435c6176969edf0fe5d7e8d6055c6979
18,154
[ -1 ]
18,155
operator.lisp
marcoheisig_Leibniz/code/internals/operator.lisp
(in-package #:leibniz-internals) (defclass operator () ((%name :initform (alexandria:required-argument :name) :initarg :name :reader operator-name :type (and symbol (not null))) (%min-arguments :initform (alexandria:required-argument :min-arguments) :initarg :min-arguments :reader oper...
7,130
Common Lisp
.lisp
163
33.496933
91
0.589209
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
aa0eb160af8122d3de3b78214fa054c6cad09191ccf88ac02c91593e90fefddf
18,155
[ -1 ]
18,156
expression.lisp
marcoheisig_Leibniz/code/internals/expression.lisp
(in-package #:leibniz-internals) ;;; Common Lisp symbols and numbers are always a valid external representation ;;; of an expression, so that the results of many verbs can be passed directly ;;; to Common Lisp functions. (defmethod expressionp ((number number)) t) (defmethod atomic-expression-p ((number nu...
2,563
Common Lisp
.lisp
84
26.77381
79
0.714693
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
eaaa4c29999a45b23d6c5fc2c6b884a0a576ad8958a1f0cb260690a74c9d805d
18,156
[ -1 ]
18,157
generic-functions.lisp
marcoheisig_Leibniz/code/internals/generic-functions.lisp
(in-package #:leibniz-internals) ;;; Operators (defgeneric operatorp (object)) (defgeneric operator-min-arguments (object)) (defgeneric operator-max-arguments (object)) ;;; Expressions (defgeneric expressionp (object)) (defgeneric atomic-expression-p (object)) (defgeneric compound-expression-p (object)) (defge...
2,199
Common Lisp
.lisp
45
46.711111
76
0.819418
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
b7151c2c7eafdf75d59bcfa152b7defceaeb6344fc87145a2a4a141488d22995
18,157
[ -1 ]
18,158
packages.lisp
marcoheisig_Leibniz/code/internals/packages.lisp
(in-package #:common-lisp-user) (progn (defpackage #:leibniz-internals (:use #:common-lisp) (:export #:operator #:operatorp #:operator-min-arguments #:operator-max-arguments #:expressionp #:atomic-expression-p #:compound-expression-p #:compound-expression-operator ...
2,363
Common Lisp
.lisp
118
13.533898
57
0.524532
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
7301e0e792c264986f3c24530bb6fb4f90fdc935d0eaba739e50675871a1a081
18,158
[ -1 ]
18,159
operators.lisp
marcoheisig_Leibniz/code/maxima/operators.lisp
(in-package #:leibniz-maxima) ;;; Constants (define-noun maxima leibniz:+e+ ((list) 'maxima::$%e)) (define-noun maxima leibniz:+i+ ((list) 'maxima::$%i)) (define-noun maxima leibniz:+gamma+ ((list) 'maxima::$%gamma)) (define-noun maxima leibniz:+phi+ ((list) 'maxima::$%phi)) (define-noun maxima leibniz:+p...
4,953
Common Lisp
.lisp
158
26.386076
66
0.63428
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
d0f125061dd0d85e12ea9401f3055b6c485c616a42a1906d13208da45387a45b
18,159
[ -1 ]
18,160
classes.lisp
marcoheisig_Leibniz/code/maxima/classes.lisp
(in-package #:leibniz-maxima) (defclass maxima () ()) (defclass expression () ((%form :initform (alexandria:required-argument :form) :initarg :form :reader expression-form))) (defun make-expression (form) (make-instance 'expression :form form))
270
Common Lisp
.lisp
11
21.272727
50
0.703125
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
5f784b0a1c8f1964d3845e94c9556a741b3b7155760d902a37788ccfbb18dd56
18,160
[ -1 ]
18,161
methods.lisp
marcoheisig_Leibniz/code/maxima/methods.lisp
(in-package #:leibniz-maxima) (defmethod print-object ((expression expression) stream) (print-unreadable-object (expression stream :type t) (maxima::mgrind (expression-form expression) stream))) (defmethod expressionp ((expression expression)) t) (defmethod atomic-expression-p ((expression expression...
2,761
Common Lisp
.lisp
83
28.879518
69
0.718421
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
6a24b415c13962e1c0158452cabcc384f4b48d2eae49fe7058bd7c3f1d519222
18,161
[ -1 ]
18,162
packages.lisp
marcoheisig_Leibniz/code/maxima/packages.lisp
(cl:in-package #:common-lisp-user) (defpackage #:leibniz-maxima (:use #:closer-common-lisp #:leibniz-internals) (:export #:maxima #:expression)) ;; I have no idea why the variable %e-val isn't bound right away, but only ;; during Maxima's (initialize-runtime-globals). Many Maxima functions crash ;; without...
633
Common Lisp
.lisp
13
46.769231
79
0.749191
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
11fa079fafbf790ab7f3498df1aee37683a9973e805cc40442fa50e3ce0a4385
18,162
[ -1 ]
18,163
leibniz-common-lisp.asd
marcoheisig_Leibniz/code/common-lisp/leibniz-common-lisp.asd
(defsystem "leibniz-common-lisp" :author "Marco Heisig <marco.heisig@fau.de>" :license "AGPLv3" :depends-on ("alexandria" "closer-mop") :serial t :components ((:file "packages")))
199
Common Lisp
.lisp
9
19
46
0.68617
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
2637eb9653efebb586fa8be11762775a236307b9d892de4e4f7c0885349db52d
18,163
[ -1 ]
18,164
leibniz.asd
marcoheisig_Leibniz/code/leibniz.asd
(defsystem "leibniz" :author "Marco Heisig <marco.heisig@fau.de>" :license "AGPLv3" :depends-on ("leibniz-internals" "leibniz-common-lisp" "leibniz-maxima") :components ((:file "leibniz")))
210
Common Lisp
.asd
9
20.111111
46
0.693467
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
ec291b030beb9750cd93c26ac1508478cfe6c9e563996d7e2e919139083937eb
18,164
[ -1 ]
18,165
leibniz-internals.asd
marcoheisig_Leibniz/code/internals/leibniz-internals.asd
(defsystem "leibniz-internals" :author "Marco Heisig <marco.heisig@fau.de>" :license "AGPLv3" :depends-on ("alexandria" "trivia") :serial t :components ((:file "packages") (:file "generic-functions") (:file "operator") (:file "expression") (:file "operators")))
293
Common Lisp
.asd
13
19.153846
46
0.661871
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
1b81ecc73956b862f92cfb1e9e6a19e06daddbfd98da1190fc8021f554644560
18,165
[ -1 ]
18,166
leibniz-maxima.asd
marcoheisig_Leibniz/code/maxima/leibniz-maxima.asd
(defsystem "leibniz-maxima" :author "Marco Heisig <marco.heisig@fau.de>" :license "AGPLv3" :depends-on ("alexandria" "closer-mop" "maxima" "trivia") :serial t :components ((:file "packages") (:file "classes") (:file "methods") (:file "operators")))
283
Common Lisp
.asd
14
16.785714
46
0.644195
marcoheisig/Leibniz
3
0
0
AGPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
86eff8e27c05ebd24548de48f8838914ff68558622ec8c40579068e960fb4747
18,166
[ -1 ]
18,194
assert-p-test.lisp
noloop_assert-p/test/assert-p-test.lisp
(defpackage #:noloop.assert-p-test (:use #:common-lisp #:simplet #:assert-p) (:nicknames #:assert-p-test) (:import-from #:assert-p #:assertion-error-check)) (in-package #:noloop.assert-p-test) (defun test-t-p () (let ((actual t)) (assertion-error-check (eq (t-p actual) ...
4,864
Common Lisp
.lisp
151
26.443709
71
0.586641
noloop/assert-p
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
38c2a8571185df8a16b83584077058fe1bb52afd66c2f22d593347baf9a8e475
18,194
[ -1 ]
18,195
package.lisp
noloop_assert-p/src/package.lisp
(defpackage #:noloop.assert-p (:use #:common-lisp) (:nicknames #:assert-p) (:import-from #:assertion-error #:assertion-error #:get-stack-trace #:assertion-error-actual #:assertion-error-expected #:assertion-error-message ...
956
Common Lisp
.lisp
36
15.083333
42
0.428261
noloop/assert-p
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
9568f28e884386fbd8721921be4a457ce742dbe606a87d258f777c0509895076
18,195
[ -1 ]
18,196
assert-p.lisp
noloop_assert-p/src/assert-p.lisp
(in-package #:noloop.assert-p) (defun t-p (actual) "Check actual eq t" (assertion (eq t actual) actual t 'eq)) (defun not-t-p (actual) "Check actual not eq t" (assertion (not (eq t actual)) actual t 'not-eq)) (defun zero-p (actual) "Check actual eq 0" (assertion (eq 0 actual) actual 0 'eq)) (defun not-z...
5,118
Common Lisp
.lisp
117
40
323
0.716067
noloop/assert-p
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
d7a29fd525a2ebfdda576b7b27d471cc78a667f5cf949636227844024bcb2725
18,196
[ -1 ]
18,197
macros.lisp
noloop_assert-p/src/macros.lisp
(in-package #:noloop.assert-p) (defmacro with-gensyms (vars &body body) `(let ,(loop for v in vars collect `(,v (gensym))) ,@body)) (defmacro once-only ((&rest names) &body body) (let ((gensyms (loop for n in names collect (gensym)))) `(with-gensyms (,@gensyms) `(let (,,@(loop for g in gensyms ...
1,669
Common Lisp
.lisp
49
24.204082
71
0.522629
noloop/assert-p
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
ff08bfa1018103b9923a0a7577de44632bcd167763123298e419cf2a389cfbf5
18,197
[ -1 ]
18,198
assert-p.asd
noloop_assert-p/assert-p.asd
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*- (defsystem :assert-p :author "noloop <noloop@zoho.com>" :maintainer "noloop <noloop@zoho.com>" :license "GPLv3" :version "1.0.0" :homepage "https://github.com/noloop/assert-p" :bug-tracker "https://github.com/noloop/assert-p/issues" :source-contr...
1,131
Common Lisp
.asd
28
34.464286
64
0.626703
noloop/assert-p
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
cb14de4fbc8566b7522dc4b5c83807607d0857c299436fe9efedac350eed0f50
18,198
[ -1 ]
18,218
package.lisp
karlosz_elf-parser/package.lisp
;;;; package.lisp (defpackage #:elf-parser (:use #:cl) (:export :elf-p :elf-header :read-elf-header :display-elf-header))
140
Common Lisp
.lisp
7
16.428571
25
0.633588
karlosz/elf-parser
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
e59c568ebb4fb227716fa3349dc7af9af6987a63be0377a34e83cadf3f5487f3
18,218
[ -1 ]
18,219
elf-parser.lisp
karlosz_elf-parser/elf-parser.lisp
;;;; elf-parser.lisp (in-package #:elf-parser) (defun elf-p (filespec) "Determines if file has an ELF header." (with-open-file (input filespec :element-type '(unsigned-byte 8)) (= (read-ubytes 4 input) #x7f454c46))) (defclass elf-header () ((EI_MAG0 :initarg :EI_MAG0 :accessor magic-number :docume...
6,723
Common Lisp
.lisp
148
36.033784
67
0.608616
karlosz/elf-parser
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
8294431029f1aa5143fd1bf65a851d5131b31065de02d7bea94efa2936ea22e5
18,219
[ -1 ]
18,220
elf-parser.asd
karlosz_elf-parser/elf-parser.asd
;;;; elf-parser.asd (asdf:defsystem #:elf-parser :serial t :description "Parses ELF files" :license "GPL v3" :components ((:file "package") (:file "elf-parser")))
188
Common Lisp
.asd
7
22.285714
37
0.625698
karlosz/elf-parser
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
131a18ec6767d90924af5156d2e99aab53333a98be51d00756248a146abd7352
18,220
[ -1 ]
18,239
day3.lisp
blake-watkins_advent-of-code-2022/day3.lisp
(in-package :aoc-2022) (defun parse-rucksack () (parse-line (one-or-more (parse-alphanumeric)))) (defun parse-rucksacks () (one-or-more (parse-rucksack))) (defun parse-groups () (one-or-more (n-of 3 (parse-rucksack)))) (defun split-rucksack (rucksack) (let* ((half (floor (length rucksack) 2)) (fron...
1,117
Common Lisp
.lisp
29
31.172414
73
0.587581
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
0aea9954b6bca2ccf72d0de7dd1cb0a9077a029bc144888a0a347de314f985ce
18,239
[ -1 ]
18,240
day12.lisp
blake-watkins_advent-of-code-2022/day12.lisp
(in-package :aoc-2022) (defun parse-file () (parse-lines (parse-list (parse-alphanumeric) ""))) (defun neighbours (square squares) (remove-if-not (lambda (s) (gethash s squares)) (mapcar (lambda (dir) (map 'list #'+ square dir)) '((0 1) (0 -1) (...
1,553
Common Lisp
.lisp
40
29.45
72
0.54244
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
0c3f6f00e71c5da7813707cb35faa330144c77108583d8a4e485bed91be5df18
18,240
[ -1 ]
18,241
day16.lisp
blake-watkins_advent-of-code-2022/day16.lisp
(in-package :aoc-2022) (defstruct valve name flow next-valves neighbours position) (defun parse-plural (item) (with-monad (parse-string item) (zero-or-more (parse-character #\s)))) (defun parse-valve () (with-monad (parse-string "Valve ") (assign name (parse-keyword)) (assign flow-rate (par...
4,908
Common Lisp
.lisp
113
33.265487
83
0.583229
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
82e7b43175bcab00b25618c5a27789e2863287afd170f0a9795a0cf50a256877
18,241
[ -1 ]
18,242
package.lisp
blake-watkins_advent-of-code-2022/package.lisp
(defpackage :advent-of-code-2022 (:nicknames :aoc-2022) (:use :cl :aoc :iterate) (:shadowing-import-from :fset :reverse :size :convert :set :set-difference :seq :subseq) (:import-from :fset :concat :empty-set :empty-map :domain-contains? :lookup :contains? :includef :arb))
283
Common Lisp
.lisp
5
53.8
105
0.714801
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
0b30510cc253cf176c4b3967a6d8522edbb6359ea47f945b664801052dd6489b
18,242
[ -1 ]
18,243
day21.lisp
blake-watkins_advent-of-code-2022/day21.lisp
(in-package :aoc-2022) (defun parse-monkey () (parse-keyword #'alphanumericp)) (defun parse-expr () (either (parse-number) (with-monad (assign op1 (parse-monkey)) (parse-space) (assign op (parse-keyword)) (parse-space) (assign op2 (parse-monkey...
2,430
Common Lisp
.lisp
62
28.33871
82
0.473483
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
525a2de5207aa1cc0ebadbf0ab9072a66d1f2e584c3ba6ce09d08727a02291b4
18,243
[ -1 ]
18,244
day22.lisp
blake-watkins_advent-of-code-2022/day22.lisp
(in-package :aoc-2022) (defun parse-square () (with-monad (assign char (parse-character " .#")) (unit (case char (#\Space :blank) (#\. :open) (#\# :wall))))) (defun parse-direction () (with-monad (assign dir (parse-keyword #'upper-case-p)) (unit (ecase dir (:l :left) (:r :right))))) (defun parse-...
9,875
Common Lisp
.lisp
197
44.497462
150
0.654304
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
fd950dafc1722412b9344b849e6bfb72b5806f64db0b6d4569ccb5964707706b
18,244
[ -1 ]
18,245
day13.lisp
blake-watkins_advent-of-code-2022/day13.lisp
(in-package :aoc-2022) (defun parse-packet () (parse-bracketed (either (parse-list (either (parse-number) (parse-packet)) ",") (unit '())) "[]")) (defun parse-file () (parse-lines (n-of 2 (parse-line (parse-packet))))) (defun compare (a b) (cond ((and (numberp a) (numberp b)) (cond ((< a b) ...
1,319
Common Lisp
.lisp
39
29.74359
82
0.580975
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
9d9ce89dbb9c62d54362cae0a31320fbc8cafacfcaf24cadb024bff8b11609fa
18,245
[ -1 ]
18,246
day5.lisp
blake-watkins_advent-of-code-2022/day5.lisp
(in-package :aoc-2022) (defun parse-crate () (parse-bracketed (parse-alphanumeric) "[]")) (defun parse-blank () (with-monad (n-of 3 (parse-space)) (unit :blank))) (defun parse-crates () (parse-lines (parse-list (either (parse-blank) (parse-crate)) " "))) (defun parse-move () (with-monad (parse-s...
1,647
Common Lisp
.lisp
49
28.204082
81
0.61195
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
11269c5345ee2ed628305ae2fcb470b70e15b4b4baa899b63ba0db628e5cd676
18,246
[ -1 ]
18,247
day6.lisp
blake-watkins_advent-of-code-2022/day6.lisp
(in-package :aoc-2022) (defun parse-file () (one-or-more (parse-alphanumeric))) (defun day6 (input &key (part 1)) (let ((search-length (if (= part 1) 4 14)) (parsed (run-parser (parse-file) input))) (iter (for i from 0) (until (= search-length (length (remove-duplicates ...
433
Common Lisp
.lisp
12
28.666667
66
0.563246
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
39432d1c920ca19bd49778682e058665d033168fbcc1ac886768cf29bed9dc03
18,247
[ -1 ]
18,248
day19.lisp
blake-watkins_advent-of-code-2022/day19.lisp
(in-package :aoc-2022) (defun parse-cost () (with-monad (assign costs (parse-list (with-monad (assign num (parse-number)) (parse-space) (assign type (parse-keyword #'alphanumericp)) (unit (make-min...
5,924
Common Lisp
.lisp
155
31.722581
87
0.628149
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
118df150a308f62f27915c4a01b5e848ea1b3efd95430d51e5086b27dceed677
18,248
[ -1 ]
18,249
day17.lisp
blake-watkins_advent-of-code-2022/day17.lisp
(in-package :aoc-2022) (defun parse-file () (with-monad (assign chars (zero-or-more (parse-character "<>"))) (unit (mapcar (lambda (c) (case c (#\< :left) (#\> :right))) chars)))) (defparameter *shapes* '(((0 0) (0 1) (0 2) (0 3)) ((0 1) (1 0) (1 1) (1 2) (2 1)) ((0 0) (0 1) (0 2) (1 2) (2 2)) ...
4,688
Common Lisp
.lisp
102
39.578431
81
0.614016
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
0940c260235a181802a7265931c6c19766fc402a9181e7d3cc58d93eac334db3
18,249
[ -1 ]
18,250
day4.lisp
blake-watkins_advent-of-code-2022/day4.lisp
(in-package :aoc-2022) (defun parse-assignment () (parse-list (parse-number) (parse-character #\-))) (defun parse-file () (parse-lines (parse-list (parse-assignment)))) (defun day4 (input &key (part 1)) (let ((parsed (run-parser (parse-file) input))) (iter (for ((s1 e1) (s2 e2)) in parsed) (cou...
557
Common Lisp
.lisp
17
25.058824
52
0.484171
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
ad2cd34f45374855773a0f9853a8d3069d75ca4d500a28639a8b3152b1aca8ad
18,250
[ -1 ]
18,251
day15.lisp
blake-watkins_advent-of-code-2022/day15.lisp
(in-package :aoc-2022) (defun parse-coordinate () (with-monad (parse-string "x=") (assign x (parse-number)) (parse-string ", y=") (assign y (parse-number)) (unit (list x y)))) (defun parse-file () (zero-or-more (n-of 2 (parse-until (parse-coordinate))))) (defun covered-interval (sensor beacon...
2,152
Common Lisp
.lisp
53
35.622642
118
0.663958
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
4d8d02e37458d084c46dd865a804f35e1180879ef2668c28c725c3f8764d269d
18,251
[ -1 ]
18,252
day14.lisp
blake-watkins_advent-of-code-2022/day14.lisp
(in-package :aoc-2022) (defun parse-file () (parse-lines (parse-list (parse-number-list) " -> "))) (defun build-path (start end map) (iter (with dir = (point-signum (point- end start))) (for cur initially start then (point+ cur dir)) (setf (gethash cur map) t) (until (equal cur end)) (finally ...
2,676
Common Lisp
.lisp
70
27.514286
80
0.50481
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
c832553c5eec7180b4a0237b9e461a952edc4a4f2ec164e19d29fcac8a5e14fc
18,252
[ -1 ]
18,253
day9.lisp
blake-watkins_advent-of-code-2022/day9.lisp
(in-package :aoc-2022) (defun parse-file () (parse-lines (parse-list (either (parse-number) (parse-keyword)) " "))) (defun move (pos dir) (destructuring-bind (r c) pos (ecase dir (:U (list (1- r) c)) (:D (list (1+ r) c)) (:L (list r (1- c))) (:R (list r (1+ c)))))) (defun update-tail ...
1,157
Common Lisp
.lisp
30
32.566667
78
0.563669
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
fc50f6a6fee27550cddc9beec726762c292e26f964f47095c185c3de440d882e
18,253
[ -1 ]
18,254
day24.lisp
blake-watkins_advent-of-code-2022/day24.lisp
(in-package :aoc-2022) (defun parse-map () (parse-lines (one-or-more (parse-character "#.><^v")))) ;; Return the start and end squares rc, the dimensions of the blizzard area, and a ;; hash keyed by position of each blizzard (defun get-map (input) (let* ((parsed (run-parser (parse-map) input)) (start (l...
4,609
Common Lisp
.lisp
107
34.364486
82
0.579568
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
544026021ca78de4dde6c1939e6c82e8a06f3a0f6fdf55c39b1c7d2a49dc5ec2
18,254
[ -1 ]
18,255
day18.lisp
blake-watkins_advent-of-code-2022/day18.lisp
(in-package :aoc-2022) (defun parse-file () (parse-lines (parse-number-list))) (defun neighbours (point) (mapcar (lambda (d) (point+ point d)) '((1 0 0) (-1 0 0) (0 1 0) (0 -1 0) (0 0 1) (0 0 -1)))) (defun map-dimensions (map) ...
1,878
Common Lisp
.lisp
49
26.938776
67
0.501098
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
90dc22a5b82cd4a6f17ced0600ed4b43ccacb7e7f8e2b72910c640621cdc47ca
18,255
[ -1 ]
18,256
day11.lisp
blake-watkins_advent-of-code-2022/day11.lisp
(in-package :aoc-2022) (defstruct monkey id items operation test-num throw-to inspections) (defun parse-monkey () (with-monad (parse-string "Monkey ") (assign id (parse-number)) (parse-until (parse-string "Starting items: ")) (assign items (parse-list (parse-number) ", ")) (parse-until (parse-...
2,376
Common Lisp
.lisp
55
33.2
79
0.571305
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
ab45ea0b7eca0919626ac598ff31fa56800dfb2cb0795dac53f7e8596e02485a
18,256
[ -1 ]
18,257
day23.lisp
blake-watkins_advent-of-code-2022/day23.lisp
(in-package :aoc-2022) (defun parse-file () (parse-lines (one-or-more (either (then (parse-character "#") (unit :elf)) (then (parse-character ".") (unit :blank)) (then (parse-character " ") (unit :blank)))))) (defparameter *propose-order* '(:n ...
3,383
Common Lisp
.lisp
89
30.258427
83
0.567155
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
b6b3a4411495d4cb0656e1e86d7c86ccc03ddcd9368bd1605abee831729041c9
18,257
[ -1 ]
18,258
day7.lisp
blake-watkins_advent-of-code-2022/day7.lisp
(in-package :aoc-2022) (defun parse-directory-name () (parse-characters #'alphanumericp)) (defun parse-cd () (with-monad (parse-string "cd ") (either (then (parse-string "..") (unit (list :cd-up))) (then (parse-string "/") (unit (list :cd-root))) (with-monad (assign d...
2,572
Common Lisp
.lisp
69
30.985507
80
0.615261
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
0575dce8394d47a53af32ec4c36f61fec521905ca92e4de52ace708da309281d
18,258
[ -1 ]
18,259
day1.lisp
blake-watkins_advent-of-code-2022/day1.lisp
(in-package :aoc-2022) (defun parse-elf () (parse-list (parse-number) (parse-newline))) (defun parse-elves () (parse-list (parse-elf) (n-of 2 (parse-newline)))) (defun day1 (input &key (part 1)) (let* ((parsed (run-parser (parse-elves) input)) (calories (mapcar (lambda (foods) (reduce #'+ foods)) parsed)) ...
422
Common Lisp
.lisp
12
32.583333
64
0.643735
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
2774c6bf2bbbcda1c5c399fc0992389ac011fece3b9355b9303c067e515cea96
18,259
[ -1 ]
18,260
day20.lisp
blake-watkins_advent-of-code-2022/day20.lisp
(in-package :aoc-2022) (defun parse-file () (parse-lines (parse-number))) (defun mix-num (nums num orig-idx) (let* ((idx (fset:position-if (lambda (pair) (= orig-idx (second pair))) nums)) (new-idx (mod (+ num idx) (1- (fset:size nums)))) (without (fset:less nums ...
1,343
Common Lisp
.lisp
33
30.939394
80
0.522008
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
444caef4dc66f6dcc5205538dba45ed2dd6eff38285bc24d996ba805ef7e8b2a
18,260
[ -1 ]
18,261
day2.lisp
blake-watkins_advent-of-code-2022/day2.lisp
(in-package :aoc-2022) (defun parse-game () (parse-list (parse-keyword) (parse-space))) (defun parse-file () (parse-lines (parse-game))) ;; convert the parsed list into appropriate symbols (defun convert-rps (parsed &key (part 1)) (mapcar (lambda (c) (if (eq part 1) (ecase c ...
2,054
Common Lisp
.lisp
49
34.836735
74
0.593985
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
c2b0ac031ba6ee119605ce84877628e5a1975629b20e8c846aed0c05d8a70b3a
18,261
[ -1 ]
18,262
day8.lisp
blake-watkins_advent-of-code-2022/day8.lisp
(in-package :aoc-2022) (defun parse-file () (parse-lines (one-or-more (parse-digit)))) (defparameter *directions* '((1 0) (-1 0) (0 1) (0 -1))) (defun get-tree (pos trees) (destructuring-bind (r c) pos (if (<= 0 r (1- (length trees))) (let ((row (elt trees r))) (if (<= 0 c (1- (length row))) (elt ...
1,939
Common Lisp
.lisp
70
22.814286
71
0.595481
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
c1da5d33fb36b47923fa2ae24cb50250c37b5c58f68e8721876354757eee3864
18,262
[ -1 ]
18,263
advent-of-code-2022.asd
blake-watkins_advent-of-code-2022/advent-of-code-2022.asd
(asdf:defsystem "advent-of-code-2022" :description "Advent of Code 2022" :version "0.0.1" :author "Blake Watkins <blakewatkins@gmail.com>" :licence "GNU General Public License (GPL) version 3" :depends-on ("advent-of-code" "iterate" "fset") :components ((:file "package") (:file "day1" :depend...
1,157
Common Lisp
.asd
23
38.347826
56
0.5194
blake-watkins/advent-of-code-2022
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
8e7a20b3851ce0088135449e138f22b7669993ffae36f83b74f0ffb33227dba6
18,263
[ -1 ]
18,303
day3.lisp
blake-watkins_advent-of-code-2021/day3.lisp
(in-package :aoc-2021) (defun parse-file () (parse-lines (parse-list (parse-digit) ""))) (defun most-common (numbers) (let* ((half-length (/ (length numbers) 2)) (one-counts (reduce (lambda (a b) (map 'list #'+ a b)) numbers))) (mapcar (lambda (c) (cond ((> c half-length) 1)...
1,451
Common Lisp
.lisp
33
34.363636
77
0.54745
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
77beaade6d3593395cafa22166f6af43c65131b74bbbb31f55210d00d01d9c82
18,303
[ -1 ]
18,304
day12.lisp
blake-watkins_advent-of-code-2021/day12.lisp
(in-package :aoc-2021) (defun parse-file () (parse-lines (parse-list (parse-characters #'alpha-char-p) "-"))) (defun big-cave-p (cave) (upper-case-p (elt cave 0))) (defun num-paths-from (cave path allow-repeat caves) (if (equal cave "end") 1 (iter (for neighbour in-fset (fset:lookup caves c...
1,260
Common Lisp
.lisp
31
29.967742
69
0.540474
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
afec4e3116efbe7f1d897ca5a0c4ad5ada82ecb3bb18b578bb3b25575ef4d4d2
18,304
[ -1 ]
18,305
package.lisp
blake-watkins_advent-of-code-2021/package.lisp
(defpackage :advent-of-code-2021 (:nicknames :aoc-2021) (:use :cl :aoc :iterate) (:shadowing-import-from :fset :reverse :size :convert :set :set-difference :seq :subseq) (:import-from :fset :concat :empty-set :empty-map :domain-contains? :lookup :contains? :includef :arb))
283
Common Lisp
.lisp
5
53.8
105
0.714801
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
96c0476fc4e90b82afb59dbf3a8eb2350df72a8a0dc1bbe12f6e5b9fac665de5
18,305
[ -1 ]
18,306
day25.lisp
blake-watkins_advent-of-code-2021/day25.lisp
(in-package :aoc-2021) (defun parse-map () (parse-lines (one-or-more (with-monad (assign char (parse-character ">v.")) (unit (ecase char (#\> :east) (#\v :south) ...
2,087
Common Lisp
.lisp
54
28.462963
82
0.545634
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
61004076d8e1f14338bbf7db303a6a97941b0625612d0155de1f9c0614c46720
18,306
[ -1 ]
18,307
day21.lisp
blake-watkins_advent-of-code-2021/day21.lisp
(in-package :aoc-2021) ;; Return the place in the circle you'd be if you started at N and moved X ;; places forward. (defun place (n x) (1+ (mod (+ (1- n) x) 10))) ;; Returns the score of rolling a deterministic dice three times if it has ;; already been rolled ROLLS times. (defun roll-three (rolls) (iter (...
2,446
Common Lisp
.lisp
54
38.37037
80
0.597653
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
2333b7a4c0f5a1413f43707dacfada9bacadc3e977e234094c5d183504a750a3
18,307
[ -1 ]
18,308
day5.lisp
blake-watkins_advent-of-code-2021/day5.lisp
(in-package :aoc-2021) (defun parse-file () (parse-lines (parse-list (parse-number-list) (parse-string " -> ")))) (defun day5 (input &optional (part2 nil)) (let ((parsed (run-parser (parse-file) input)) (counts (make-hash-table :test 'equal))) (iter (for (a b) in parsed) (for diff = (point- b a))...
636
Common Lisp
.lisp
19
28.947368
71
0.598374
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
a543f38167e6f2e0204e8a9314f2b6842d02dd4db7c0a0cc7304e0d07ebb5c2b
18,308
[ -1 ]
18,309
day6.lisp
blake-watkins_advent-of-code-2021/day6.lisp
(in-package :aoc-2021) (defun parse-file () (parse-number-list)) (defun age-fish (fish) (let ((new-fish (make-hash-table))) (iter (for (timer num-fish) in-hashtable fish) (if (= 0 timer) (progn (incf (gethash 6 new-fish 0) num-fish) (incf (gethash 8 new-fish 0) nu...
759
Common Lisp
.lisp
25
23.68
58
0.576976
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
23ff5bd73b25b4f6bcad299b37447078a8b11dd6f5b778e10e076b6a8327dbd4
18,309
[ -1 ]
18,310
day19.lisp
blake-watkins_advent-of-code-2021/day19.lisp
(in-package :aoc-2021) (defun parse-beacon () (with-monad (assign coords (parse-number-list)) (unit coords))) (defun parse-scanner () (with-monad (parse-string "--- scanner ") (assign id (parse-number)) (parse-string " ---") (parse-newline) (assign beacons (parse-lines (parse-beacon)))...
9,424
Common Lisp
.lisp
231
30.225108
82
0.557071
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
24cedaaf470f71b8ba91d40225255d00be41f2691dd2d5811aa8bc5d8859ebfa
18,310
[ -1 ]
18,311
day17.lisp
blake-watkins_advent-of-code-2021/day17.lisp
(in-package :aoc-2021) (defun parse-range () (with-monad (parse-lower-case) (parse-character #\=) (parse-list (parse-number) (parse-string "..")))) (defun parse-file () (with-monad (parse-string "target area: ") (parse-list (parse-range) ", "))) (defun within (point target) (every (lambda (...
1,366
Common Lisp
.lisp
38
29.868421
81
0.598336
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
f889ea7963e28bd9ced4eceb539e66b21fe8d15a33cbe2e82d261851a7dbc901
18,311
[ -1 ]
18,312
day4.lisp
blake-watkins_advent-of-code-2021/day4.lisp
(in-package :aoc-2021) (defun parse-board () (n-of 5 (n-of 5 (parse-until (parse-number))))) (defun parse-file () (with-monad (assign numbers (parse-number-list)) (assign board (parse-list (parse-board) "")) (unit (list numbers board)))) (defun winning-p (board) (or (some (lambda (row) (every (l...
1,476
Common Lisp
.lisp
37
32.837838
80
0.607816
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
a2ba73bd30d3008690a60383c52d193f58651094a3c7cf372496ee42385b72c3
18,312
[ -1 ]
18,313
day15.lisp
blake-watkins_advent-of-code-2021/day15.lisp
(in-package :aoc-2021) (defun parse-file () (parse-lines (parse-list (parse-digit) ""))) (defun neighbours (p max) (remove-if-not (lambda (neighbour) (every (lambda (c m) (<= 0 c (1- m))) neighbour max)) (mapcar (lambda (d) (map 'list #'+ d p)) '((1 0) (0 1) (-1 0) (0 -1))))) (defun risk (cur map)...
1,110
Common Lisp
.lisp
28
33.178571
74
0.553803
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
456bc19c00d7873d177e7decb8036d8ce35e9e4a7c02f6bd39817d3f4ef65870
18,313
[ -1 ]
18,314
day14.lisp
blake-watkins_advent-of-code-2021/day14.lisp
(in-package :aoc-2021) (defun parse-file () (with-monad (assign polymer (parse-list (parse-upper-case) "")) (n-of 2 (parse-newline)) (assign templates (parse-lines (with-monad (assign pattern (parse-list (parse-upper-case) "")) (par...
2,823
Common Lisp
.lisp
57
38.842105
120
0.589279
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
cb7bbaf2c37ebd4b483d9d1562398535a971110741d732f5913ad0b4a0e5b6c2
18,314
[ -1 ]
18,315
day9.lisp
blake-watkins_advent-of-code-2021/day9.lisp
(in-package :aoc-2021) (defun parse-file () (parse-lines (parse-list (parse-digit) ""))) (defun neighbours (p map) (remove-if-not (lambda (p) (destructuring-bind (a b) p (and (<= 0 a (1- (length map))) (<= 0 b (1- (length (first map))))))) (mapcar (lambda (d) (map 'lis...
1,880
Common Lisp
.lisp
52
27.942308
59
0.521142
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
fa2a8fa57b1d3d4de743d5266c4833e7df2ab1c436e5773272461c847351d070
18,315
[ -1 ]
18,316
day24.lisp
blake-watkins_advent-of-code-2021/day24.lisp
(in-package :aoc-2021) (defun parse-instruction () (with-monad (assign opcode (parse-keyword)) (parse-space) (assign operands (parse-list (either (parse-number) (parse-keyword)) #\Space)) (unit (list opcode operands)))) (defun...
3,784
Common Lisp
.lisp
102
27.54902
77
0.554072
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
12f7b2aba8fd8ad6ac2c0858bada9ffcc96d79cc34629733a7d20e0d56bc552d
18,316
[ -1 ]
18,317
day18.lisp
blake-watkins_advent-of-code-2021/day18.lisp
(in-package :aoc-2021) (defun parse-pair () (either (with-monad (parse-character #\[) (assign x (parse-pair)) (parse-character #\,) (assign y (parse-pair)) (parse-character #\]) (unit (list x y))) (parse-number))) ;; Zippers ;; http:/...
4,038
Common Lisp
.lisp
110
32.527273
78
0.664452
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
368898e41b40a3dc17143902a381168fc970f8746f02fbef3109c81df44e1305
18,317
[ -1 ]
18,318
day11.lisp
blake-watkins_advent-of-code-2021/day11.lisp
(in-package :aoc-2021) (defun parse-file () (parse-lines (parse-list (parse-digit) ""))) (defun neighbours (p map) (remove-if-not (lambda (p) (fset:domain-contains? map p)) (mapcar (lambda (d) (map 'list #'+ p d)) '((1 0) (-1 0) (0 1) (0 -1) (1 1) (-1 1) (1 -1) (-1 -1))))) (def-state (map flash...
2,903
Common Lisp
.lisp
76
31.842105
125
0.633132
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
840fd0cc49d0599559dc59e44d8d80279c0296310da7d26c968f32c9b8184ba9
18,318
[ -1 ]
18,319
game.lisp
blake-watkins_advent-of-code-2021/game.lisp
(in-package :aoc-2021) ;;; Game a s :: s -> ((a, s) -> r) -> r ;;; Combination of continuation and state monads ;;; A game monad takes a state (s) and a continuation ((a, s) -> r). It performs ;;; a computation with result type a and then calls its continuation with the ;;; result and the (possibly changed) state. (...
2,187
Common Lisp
.lisp
70
26.542857
86
0.611058
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
d0f1f83e3e56785b2dbd0267287aa0efc361ea15afe72dfa643318d9a3d7dea9
18,319
[ -1 ]
18,320
day10.lisp
blake-watkins_advent-of-code-2021/day10.lisp
(in-package :aoc-2021) (defun parse-file () (parse-lines (parse-list (parse-character "({[<>]})") ""))) (defun closing-char (char) (ecase char (#\( #\)) (#\[ #\]) (#\{ #\}) (#\< #\>))) (defun parse-syntax (chars) (iter (with closing = ()) (for char in chars) (cond ((find char "({[<") (push (c...
1,293
Common Lisp
.lisp
35
30.742857
72
0.550759
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
ff22d62cb3c2e7da1cd72e3ce58db7d33c03e92e5e1d6be0023994b4c3aab4d8
18,320
[ -1 ]
18,321
day7.lisp
blake-watkins_advent-of-code-2021/day7.lisp
(in-package :aoc-2021) (defun day7 (input &optional (part1 nil)) (let ((parsed (run-parser (parse-number-list) input))) (iter (for pos from (reduce #'min parsed) to (reduce #'max parsed)) (for dist = (if part1 (lambda (v) (abs (- v pos))) ...
452
Common Lisp
.lisp
12
28.25
67
0.482916
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
f2b32a80bdd393d50add59ae238668b4c1dcbf5927396fd5fca55bc4271c4954
18,321
[ -1 ]
18,322
day1.lisp
blake-watkins_advent-of-code-2021/day1.lisp
(in-package :aoc-2021) (defun parse-file () (parse-list (parse-number) (parse-newline))) (defun sum-between (nums a b) (reduce #'+ (subseq nums a b))) (defun day1 (input) (let ((parsed (run-parser (parse-file) input))) (iter (with part1 = 0) (with part2 = 0) (for idx from 0) (...
625
Common Lisp
.lisp
21
24.47619
49
0.582038
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
4fc78eac8a121f93120909c4a1e3bb22eec7548d8863799d84071e2f0977f5a8
18,322
[ -1 ]
18,323
day2.lisp
blake-watkins_advent-of-code-2021/day2.lisp
(in-package :aoc-2021) (defun parse-file () (parse-lines (with-monad (assign dir (parse-keyword)) (parse-space) (assign amount (parse-number)) (unit (list dir amount))))) (defun day2 (input) (let ((parsed (run-parser (parse-file) input))) (iter (with pos = 0) (with depth = 0...
930
Common Lisp
.lisp
35
20.142857
49
0.544843
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
ce6178ccc08b3bfe7442b0bbe6f41d9ecc1cb673f75437c992b206940eec002e
18,323
[ -1 ]
18,324
day8.lisp
blake-watkins_advent-of-code-2021/day8.lisp
(in-package :aoc-2021) (defun parse-pattern () (with-monad (assign word (parse-characters #'lower-case-p)) (unit (fset:convert 'fset:set word)))) (defun parse-file () (parse-lines (parse-list (parse-list (parse-pattern) #\Space) (parse-string " | ")))) (defun day8 (input) (let ((parsed (run-parser (...
2,285
Common Lisp
.lisp
60
31.316667
84
0.610131
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
2035192b83818910469b60aa7d7f2b3d747dfb73649ce7d594e022dcf9a0b603
18,324
[ -1 ]
18,325
advent-of-code-2021.asd
blake-watkins_advent-of-code-2021/advent-of-code-2021.asd
(asdf:defsystem "advent-of-code-2021" :description "Advent of Code 2021" :version "0.0.1" :author "Blake Watkins <blakewatkins@gmail.com>" :licence "GNU General Public License (GPL) version 3" :depends-on ("advent-of-code" "iterate" "fset") :components ((:file "package") (:file "game" :depend...
1,603
Common Lisp
.asd
31
38.709677
60
0.503817
blake-watkins/advent-of-code-2021
3
0
0
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
131da826e44d386d529041776f5962e434c0f82be9cef182521d96c1256adb5a
18,325
[ -1 ]
18,363
package.lisp
scymtym_language_smarts/test/smiles/package.lisp
;;;; package.lisp --- Package definition for SMILES tests. ;;;; ;;;; Copyright (C) 2018 Jan Moringen ;;;; ;;;; Author: Jan Moringen <jmoringe@techfak.uni-bielefeld.de> (cl:defpackage #:language.smiles.test (:use #:cl #:fiveam) (:export #:run-tests)) (cl:in-package #:language.smiles.test) (def-suite :l...
384
Common Lisp
.lisp
15
23.2
61
0.68595
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
c94d93d0bfbdff829d68fe0cfedc90cb558fcc1764f3921cfb6eacb36861c8be
18,363
[ -1 ]
18,364
package.lisp
scymtym_language_smarts/test/smiles/parser/package.lisp
(cl:defpackage #:language.smiles.parser.test (:use #:cl #:fiveam #:language.smiles.parser) (:import-from #:parser.common-rules.test #:define-rule-test #:parses-are)) (cl:in-package #:language.smiles.parser.test) (def-suite :language.smiles.parser :in :language.smiles)
295
Common Lisp
.lisp
11
23.454545
45
0.716846
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
44906ecf941d050243eed40c9f257974d59f77f3f03ce03ec328e8ec7a094389
18,364
[ -1 ]
18,365
grammar.lisp
scymtym_language_smarts/test/smiles/parser/grammar.lisp
;;;; grammar.lisp --- Tests for the SMILES parser. ;;;; ;;;; Copyright (C) 2018 Jan Moringen ;;;; ;;;; Author: Jan Moringen <jmoringe@techfak.uni-bielefeld.de> (cl:in-package #:language.smiles.parser.test) (in-suite :language.smiles.parser) (test rule.atom-pattern "Smoke test for the `atom-pattern' rule." (arch...
1,163
Common Lisp
.lisp
29
27.448276
91
0.469027
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
27c944f060cf02a03236e437d32abdb2e95607c3feb036cdc945d6ba64ed1b5c
18,365
[ -1 ]
18,366
package.lisp
scymtym_language_smarts/test/smarts/package.lisp
;;;; package.lisp --- Package definition for SMART tests. ;;;; ;;;; Copyright (C) 2018 Jan Moringen ;;;; ;;;; Author: Jan Moringen <jmoringe@techfak.uni-bielefeld.de> (cl:defpackage #:language.smarts.test (:use #:cl #:fiveam) (:export #:run-tests)) (cl:in-package #:language.smarts.test) (def-suite :la...
383
Common Lisp
.lisp
15
23.133333
61
0.685083
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
6f9943003cecee66f702d5b541a8417525ede93355aee5fc3bc7def23881bb98
18,366
[ -1 ]
18,367
package.lisp
scymtym_language_smarts/test/smarts/parser/package.lisp
;;;; package.lisp --- Package definition for tests of the SMARTS parser. ;;;; ;;;; Copyright (C) 2018, 2019 Jan Moringen ;;;; ;;;; Author: Jan Moringen <jmoringe@techfak.uni-bielefeld.de> (cl:defpackage #:language.smarts.parser.test (:use #:cl #:fiveam #:language.smarts.parser) (:import-from #:parser.c...
484
Common Lisp
.lisp
16
27.5625
72
0.709957
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
778e3350d74f0f8b21ef7234b12bc73088bd79a49013ab4d17f3ab26f2f3177b
18,367
[ -1 ]
18,368
grammar.lisp
scymtym_language_smarts/test/smarts/parser/grammar.lisp
;;;; grammar.lisp --- Tests for the SMARTS grammar. ;;;; ;;;; Copyright (C) 2018, 2019 Jan Moringen ;;;; ;;;; Author: Jan Moringen <jmoringe@techfak.uni-bielefeld.de> (cl:in-package #:language.smarts.parser.test) (in-suite :language.smarts.parser) (test rule.atom-pattern "Smoke test for the `atom-pattern' rule." ...
3,592
Common Lisp
.lisp
77
32.376623
103
0.449073
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
91a3c6c6eab889562f8cddd9bb48a20c568b976d01ab1547e651194b7319d5b7
18,368
[ -1 ]
18,369
package.lisp
scymtym_language_smarts/src/smiles/parser/package.lisp
;;;; package.lisp --- Package definition for the smiles.parser module. ;;;; ;;;; Copyright (C) 2018 Jan Moringen ;;;; ;;;; Author: Jan Moringen <jmoringe@techfak.uni-bielefeld.de> (cl:defpackage #:language.smiles.parser (:use #:cl #:alexandria #:esrap) (:local-nicknames (#:bp #:architecture.builder-pr...
1,088
Common Lisp
.lisp
57
15.491228
70
0.643068
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
677efbc2890e91cc4ed448b4bcd2d2c823ecc3636da1bbe347de0723ecdd6377
18,369
[ -1 ]
18,370
protocol.lisp
scymtym_language_smarts/src/smiles/parser/protocol.lisp
;;;; protocol.lisp --- Protocol provided by the smiles.parser module. ;;;; ;;;; Copyright (C) 2018 Jan Moringen ;;;; ;;;; Author: Jan Moringen <jmoringe@techfak.uni-bielefeld.de> (cl:in-package #:language.smiles.parser) (defgeneric parse (input builder &key atom-maps?) (:documentation "Parse INPUT as a SMILES ex...
655
Common Lisp
.lisp
15
40.733333
69
0.710692
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
7f27a1d88e282e197db0a1956d281742e1de8cbe22d897cd116cb6fdd8aca7c2
18,370
[ -1 ]
18,371
grammar.lisp
scymtym_language_smarts/src/smiles/parser/grammar.lisp
;;;; grammar.lisp --- Grammar for the SMILES language. ;;;; ;;;; Copyright (C) 2018 Jan Moringen ;;;; ;;;; Author: Jan Moringen <jmoringe@techfak.uni-bielefeld.de> ;;;; Esrap parser for the SMILES language. ;;;; ;;;; See https://en.wikipedia.org/wiki/Simplified_molecular-input_line-entry_system ;;;; http://www.day...
6,391
Common Lisp
.lisp
159
32.855346
104
0.60142
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
cce099f60ea361bcc94f23951df2991fdc7c13a4c71f070ca60a89cf53e12cca
18,371
[ -1 ]
18,372
variables.lisp
scymtym_language_smarts/src/smiles/parser/variables.lisp
;;;; variables.lisp --- Variables used by the smiles.parser module. ;;;; ;;;; Copyright (C) 2018 Jan Moringen ;;;; ;;;; Author: Jan Moringen <jmoringe@techfak.uni-bielefeld.de> (cl:in-package #:language.smiles.parser) (defvar *atom-maps?* nil)
246
Common Lisp
.lisp
7
33.857143
67
0.708861
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
b95e1cd3d40577617cefd1bb19a044f8823dfed6480672cd2dbd88bd578e14ad
18,372
[ -1 ]
18,373
package.lisp
scymtym_language_smarts/src/smarts/parser/package.lisp
;;;; package.lisp --- Package definition for the smarts.parser module. ;;;; ;;;; Copyright (C) 2018, 2019 Jan Moringen ;;;; ;;;; Author: Jan Moringen <jmoringe@techfak.uni-bielefeld.de> (cl:defpackage #:language.smarts.parser (:use #:cl #:alexandria #:esrap) (:shadow #:parse) (:local-nicknames (...
532
Common Lisp
.lisp
23
20
70
0.662698
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
2dbdfe8ee3ef2ba6549cfe5adbf58b4a552e497b2914ef3ce67caf531b95b5d8
18,373
[ -1 ]
18,374
protocol.lisp
scymtym_language_smarts/src/smarts/parser/protocol.lisp
;;;; protocol.lisp --- Protocol provided by the smarts.parser module. ;;;; ;;;; Copyright (C) 2018 Jan Moringen ;;;; ;;;; Author: Jan Moringen <jmoringe@techfak.uni-bielefeld.de> (cl:in-package #:language.smarts.parser) (defgeneric parse (input builder) (:documentation "Parse INPUT as a SMARTS expression, build ...
493
Common Lisp
.lisp
13
35.384615
70
0.706499
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
bd361e0dd8f2ca2f75a062b00fd1d554eb2cd8aec6bafbc9366f60ea4f1ed345
18,374
[ -1 ]
18,375
grammar.lisp
scymtym_language_smarts/src/smarts/parser/grammar.lisp
;;;; grammar.lisp --- Grammar for the SMARTS language. ;;;; ;;;; Copyright (C) 2018, 2019 Jan Moringen ;;;; ;;;; Author: Jan Moringen <jmoringe@techfak.uni-bielefeld.de> ;;;; Esrap parser for the SMARTS language as an extension of the Esrap ;;;; parser for the SMILES language. ;;;; ;;;; See https://en.wikipedia.org/wi...
6,918
Common Lisp
.lisp
162
33.395062
91
0.570218
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
b1e22ee8b66a7c1caff74137b90ec18d28d7bc6cbfe9e0a25563194b3c694331
18,375
[ -1 ]
18,376
language.smiles.asd
scymtym_language_smarts/language.smiles.asd
(defsystem "language.smiles" :description "A parser for the SMILES language." :license "GPLv3" :author "Jan Moringen <jmoringe@techfak.uni-bielefeld.de>" :version (:read-file-form "version-string.sexp") :depends-on ("alexandria" (:version "esrap" "0.16")...
1,618
Common Lisp
.asd
34
33.705882
73
0.46374
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
3905b9bbe1e257da015c3e68cd9c6d1ba1612555949fc4088592bb90afad2a28
18,376
[ -1 ]
18,377
language.smarts.asd
scymtym_language_smarts/language.smarts.asd
(defsystem "language.smarts" :description "A parser for the SMARTS language." :license "GPLv3" :author "Jan Moringen <jmoringe@techfak.uni-bielefeld.de>" :version (:read-file-form "version-string.sexp") :depends-on ("alexandria" (:version "esrap" "0.16")...
1,727
Common Lisp
.asd
35
35.742857
99
0.47707
scymtym/language.smarts
3
1
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
19bc111f3df744b8a7e041b63a112ec1f0bb42476c2c34eacd3d044a6e92f764
18,377
[ -1 ]
18,407
package.lisp
ikbenlike_cl-keycloak/package.lisp
;;;; package.lisp (defpackage #:cl-keycloak (:use #:cl) (:export #:register-client #:get-well-known #:get-auth-redirect #:get-user-info #:with-client #:request-token #:client-id #:client-secret #:server-url #:key-rea...
350
Common Lisp
.lisp
14
15.785714
30
0.486567
ikbenlike/cl-keycloak
3
0
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
e56133d9c4d7073dbf6237912af0b974f7db56851a3d49b4cd005ea7ed8bc67a
18,407
[ -1 ]
18,408
authenticate.lisp
ikbenlike_cl-keycloak/authenticate.lisp
(in-package #:cl-keycloak) (defclass client () ((client-id :initarg :client-id :accessor client-id) (client-secret :initarg :client-secret :accessor client-secret) (server-url :initarg :server-url :accessor server-url) (key-realm :initarg :key-realm :accessor key-realm) (s...
2,872
Common Lisp
.lisp
74
28.783784
86
0.570814
ikbenlike/cl-keycloak
3
0
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
6a79f50f22b37e29e579cac0cfc2ac7b901a75705f98ddcbee567daca85dfe5d
18,408
[ -1 ]
18,409
cl-keycloak.asd
ikbenlike_cl-keycloak/cl-keycloak.asd
;;;; cl-keycloak.asd (asdf:defsystem #:cl-keycloak :description "Describe cl-keycloak here" :author "Your Name <your.name@example.com>" :license "GPLv3" :version "0.0.1" :serial t :depends-on (#:drakma #:flexi-streams #:yason) :components ((:file "package") (:file "authenticate") ...
350
Common Lisp
.asd
11
26.727273
48
0.627219
ikbenlike/cl-keycloak
3
0
1
GPL-3.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
2340741b08d81befeeb4156dc7ac14820f2c1c1fac958c3864173f189a04d5c1
18,409
[ -1 ]
18,429
movitz-render.lisp
spacebat_lice/src/movitz-render.lisp
(in-package "LICE") ;; TTY rendering routines (in-package "LICE") (defclass movitz-frame (frame) ((double-buffer :type (array character 1) :initarg :double-buffer :accessor frame-double-buffer :documentation "The display double buffer. This structure is compared to the characters we want to blit. Only differen...
8,911
Common Lisp
.lisp
224
34.178571
129
0.625924
spacebat/lice
3
1
0
GPL-2.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
cf1fad271a42aa2846b940e1bb8436648d5ba79fb08e27963b96aa750221e01b
18,429
[ -1 ]
18,430
syntax.lisp
spacebat_lice/src/syntax.lisp
;;; Cheap syntax functions (in-package "LICE") (defparameter +syntax-classes+ '(:whitespace :punctuation :word-constituent :symbol-constituent :open :close :quote :string :math :escape :character-quote :comment :end-comment :inherit :comment-fence :string-fence)) (deftype syntax-class () '(member :whitespace...
71,450
Common Lisp
.lisp
1,426
35.13885
152
0.534353
spacebat/lice
3
1
0
GPL-2.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
3a5fd9c0e9d162ed3331b7ec33a2a41cf385e38347632b5eb02a0cdafdbe747d
18,430
[ -1 ]
18,431
package.lisp
spacebat_lice/src/package.lisp
(cl:defpackage "LICE" (:use :cl) (:export ;;; Base symbols. In Emacs these are implemented in C ;; abbrev.c #:make-abbrev-table #:clear-abbrev-table #:define-abbrev #:define-global-abbrev #:define-mode-abbrev #:abbrev-expansion #:abbrev-symbol #:expand-abbrev #:unexpand-...
29,026
Common Lisp
.lisp
1,294
17.435858
57
0.640127
spacebat/lice
3
1
0
GPL-2.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
26ce14558ca7a9f9c26d54edb0af7cfc906b36153f537298b18d2ddc5f973781
18,431
[ -1 ]
18,432
emacs.lisp
spacebat_lice/src/emacs.lisp
(in-package "LICE") ;; FIXME: figure out the system type (defvar system-type :undefined "Value is symbol indicating type of operating system you are using. Special values: `:gnu/linux' compiled for a GNU/Linux system. `:darwin' compiled for Darwin (GNU-Darwin, Mac OS X, ...). `:macos' compiled for...
1,432
Common Lisp
.lisp
31
44.129032
74
0.732092
spacebat/lice
3
1
0
GPL-2.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
530c57b707b95bf2c6d8d32c456fd4acb309155c8b9a83543d5f6d2ae022c0fd
18,432
[ -1 ]
18,433
mcl-load.lisp
spacebat_lice/src/mcl-load.lisp
(require 'quickdraw) (defpackage :lice (:use :cl)) (labels ((load-file (module) ;;(format t "~&Loading ~a...~%" module) (load (merge-pathnames (make-pathname :name module :type "lisp") *load-pathname*) :verbose t :external-format :unix))) (load-file "wrappers") (load-file "global") (load...
723
Common Lisp
.lisp
1
722
723
0.614108
spacebat/lice
3
1
0
GPL-2.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
428f568ee16f65f5b16cae6bae7c9a0778ffe7ea35f5846c63c2d9d241b584a8
18,433
[ -1 ]
18,434
keymap.lisp
spacebat_lice/src/keymap.lisp
;;; keymaps for lice (in-package "LICE") ;; for mouse click events (defstruct click where button) (defstruct key char control meta alt shift hyper super) ;; (defclass key () ;; ((char :type character :initarg :char :reader key-char) ;; (control :type boolean :initform nil :initarg :control :reader key-control) ...
20,562
Common Lisp
.lisp
416
46.855769
102
0.676211
spacebat/lice
3
1
0
GPL-2.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
382c75ec2f09b9bd8d6bafa12ba1a55d216e37e9c389979f58bc1936c413b1cd
18,434
[ -1 ]
18,435
make-image.lisp
spacebat_lice/src/make-image.lisp
;;; SBCL #+sbcl (progn (require 'asdf) (require 'lice)) #+sbcl (sb-ext:save-lisp-and-die "lice" :toplevel (lambda () ;; asdf requires sbcl_home to be set, so set it to the value when the image was built (sb-posix:putenv (form...
1,037
Common Lisp
.lisp
23
29.782609
130
0.490585
spacebat/lice
3
1
0
GPL-2.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
1f25220ad0d1691d1a2f3f7e43738f75b8b5b3657ff4a1cb9cb7aa0dec9760fc
18,435
[ -1 ]
18,436
debug.lisp
spacebat_lice/src/debug.lisp
;;; lice debugging facilities (in-package "LICE") (defun re-op-lice (op) "Perform an asdf operation on :lice and capture the output in a buffer." (with-current-buffer (get-buffer-create "*lice-reload*") (erase-buffer) (insert (with-output-to-string (s) (let ((*debug-io* s) (*error-outpu...
566
Common Lisp
.lisp
19
26.157895
65
0.662362
spacebat/lice
3
1
0
GPL-2.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
c4d786a12e12727095ad0dfe5d117b0e115d36ab4d3cb71292070243663e29cd
18,436
[ -1 ]
18,437
casefiddle.lisp
spacebat_lice/src/casefiddle.lisp
(in-package "LICE") ;; FIXME: these case functions don't handle characters or propertized strings (defun upcase (obj) "Convert argument to upper case and return that. The argument may be a character or string. The result has the same type. The argument object is not altered--the value is a copy. See also `capitaliz...
2,168
Common Lisp
.lisp
50
41.42
77
0.756295
spacebat/lice
3
1
0
GPL-2.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
56235374ab7ff3c728400c12402f6b3fdbf108791ceb4dc9c4bb9b0dbc4aa0dd
18,437
[ -1 ]
18,438
global.lisp
spacebat_lice/src/global.lisp
(in-package :lice) (defconstant +debug-v+ 1) (defconstant +debug-vv+ 2) (defconstant +debug-vvv+ 3) (defparameter *debug-level* +debug-v+) ;;(defparameter *debug-level* +debug-vvv+) (defun dformat (lvl &rest fmt-args) (when (>= *debug-level* lvl) (with-open-file (f #p"/tmp/debug" :direction :output :if-exists ...
10,247
Common Lisp
.lisp
226
41.99115
112
0.70927
spacebat/lice
3
1
0
GPL-2.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
2622b25d59a4769304929e712c186b4a7dafb9d34aebd3e790ad3de47fba6e27
18,438
[ -1 ]
18,439
data.lisp
spacebat_lice/src/data.lisp
;;; data.lisp --- compatibility functions from emacs (in-package "LICE") (defun % (number divisor) "same as mod." (mod number divisor)) (defun setcar (cell newcar) "Set the car of cell to be newcar. Returns newcar." (setf (car cell) newcar)) (depricate aset (setf aref)) (defun aset (array idx newelt) "St...
1,536
Common Lisp
.lisp
37
39.486486
73
0.75721
spacebat/lice
3
1
0
GPL-2.0
9/19/2024, 11:27:44 AM (Europe/Amsterdam)
371de77d03a50d169c1bce8d5271dd47ad8f4233431228dfc03b1ad1046ab291
18,439
[ -1 ]