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
31,731
cl-nono.asd
robotjunkyard_cl-nono/cl-nono.asd
;;;;;; cl-nono.asd ;;; ;;; This is an ASDF system definition file for the CL-NONO project. ;;; ;;; I've never futzed with ASDF directly too much, and IMO it is best to let ;;; Quicklisp by Zach Beane (http://www.quicklisp.org) handle this for you. ;;; Where quicklisp installs itself (usually 'quicklisp' dir under your...
1,774
Common Lisp
.asd
43
38.255814
82
0.662616
robotjunkyard/cl-nono
0
0
0
GPL-3.0
9/19/2024, 11:41:01 AM (Europe/Amsterdam)
576d0c301c8cb4fe002a62609b28f0d4d3794a39bf631c78392ac2d7a73ba66c
31,731
[ -1 ]
31,755
package.lisp
appleby_cl-opsresearch/package.lisp
;;;; package.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundati...
1,040
Common Lisp
.lisp
36
26.444444
74
0.664665
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
c58b32879e5a3a4483545d7e813a467cd94d573ec76f0deb769e7badbd7ed285
31,755
[ -1 ]
31,756
cl-opsresearch.lisp
appleby_cl-opsresearch/cl-opsresearch.lisp
;;;; cl-opsresearch.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software F...
872
Common Lisp
.lisp
20
42.15
74
0.699292
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
07a53bd57b1b1a64bc5431b65d349162ce9f4d5128dcad201fbd5d286217cff1
31,756
[ -1 ]
31,757
package.lisp
appleby_cl-opsresearch/subsystem/or-cluster/package.lisp
;;;; package.lisp ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2016 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU Affero General Public License as published by ;;;; the Free Software Foundation, either...
894
Common Lisp
.lisp
21
41.095238
80
0.706897
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
4fb1ae71dea9cc0ddbaa84d019f641dda60397b7b716433fb70e6badf7253838
31,757
[ -1 ]
31,758
or-cluster.lisp
appleby_cl-opsresearch/subsystem/or-cluster/or-cluster.lisp
;;;; or-cluster.lisp ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2016 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU Affero General Public License as published by ;;;; the Free Software Foundation, eit...
935
Common Lisp
.lisp
21
43.095238
80
0.70989
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
7a9c67d608e058a30eaf27e9a52b1ee282c50b9998f481e953a5a0fb03c8c480
31,758
[ -1 ]
31,759
package.lisp
appleby_cl-opsresearch/subsystem/or-fann/package.lisp
;;;; package.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundati...
1,205
Common Lisp
.lisp
40
26.625
74
0.652885
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
d0dcba1b511578d3c62c6f8a7809a5d4b1ba302c4095bf742a7d2038d2b4b7eb
31,759
[ -1 ]
31,760
or-fann.lisp
appleby_cl-opsresearch/subsystem/or-fann/or-fann.lisp
;;;; or-fann.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundati...
1,005
Common Lisp
.lisp
27
35.333333
74
0.688592
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
09b716f8f21ace860f98d0ad8634079ae870499e7ddbe3274dd7cb88bc81038b
31,760
[ -1 ]
31,761
network.lisp
appleby_cl-opsresearch/subsystem/or-fann/network.lisp
;;;; network.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundati...
2,618
Common Lisp
.lisp
54
43.462963
144
0.670713
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
458d8588844d7791d4896d65d9047397c5583b1dca83919a7c23ee11a475da7d
31,761
[ -1 ]
31,762
parameters.lisp
appleby_cl-opsresearch/subsystem/or-fann/parameters.lisp
;;;; parameters.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Found...
2,070
Common Lisp
.lisp
47
40.829787
116
0.691542
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
6ffcb4dbd8d319f44a27466a9d18fa3e16b89584faaa58801e8dcc2719f6b3ca
31,762
[ -1 ]
31,763
fann.lisp
appleby_cl-opsresearch/subsystem/or-fann/swig/fann.lisp
(in-package #:fann) ;;; This file was automatically generated by SWIG (http://www.swig.org). ;;; Version 3.0.7 ;;; ;;; Do not make changes to this file unless you know what you are doing--modify ;;; the SWIG interface file instead. ;;;SWIG wrapper code starts here (cl:defmacro defanonenum (cl:&body enums) "Conver...
7,885
Common Lisp
.lisp
155
43.716129
114
0.636874
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
7cea20415abd5f492c3b77e50144c2b64e80c0c19e716deee344732ae3e498e9
31,763
[ -1 ]
31,764
problem.lisp
appleby_cl-opsresearch/subsystem/or-glpk/problem.lisp
;;;; problem.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundati...
2,380
Common Lisp
.lisp
48
45.479167
101
0.676293
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
f057e631fcf85cf25c517788c6caf25fabfe478621799c14efb605584670dc01
31,764
[ -1 ]
31,765
package.lisp
appleby_cl-opsresearch/subsystem/or-glpk/package.lisp
;;;; package.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundati...
977
Common Lisp
.lisp
31
29.225806
74
0.669851
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
772e49b2529f96c997fb459e46b293339eb42bf237f21c8b3502248573f6cd86
31,765
[ -1 ]
31,766
or-glpk.lisp
appleby_cl-opsresearch/subsystem/or-glpk/or-glpk.lisp
;;;; or-glpk.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundati...
999
Common Lisp
.lisp
27
35.333333
74
0.693582
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
e167eac5fc76bbbdf3bbda80db91693cdc9eee9235f933216aed22af1568810d
31,766
[ -1 ]
31,767
glpk.lisp
appleby_cl-opsresearch/subsystem/or-glpk/swig/glpk.lisp
(in-package #:glp) ;;; This file was automatically generated by SWIG (http://www.swig.org). ;;; Version 3.0.5 ;;; ;;; Do not make changes to this file unless you know what you are doing--modify ;;; the SWIG interface file instead. ;;;SWIG wrapper code starts here (cl:defmacro defanonenum (cl:&body enums) "Convert...
61,432
Common Lisp
.lisp
1,386
41.396825
94
0.66565
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
fc89f275efbb7ffc0e7eb99621f125286aa08dd4705f78985a9bd044629ea105
31,767
[ -1 ]
31,768
package.lisp
appleby_cl-opsresearch/subsystem/or-test/package.lisp
;;;; package.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundati...
898
Common Lisp
.lisp
26
32.461538
74
0.678941
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
818310308fa3f2eafc59a4b74557a6b981ae4bf8b1ef76aa770417309cc5a4ef
31,768
[ -1 ]
31,769
or-test.lisp
appleby_cl-opsresearch/subsystem/or-test/or-test.lisp
;;;; or-test.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundati...
803
Common Lisp
.lisp
19
40.789474
74
0.692308
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
666f833d81def25a51b0dce2920fa690e7ee1a53668d946533dc48bed5cb7e3d
31,769
[ -1 ]
31,770
test-gsl.lisp
appleby_cl-opsresearch/subsystem/or-test/tests/test-gsl.lisp
;;;; test.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundation....
1,031
Common Lisp
.lisp
24
41.041667
78
0.682271
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
709ec21fb0a3bda6382de9f3d0913b0fc9a566587cdd5c1db186bb5b901c358a
31,770
[ -1 ]
31,771
test-glpk.lisp
appleby_cl-opsresearch/subsystem/or-test/tests/test-glpk.lisp
;;;; test.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundation....
1,569
Common Lisp
.lisp
36
35.944444
89
0.613682
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
c8ec1b791076b23dd348ca00944bab5f6e15597a4b30ca46fe76314405210376
31,771
[ -1 ]
31,772
test-opsresearch.lisp
appleby_cl-opsresearch/subsystem/or-test/tests/test-opsresearch.lisp
;;;; test.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundation....
923
Common Lisp
.lisp
23
38.652174
74
0.694537
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
885348e5b078191bc4ae2221bcc2a772e48515a836dfea0c928e481e1cc3c958
31,772
[ -1 ]
31,773
test-fann.lisp
appleby_cl-opsresearch/subsystem/or-test/tests/test-fann.lisp
;;;; test.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundation....
1,997
Common Lisp
.lisp
40
42.65
88
0.617418
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
d61d13cecce2d99c3d85929fe7b470e59e3a88a72420059f3eec736f060e9475
31,773
[ -1 ]
31,774
test.lisp
appleby_cl-opsresearch/subsystem/or-test/tests/test.lisp
;;;; test.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundation....
930
Common Lisp
.lisp
25
35.64
74
0.697339
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
e74671ac93396ddc855a6ceaf3405e50e9939e0f6afb7ee93745c28bfef2f3d5
31,774
[ -1 ]
31,775
package.lisp
appleby_cl-opsresearch/subsystem/or-gsl/package.lisp
;;;; package.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundati...
872
Common Lisp
.lisp
24
34.583333
74
0.679669
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
cb4359fa4b3051fe2d4e306a4e5c9ffcdc9a0a284e194fece7f30d7065519484
31,775
[ -1 ]
31,776
or-gsl.lisp
appleby_cl-opsresearch/subsystem/or-gsl/or-gsl.lisp
;;;; or-gsl.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundatio...
1,102
Common Lisp
.lisp
30
35
74
0.698874
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
f19c58a6920501e788d301e0cc02f739c4be5c43e4a066adecf04d78d75a5f6f
31,776
[ -1 ]
31,777
gsl.lisp
appleby_cl-opsresearch/subsystem/or-gsl/swig/gsl.lisp
(in-package #:gsl) ;;; This file was automatically generated by SWIG (http://www.swig.org). ;;; Version 3.0.5 ;;; ;;; Do not make changes to this file unless you know what you are doing--modify ;;; the SWIG interface file instead. ;;;SWIG wrapper code starts here (cl:defmacro defanonenum (cl:&body enums) "Convert...
1,185,508
Common Lisp
.lisp
24,674
45.512402
239
0.702382
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
12569b0ccc6c0a58fe8a8d28720dc2dbdc7bb29d79b7e6bab303853f38335abf
31,777
[ -1 ]
31,778
problem.lisp
appleby_cl-opsresearch/lisp/problem.lisp
;;;; test.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundation....
894
Common Lisp
.lisp
22
39.181818
74
0.700115
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
b84ed72a934ebd5fa77210db3e901532f36c7a6cdd79c462c2cb639954855d27
31,778
[ -1 ]
31,779
foreign.lisp
appleby_cl-opsresearch/lisp/foreign.lisp
;;;; fireign.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundati...
1,142
Common Lisp
.lisp
28
36
81
0.629163
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
73b0aa771db8eeb59cd79f616623c587c08defceb54f51d1a0d6aa56cbc3e134
31,779
[ -1 ]
31,780
milp.lisp
appleby_cl-opsresearch/lisp/milp.lisp
;;;; test.lisp ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundation....
1,030
Common Lisp
.lisp
24
41.541667
74
0.711577
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
30989c2eae00b6c1960633d742b2fde82c3d56cae003f85c8a90b502cdeb62ac
31,780
[ -1 ]
31,781
cl-opsresearch.asd
appleby_cl-opsresearch/cl-opsresearch.asd
;;;; cl-opsresearch.asd ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Fo...
1,256
Common Lisp
.asd
32
34
74
0.635545
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
73c67ad4153e4a7b05f866b2cc9615d37df6d8965e5049b1839e77f41d5144d5
31,781
[ -1 ]
31,782
or-cluster.asd
appleby_cl-opsresearch/subsystem/or-cluster/or-cluster.asd
;;;; or-cluster.asd ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2016 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU Affero General Public License as published by ;;;; the Free Software Foundation, eith...
1,179
Common Lisp
.asd
29
37.344828
80
0.68265
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
d060cbea5efe7652dcd6faa7915027bdbff84376b4d4de0f230a91f437355e43
31,782
[ -1 ]
31,783
or-fann.asd
appleby_cl-opsresearch/subsystem/or-fann/or-fann.asd
;;;; or-fann.asd ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundatio...
1,246
Common Lisp
.asd
31
35.290323
74
0.640264
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
44c875589f6cfb7f8be1df37f81dc6dd5ea0ba816585c93c47e3fac1e7b209ad
31,783
[ -1 ]
31,784
or-glpk.asd
appleby_cl-opsresearch/subsystem/or-glpk/or-glpk.asd
;;;; or-glpk.asd ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundatio...
1,193
Common Lisp
.asd
30
35.433333
74
0.647414
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
47722dcfb7da0eb8c876e53a075507098afd7d82a5e224c7106765cbc22531d0
31,784
[ -1 ]
31,785
or-test.asd
appleby_cl-opsresearch/subsystem/or-test/or-test.asd
;;;; or-test.asd ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundatio...
1,255
Common Lisp
.asd
39
29.512821
74
0.669415
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
aa35e8a2cd0fb5f6bd5511d06eb41c547ea1af88c6f9fb0dae95af010cc46ee9
31,785
[ -1 ]
31,786
or-gsl.asd
appleby_cl-opsresearch/subsystem/or-gsl/or-gsl.asd
;;;; or-gsl.asd ;;;; ;;;;; BEGIN LICENSE BLOCK ;;;;; ;;;; ;;;; Copyright (C) 2015 OpsResearch LLC (a Delaware company) ;;;; ;;;; This program is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License, version 3, ;;;; as published by the Free Software Foundation...
1,124
Common Lisp
.asd
28
36.714286
74
0.664227
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
1adab57e8e631e492d187d610685493a6faa828be670802bfe923ce70dd2d9e4
31,786
[ -1 ]
31,801
doublefann.h
appleby_cl-opsresearch/subsystem/or-fann/swig/patched/2.2.0/doublefann.h
/* Fast Artificial Neural Network Library (fann) Copyright (C) 2003-2012 Steffen Nissen (sn@leenissen.dk) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or ...
973
Common Lisp
.l
23
40.956522
73
0.805732
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
9445f6f04269a9af03011e4f9731e658a10dbcac3af6dbbc84d1343bd9bd673a
31,801
[ -1 ]
31,818
gsl_message.h
appleby_cl-opsresearch/subsystem/or-gsl/swig/patched/1.16/gsl_message.h
/* err/gsl_message.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, o...
2,317
Common Lisp
.l
63
34.095238
81
0.697186
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
c4fd491ad8d81447be65a861809f493d475cc423b6b88ae741034126cbdfa81b
31,818
[ -1 ]
31,819
gsl_multiroots.h
appleby_cl-opsresearch/subsystem/or-gsl/swig/patched/1.16/gsl_multiroots.h
/* multiroots/gsl_multiroots.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at ...
6,153
Common Lisp
.l
142
38.929577
132
0.690763
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
9b8e576d185faed14be6649a9621fcb77fccf7a6242dfe632155e8800b6d7189
31,819
[ -1 ]
31,820
gsl_randist.h
appleby_cl-opsresearch/subsystem/or-gsl/swig/patched/1.16/gsl_randist.h
/* randist/gsl_randist.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License...
8,608
Common Lisp
.l
137
60.226277
133
0.726226
appleby/cl-opsresearch
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
4ffe07ce3212c44b4c0082604678c288a7269962e00bc9ce27d9a142cd3239ed
31,820
[ -1 ]
31,838
mvpoli.lisp
dcasella_multivariate-polynomials/Lisp/mvpoli.lisp
;;;; -*- Mode: Lisp -*- ;;;; mvpoli.lisp -- ;;;; Matricola Cognome Nome ;;;; Matricola Cognome Nome ;;;; Matricola Cognome Nome ;; type: Poly ;; (POLY MONOS:list) ;; type: Mono ;; (M COEFFICIENT:number TOTALDEGREE:int VARPOWERS:list) ;; type: VarPower ;; (V POWER:int VARIABLE:symbol) ;; polynomials are monomials...
15,782
Common Lisp
.lisp
426
29.776995
80
0.580197
dcasella/multivariate-polynomials
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
a3fe0ed571336a85066413e0577f2bea60fc0cf2ff99ef1cd686098a4f3fe1f3
31,838
[ -1 ]
31,840
mvpoli.pl
dcasella_multivariate-polynomials/Prolog/mvpoli.pl
%%%% -*- Mode: Prolog -*- %%%% mvpoli.pl -- %%%% Matricola Cognome Nome %%%% Matricola Cognome Nome %%%% Matricola Cognome Nome %% type:poly % % poly(Monos:list) %% type:mono % % m(Coefficient:number, TotalDegree:int, VarPowers:list) %% type:varpower % % v(Power:int, Variable:atom) %% polynomials are monomial...
13,500
Common Lisp
.l
395
32.506329
79
0.709999
dcasella/multivariate-polynomials
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
ff55a0df6ac301686ef5eae000608410a13c61729de51a8152a09677cfe4cc2d
31,840
[ -1 ]
31,856
package.lisp
epsilon-phase_bullrender/package.lisp
;;;; package.lisp (defpackage #:bullrender (:use #:cl) (:export :aslice-multi :interpolate-lists :list-lte))
115
Common Lisp
.lisp
4
26.25
55
0.697248
epsilon-phase/bullrender
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
0ea455686818ed718adf853c0a945f781ff355524bf5cfcb4c0886fcbdf0e037
31,856
[ -1 ]
31,857
bullrender.lisp
epsilon-phase_bullrender/bullrender.lisp
;;;; bullrender.lisp (in-package #:bullrender) ;;; "bullrender" goes here. Hacks and glory await! (defstruct color "A simple rgb color" (r 0 :type unsigned-byte) (g 0 :type unsigned-byte) (b 0 :type unsigned-byte) ) (defstruct vertex "A Vertex similar to the sort found in the SFML library" (x 0.0 :type...
4,256
Common Lisp
.lisp
94
37.074468
144
0.561357
epsilon-phase/bullrender
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
27c137ea483dd54476aaca84b1f54dc38b1a27a252895cde479ab8d0dad49842
31,857
[ -1 ]
31,858
tests.lisp
epsilon-phase_bullrender/tests/tests.lisp
(in-package #:bullrender-test) (use-package :fiveam) (defun generate-multi-dim-array(n) (let* ((size (loop for i from 1 to n collect(1+ (random 12) ))) (result (make-array size :element-type 'integer ))) (loop for i from 0 to (1- (array-total-size result)) do(setf (row-majo...
1,874
Common Lisp
.lisp
43
32.209302
108
0.555191
epsilon-phase/bullrender
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
8bd260ba7488d0af431cb47aca38e39c430fab847904d0c68814b1dbedf63d9f
31,858
[ -1 ]
31,859
bullrender.asd
epsilon-phase_bullrender/bullrender.asd
;;;; bullrender.asd (asdf:defsystem #:bullrender :description "Describe bullrender here" :author "Alexander White" :license "Specify license here" :serial t :components ((:file "package") (:file "bullrender"))) (asdf:defsystem #:bullrender-test :pathname "tests/" :serial t :components (...
410
Common Lisp
.asd
14
24.642857
41
0.656489
epsilon-phase/bullrender
0
0
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
7d988714ba59b5c409db4df6952cbd69311f3bac0a9dd4698628db7a4b5ba78a
31,859
[ -1 ]
31,894
see-constants-in.lisp
pablovaldes_quickdot/src/see-constants-in.lisp
(defun see-constants-in (package) "show all constants in package which name is provided as 'package or :package. The current value of each one is also printed after the name of the constant i.e (see-constants-in 'cl)" (loop initially (format t "[Constant: actual value] found in ~a:~%" package) for i be...
421
Common Lisp
.lisp
7
55.714286
81
0.70073
pablovaldes/quickdot
0
1
0
GPL-3.0
9/19/2024, 11:41:09 AM (Europe/Amsterdam)
3a6b88cc7bdb36dcbc301debb7ce5f027f70316e8a9f3821fceb0b55237832a1
31,894
[ -1 ]
31,911
lab4.lisp
kdymov_functional_lab4/lab4/lab4.lisp
(load "splitseq/split-sequence.lisp") (in-package :split-sequence) ; Word class (defclass word() ((content :accessor word_content :initform (error "No word content supplied") :initarg :content)) ) ; Sentence class (defclass sentence() ((content :accessor sentence_content :initform (error...
2,931
Common Lisp
.lisp
89
29.977528
141
0.51157
kdymov/functional_lab4
0
0
0
GPL-3.0
9/19/2024, 11:41:17 AM (Europe/Amsterdam)
4ae7c180c53f015f88be6f70046723046e9b3a6c0b696ef7239545bb905cfa39
31,911
[ -1 ]
31,912
split-sequence.lisp
kdymov_functional_lab4/lab4/splitseq/split-sequence.lisp
;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*- ;;; ;;; SPLIT-SEQUENCE ;;; ;;; This code was based on Arthur Lemmens' in ;;; <URL:http://groups.google.com/groups?as_umsgid=39F36F1A.B8F19D20%40simplex.nl>; ;;; ;;; changes include: ;;; ;;; * altering the behaviour of the :from-end keyword argument to ;;; return the subseq...
8,164
Common Lisp
.lisp
156
43.891026
104
0.652027
kdymov/functional_lab4
0
0
0
GPL-3.0
9/19/2024, 11:41:17 AM (Europe/Amsterdam)
786ad954bb928a1c34b44cd73a527429cd55012ed99c5344fe437b2bb64edf9b
31,912
[ -1 ]
31,914
split-sequence.asd
kdymov_functional_lab4/lab4/splitseq/split-sequence.asd
;;; -*- Lisp -*- (defsystem :split-sequence :author "Arthur Lemmens <alemmens@xs4all.nl>" :maintainer "Sharp Lispers <sharplispers@googlegroups.com>" :description "Splits a sequence into a list of subsequences delimited by objects satisfying a test." :license "public domain" :version (:read-file-form "vers...
891
Common Lisp
.asd
20
40.55
78
0.705409
kdymov/functional_lab4
0
0
0
GPL-3.0
9/19/2024, 11:41:17 AM (Europe/Amsterdam)
24b9dc8b06b562ee8e4bd7059f37e3a3b009d71b5fa0940382ac67dd1d9951f8
31,914
[ -1 ]
31,934
logger.lisp
dendrown_ostrich-ideas/logger.lisp
;;; -------------------------------------------------------------------------- ;;; ;;; _/ ;;; _/ _/_/ _/_/_/ _/_/_/ _/_/ _/ _/_/ ;;; _/ _/ _/ _/ _/ _/ _/ _/_/_/_/ _/_/ ;;; _/ _/ _/ _/ _/ _/ _/ _/ _/ ;;; _/ _/_/ _/_/_/ _/_/_/ _/_/_/ _/ ;;; ...
3,834
Common Lisp
.lisp
84
38.77381
78
0.407846
dendrown/ostrich-ideas
0
0
0
GPL-3.0
9/19/2024, 11:41:25 AM (Europe/Amsterdam)
19041761ab28368d97ef822a5d1cf744cfa8b409fb4ee2ae5b5604430cd40b3f
31,934
[ -1 ]
31,935
ostrich-ideas.asd
dendrown_ostrich-ideas/ostrich-ideas.asd
;;; -*- Lisp -*- (asdf:defsystem :ostrich-ideas :version "0.2" :author "Dennis Drown <den@ostrichideas.com>" :description "Get your head out of the sand!" :components ((:file "logger")))
196
Common Lisp
.asd
6
30.166667
47
0.671958
dendrown/ostrich-ideas
0
0
0
GPL-3.0
9/19/2024, 11:41:25 AM (Europe/Amsterdam)
cced260f02c0598c1fc6b9d066f0b577ac07c0ff803ca8fae9fe4e240684d861
31,935
[ -1 ]
31,952
cl-hello-world.lisp
csvitlik_cl-hello-world/cl-hello-world.lisp
(defpackage #:cl-hello-world (:use #:cl #:1am)) (in-package #:cl-hello-world) (defun cl-hello-world () "Return the canonical ``Hello, World!'' string." "Hello, World!") (defconstant +expected-output-cl-hello-world+ "Hello, World!") (test test-cl-hello (is (string-equal (cl-hello-world) +expected-output-cl...
337
Common Lisp
.lisp
10
31.3
72
0.696594
csvitlik/cl-hello-world
0
0
0
GPL-3.0
9/19/2024, 11:41:25 AM (Europe/Amsterdam)
2a2096774a300e7b89d6f0da807c51203f5efd266441e224be634d2041d211ae
31,952
[ -1 ]
31,953
cl-hello-world.asd
csvitlik_cl-hello-world/cl-hello-world.asd
(defsystem :cl-hello-world :description "Common Lisp: Hello World" :license "GPL-3" :author "Charlie Svitlik <csvitlik@timex.com>" :components ((:file "cl-hello-world")))
187
Common Lisp
.asd
5
33.2
50
0.686813
csvitlik/cl-hello-world
0
0
0
GPL-3.0
9/19/2024, 11:41:25 AM (Europe/Amsterdam)
5586c696212b9cc17a1b6008600b5c468b96774f943bc0d7ac01a23294b79675
31,953
[ -1 ]
31,971
mplayer.lisp
JMC-design_mplayer/mplayer.lisp
(defpackage :mplayer (:use :cl :sb-ext) (:export #:play #:*mplayer-defaults* #:send-command)) (in-package :mplayer) ;;; defaults --really should be replaced by defaults file and handle by the defaults package. (defparameter *mplayer-defaults* '("-panscan" "1" "-volume" "5" "-loop" "0" "-quiet" "-slave" ...
1,384
Common Lisp
.lisp
24
54.208333
148
0.71323
JMC-design/mplayer
0
0
0
LGPL-3.0
9/19/2024, 11:41:25 AM (Europe/Amsterdam)
dfba54965d4d7d5d64644f102ed71f4e5733b012dd83cc59dd934c5e7efbfce8
31,971
[ -1 ]
31,972
mplayer.asd
JMC-design_mplayer/mplayer.asd
(in-package :asdf-user) (defsystem "mplayer" :description "A simple slave interface for mplayer to build a video application on." :version "0.0.1" :author "Johannes Martinez Calzada" :licence "GNU LGPL 3.0" :components ((:file "mplayer")))
252
Common Lisp
.asd
7
33.285714
86
0.728395
JMC-design/mplayer
0
0
0
LGPL-3.0
9/19/2024, 11:41:25 AM (Europe/Amsterdam)
76768f9604f0ea4b22c10bbbbefe5cd5999ffb4560a02b58a26623433f932db1
31,972
[ -1 ]
31,975
slave.txt
JMC-design_mplayer/slave.txt
SLAVE MODE PROTOCOL ------------------- The -slave option switches on slave mode, in which MPlayer works as a backend for other programs. Instead of intercepting keyboard events, MPlayer will read commands separated by a newline (\n) from stdin. To try slave mode out by hand, run mplayer -slave -quiet <movie> and...
23,108
Common Lisp
.l
475
44.267368
98
0.642975
JMC-design/mplayer
0
0
0
LGPL-3.0
9/19/2024, 11:41:25 AM (Europe/Amsterdam)
af1fd36bcbcf2c8f5f8938fb958afaa3e1eeb248e559b9c3cf7712904cbc829e
31,975
[ -1 ]
31,991
lshell-util.lisp
LeZheng_l-lisp-tools/lshell-util.lisp
(defun sh (cmd) #+clisp (let ((str (ext:run-shell-command cmd :output :stream))) (loop for line = (read-line str nil) until (null line) do (print line) collect line)) #+ecl (si:system cmd) #+sbcl (sb-ext:run-program "/bin/sh" (list...
474
Common Lisp
.lisp
13
27.615385
91
0.54013
LeZheng/l-lisp-tools
0
0
0
GPL-2.0
9/19/2024, 11:41:49 AM (Europe/Amsterdam)
94a80fe73ced0b3c7ad8e92c0c0a4dbada57e0802bd2e1c436a1ea1d34c6daad
31,991
[ -1 ]
31,992
tools-macro.lisp
LeZheng_l-lisp-tools/tools-macro.lisp
(defpackage :com.skyline.owl.lmacro (:use "COMMON-LISP") (:nicknames "l-macro" :l-macro l-macro) (:export :nil! :while :for :with-gensyms :when-bind :when-bind* :if3 :nif :in-if :in :inq :>case :till :do-tuples/c :do-tuples/o)) (in-pack...
14,871
Common Lisp
.lisp
444
24.056306
70
0.481484
LeZheng/l-lisp-tools
0
0
0
GPL-2.0
9/19/2024, 11:41:49 AM (Europe/Amsterdam)
3ff8bb5a2f111ed446c9b7cabb017a1b821b2e3b3ea8722cc0c5936803d6de4b
31,992
[ -1 ]
31,993
fs-util.lisp
LeZheng_l-lisp-tools/fs-util.lisp
(defpackage :com.skyline.owl.fs (:use :COMMON-LISP :EXT) (:nicknames :l-fs l-fs "l-fs") (:export :list-directory :file-exists-p :walk-directory :file-to-list :list-to-file)) (in-package :com.skyline.owl.fs) (defun component-present-p (value) (and value (not (eql va...
4,716
Common Lisp
.lisp
125
31
87
0.639207
LeZheng/l-lisp-tools
0
0
0
GPL-2.0
9/19/2024, 11:41:49 AM (Europe/Amsterdam)
18cb0d21f4c9fa406f878e3ff6119101a943e81d21d0ab673e358f0336d0a562
31,993
[ -1 ]
31,994
tools-fun.lisp
LeZheng_l-lisp-tools/tools-fun.lisp
(ql:quickload "cl-ppcre") (defpackage :com.skyline.owl.tools (:use :COMMON-LISP) (:nicknames "l-util" l-util :l-util) (:export :single? :append1 :map-int :filter :most :best :mostn :last1 :to-be-list :longer :group :classfy :flatten :prune :find2 :before :after :duplicate :split-if :read...
14,728
Common Lisp
.lisp
384
31.979167
134
0.576219
LeZheng/l-lisp-tools
0
0
0
GPL-2.0
9/19/2024, 11:41:49 AM (Europe/Amsterdam)
92a9afc83a160e8c987690233b2010c280eaf3d634ad419015eb04e59d955091
31,994
[ -1 ]
31,995
lsql-util.lisp
LeZheng_l-lisp-tools/lsql-util.lisp
(defpackage :com.skyline.owl.lsql (:use :COMMON-LISP) (:nicknames "l-sql" l-sql :l-sql) (:export :l-select :l-selectr :l-delete :l-update :l-insert)) (in-package :com.skyline.owl.lsql) (defun l-select (&key (content #'(lambda (a) a)) (from nil) (where #'(lambda (a) t))...
2,701
Common Lisp
.lisp
68
33.147059
100
0.554244
LeZheng/l-lisp-tools
0
0
0
GPL-2.0
9/19/2024, 11:41:49 AM (Europe/Amsterdam)
1a21dcd8b8a9f9d1f6e6d6586665dfc8b1eb4ac8bb1dc7c898f55be237f39bc0
31,995
[ -1 ]
31,996
binary-analysis.lisp
LeZheng_l-lisp-tools/binary-analysis.lisp
(defpackage :com.skyline.owl.binary (:use :COMMON-LISP :com.skyline.owl.lmacro) (:export :define-binary-class :define-tagged-binary-class :define-binary-type :read-value :write-value :*in-progress-objects* :parent-of-type :current-binary-o...
6,850
Common Lisp
.lisp
126
40.706349
117
0.564217
LeZheng/l-lisp-tools
0
0
0
GPL-2.0
9/19/2024, 11:41:49 AM (Europe/Amsterdam)
4388b49839220603907e4f9bffaa80ac884e3016cd352880c869dab8d7327248
31,996
[ -1 ]
32,018
exer02_04.lisp
dpritchLibre_Touretzky-Common-Lisp/chap02/exer02_04.lisp
;; Page 35 ;; What is the parenthesis notation for the cons cell structure figure shown on ;; page 35? ((BOWS ARROWS) (FLOWERS CHOCOLATES))
142
Common Lisp
.lisp
4
34
79
0.757353
dpritchLibre/Touretzky-Common-Lisp
0
0
0
GPL-3.0
9/19/2024, 11:41:49 AM (Europe/Amsterdam)
a2f1b83de707b6401ac5fe40dd2e63ac0f86824bd943f214fc182de6cb07f493
32,018
[ -1 ]
32,019
exer02_05.lisp
dpritchLibre_Touretzky-Common-Lisp/chap02/exer02_05.lisp
(LENGTH '(OPEN THE POD BAY DOORS HAL)) ;; length 6 (LENGTH '((OPEN) (THE POD BAY DOORS) HAL)) ;; length 3 (LENGTH '((1 2 3) (4 5 6) (7 8 9) (10 11 12))) ;; length 4 (LENGTH '((ONE) FOR ALL (AND (TWO (FOR ME))))) ;; length 4 (LENGTH '((Q SPADES) (7 HEARTS) (6 CLUBS) (5 DIAMONDS) (2 DIAMONDS))) ;; le...
559
Common Lisp
.lisp
15
34.133333
59
0.619666
dpritchLibre/Touretzky-Common-Lisp
0
0
0
GPL-3.0
9/19/2024, 11:41:49 AM (Europe/Amsterdam)
886b62eeba397978e75c9d90421c6495ab7a1f0e5c8824409c4f6884797ea8c0
32,019
[ -1 ]
32,020
exer02_06.lisp
dpritchLibre_Touretzky-Common-Lisp/chap02/exer02_06.lisp
;; page 38 ;; Match each list on the left with a corresponding list on the right by ;; substituting NIL for () wherever possible. Pay careful attention to levels ;; of parenthesization. ;; ;; () ((NIL)) ;; (()) NIL ;; ((())) (NIL) ;; (() ()) (NIL (NIL)) ;; (() (())) ...
534
Common Lisp
.lisp
16
31.9375
78
0.516634
dpritchLibre/Touretzky-Common-Lisp
0
0
0
GPL-3.0
9/19/2024, 11:41:49 AM (Europe/Amsterdam)
bbb7c1991df8886a43c3ff0eb7df1f2ecb6f71f8a0c8ae33b1e03b3483fa2251
32,020
[ -1 ]
32,039
infix.lisp
kybp_infix/infix.lisp
(defstruct parser tokens output operators) (defun consume-token (parser) (pop (parser-tokens parser))) (defvar *synonyms* '((expt ^ **))) (defvar *operators* '((nil . 0) (and . 1) (or . 1) (= . 2) (< . 2) (> . 2) (<= . 2) (>= . 2) (+ . 3) (- . 3) (* . 4) (/ . 4) (expt . 5))) (defun precedenc...
2,086
Common Lisp
.lisp
52
34.980769
66
0.635015
kybp/infix
0
0
0
GPL-3.0
9/19/2024, 11:41:58 AM (Europe/Amsterdam)
c7ea55acc8f3f721d790afba765dcbe493ee8f54d6f65a364a8d09ac7f4c4839
32,039
[ -1 ]
32,056
checkoutkata.lisp
imjacobclark_cl-checkoutkata/checkoutkata.lisp
;;;; checkoutkata.lisp (defpackage checkoutkata (:use :cl :prove)) (in-package :checkoutkata) (defparameter *items* (make-hash-table)) (setf (gethash 'A *items*) 50) (setf (gethash 'B *items*) 30) (setf (gethash 'C *items*) 20) (setf (gethash 'D *items*) 15) (defparameter *offers* (make-hash-table)) (setf ...
2,571
Common Lisp
.lisp
86
24.860465
112
0.636327
imjacobclark/cl-checkoutkata
0
0
0
GPL-3.0
9/19/2024, 11:41:58 AM (Europe/Amsterdam)
acfed30cbbaa62e99589bf12c092d1eff0ae0236e4aaaa23d158744ab3c790ef
32,056
[ -1 ]
32,057
checkoutkata.asd
imjacobclark_cl-checkoutkata/checkoutkata.asd
;;;; checkoutkata.asd (asdf:defsystem #:checkoutkata :description "Describe checkoutkata here" :author "Jacob Clark" :license "LLGPL" :depends-on (#:prove) :serial t :components ((:file "package") (:file "checkoutkata")))
251
Common Lisp
.asd
9
23.666667
43
0.670833
imjacobclark/cl-checkoutkata
0
0
0
GPL-3.0
9/19/2024, 11:41:58 AM (Europe/Amsterdam)
8ffc12d5fc51c6b534520f8cc4e8b2160a29cfcadf3585aaba669a1500e6bad4
32,057
[ -1 ]
32,075
sensationIII-simulator.ros
tobbelobb_sensationIII-simulator/sensationIII-simulator.ros
#!/bin/sh #|-*- mode:lisp -*-|# #| Publish data from adjustable file pointer to MQTT broker at a configurable pace. exec ros -Q -- $0 "$@" |# (progn (ros:ensure-asdf) ;; local libs: https://github.com/ivan4th/i4-diet-utils.git ;; https://github.com/tobbelobb/cl-mqtt.git ;; Note that printv.lisp has ...
6,269
Common Lisp
.l
126
39.174603
205
0.588254
tobbelobb/sensationIII-simulator
0
0
0
GPL-3.0
9/19/2024, 11:41:58 AM (Europe/Amsterdam)
2239b38350dc83da5cae1cda3722205a4d055a0d2ae06343b1cbe30c1d83f021
32,075
[ -1 ]
32,090
copy7.cl
TomShultz_bird-simulation/copy7.cl
;;;Copyright (C) Thomas Shultz ;;; ;;;This program is free software; you can redistribute it and/or ;;;modify it under the terms of the GNU General Public License ;;;as published by the Free Software Foundation; either version 2 ;;;of the License, or (at your option) any later version. ;;; ;;;This program is distribute...
20,915
Common Lisp
.cl
533
30.900563
104
0.573666
TomShultz/bird-simulation
0
0
0
GPL-2.0
9/19/2024, 11:41:58 AM (Europe/Amsterdam)
4a783e3b76f439acf14f230f79afc1feaaf667db24b840a983532ee2eaf5256e
32,090
[ -1 ]
32,107
13-beyond-lists.lisp
martinhomuth_clisp/13-beyond-lists.lisp
;;; Trees ;; copy list does not copy the internal lists (defparameter *inner1* (list (list 1 2) (list 3 4))) (defparameter *inner2* (list (list 4 5) (list 6 7))) (defparameter *outer* (append *inner1* *inner2*)) *outer* (defparameter *list-copied* (copy-list *outer*)) *list-copied* (setf (cadar *inner2*) 9) *list-copi...
2,887
Common Lisp
.lisp
89
31.044944
72
0.611871
martinhomuth/clisp
0
0
0
GPL-3.0
9/19/2024, 11:42:06 AM (Europe/Amsterdam)
55236c3394eec50f371dcfb6e0d1d67d8adc4b51ecdbd9b4f0f3d4b437ad5346
32,107
[ -1 ]
32,108
11-collections.lisp
martinhomuth_clisp/11-collections.lisp
;;; vectors (vector) (vector 1) (vector 1 2) #(1 2) ; literal notation for vectors, not defined to be modified (make-array 0) (make-array 5 :initial-element 3) (make-array 5 :fill-pointer 0) ; appears empty but has space for 5 elements (defparameter *x* (make-array 5 :fill-pointer 0)) (vector-push 'a *x*) ; => 0 ...
3,963
Common Lisp
.lisp
108
35.12037
86
0.633184
martinhomuth/clisp
0
0
0
GPL-3.0
9/19/2024, 11:42:06 AM (Europe/Amsterdam)
1fc98d7fe31c0b59613a7392735782e79071536b3ecd8cecbc1269fa35504863
32,108
[ -1 ]
32,109
15-portable-pathname-library.lisp
martinhomuth_clisp/15-portable-pathname-library.lisp
;;; Read Time Conditionalization ;; there is a global variable containing the implementation features *FEATURES* ;; #+ someboolean => if someboolean is true, the next expression is ;; evaluated, otherwise treated as whitespace ;; #- the inverse (defun foo() #+allegro (format t "allegro stuff~%") #+clisp (format ...
3,862
Common Lisp
.lisp
104
33.701923
77
0.719914
martinhomuth/clisp
0
0
0
GPL-3.0
9/19/2024, 11:42:06 AM (Europe/Amsterdam)
fe58b699269932b764e88474f8497a7304f0f7e6f7a6ba8666167a185d286a7b
32,109
[ -1 ]
32,110
12-lists.lisp
martinhomuth_clisp/12-lists.lisp
(cons 1 2) ; first is CAR, second is CDR (car (cons 1 2)) (cdr (cons 1 2)) ;;; also SETFable (defparameter *cons* (cons 1 2)) *cons* (setf (car *cons*) 10) *cons* (cons 1 nil) (cons 1 (cons 2 nil)) (cons 1 (cons 2 (cons 3 nil))) (defparameter *list* (list 1 2 3 4)) *list* (cdr *list*) (rest *list*) (car *list*) ...
2,124
Common Lisp
.lisp
77
26.051948
59
0.639466
martinhomuth/clisp
0
0
0
GPL-3.0
9/19/2024, 11:42:06 AM (Europe/Amsterdam)
e02261fb33f9d25fdd202fe0369b01de760e83258d7fd3ab096cba738d056acd
32,110
[ -1 ]
32,111
10-numbers-characters-strings.lisp
martinhomuth_clisp/10-numbers-characters-strings.lisp
1.0 (- 5 4) (/ 3 2) (mod 10 4) (rem 10 4) (setf a (1+ a)) (tan (max 3 5 43 344 34342 23442443 2)) (char= a b) "foo\"bar" (format t "foo\"bar") (string= "foo" "FOO") ; nil (string-equal "foo" "FOO") ; t (string< "foo" "BAR") (string-lessp "foo" "BAR") ;;; additional restriction arguments (string= "thisisgo...
495
Common Lisp
.lisp
18
25.722222
82
0.641469
martinhomuth/clisp
0
0
0
GPL-3.0
9/19/2024, 11:42:06 AM (Europe/Amsterdam)
4eb079341c8db5e79038180c7ccc6ff8bc4b6bea47a1859cb4148774cf66ae5a
32,111
[ -1 ]
32,112
14-file-io.lisp
martinhomuth_clisp/14-file-io.lisp
(let ((in (open "testfile"))) (format t "~a~%" (read-line in)) (close in)) (let ((in (open "not-existent" :if-does-not-exist nil))) (when in (format t "~a~%" (read-line in)) (close in))) (let ((in (open "not-existent-will-create" :if-does-not-exist nil))) (when in (loop for line = (read-line in ni...
2,668
Common Lisp
.lisp
79
30.329114
73
0.656943
martinhomuth/clisp
0
0
0
GPL-3.0
9/19/2024, 11:42:06 AM (Europe/Amsterdam)
766f8b4abbaeed28bddff0578ea57e0d86f4da32d7caeda5c5c193f2acc40930
32,112
[ -1 ]
32,119
testfile
martinhomuth_clisp/testfile
This is a testfile line This is the second line This is a third line
68
Common Lisp
.l
3
22
23
0.818182
martinhomuth/clisp
0
0
0
GPL-3.0
9/19/2024, 11:42:06 AM (Europe/Amsterdam)
9b11f4bb287b4e70b1164018e3cde6e6e90f0b0fa344bb151283a2a9e773dcfc
32,119
[ -1 ]
32,135
cl-yaml-parser-fix.lisp
tpine_cl-base16/cl-yaml-parser-fix.lisp
;;; cl-yaml picks up some of the base16 scheme values as floats instead of strings ;;; Until this is fixed patch the function so that it only parses strings (in-package :yaml.scalar) (defun parse-scalar (string &optional (style :plain-scalar-style)) "Return the string for all values." string)
300
Common Lisp
.lisp
6
48
82
0.767123
tpine/cl-base16
0
0
1
GPL-3.0
9/19/2024, 11:42:06 AM (Europe/Amsterdam)
02cf541634a1cef3964cffc80f854fe28cac9b84747858e3b9ccd5afdd6c731f
32,135
[ -1 ]
32,136
package.lisp
tpine_cl-base16/package.lisp
;;;; package.lisp (defpackage #:cl-base16 (:use #:cl) (:export *base-dir* *source-dir* apply-scheme update))
126
Common Lisp
.lisp
7
14.571429
23
0.618644
tpine/cl-base16
0
0
1
GPL-3.0
9/19/2024, 11:42:06 AM (Europe/Amsterdam)
51bf50400fa7019b7afddc0d96deaff64478fccb842d1af9075070e4d8e41d52
32,136
[ -1 ]
32,137
builder.lisp
tpine_cl-base16/builder.lisp
;;; Functions for updating scheme and template files (in-package #:cl-base16) (defun clone-or-update-git-repo (repo url &optional (dir *source-dir*)) "As it says on the tin." (trivial-shell:shell-command (format nil "git clone ~a \"~a/~a\"" url dir repo))) (defun fetch-list-contents (source-name) "Fetch the con...
1,522
Common Lisp
.lisp
32
43.25
96
0.692463
tpine/cl-base16
0
0
1
GPL-3.0
9/19/2024, 11:42:06 AM (Europe/Amsterdam)
09388c0db5f4717221ec22894d3f199a269e4b5a6ec2d8b23682e875c3de7d90
32,137
[ -1 ]
32,138
cl-base16.lisp
tpine_cl-base16/cl-base16.lisp
;;;; cl-base16.lisp ;;; Contains main functions related to building a theme (in-package #:cl-base16) (defparameter *base-dir* (pathname (directory-namestring (asdf:system-relative-pathname :cl-base16 "package.lisp"))) "Base directory to expect input files from. This is set to the base directory of the source files w...
4,885
Common Lisp
.lisp
105
41.057143
116
0.667576
tpine/cl-base16
0
0
1
GPL-3.0
9/19/2024, 11:42:06 AM (Europe/Amsterdam)
416721654def8f9040b330a4aa26acd1bebe96b3446094e1122f56c4286489b8
32,138
[ -1 ]
32,139
cl-base16.asd
tpine_cl-base16/cl-base16.asd
;;;; cl-base16.asd (asdf:defsystem #:cl-base16 :description "Common Lisp implementation of base16" :author "Thomas Atkinson <thomas@pinegrove.io>" :license "GPLv2" :serial t :depends-on (:uiop :cl-yaml :cl-mustache :cl-slug :trivial-shell) :components ((:file "package") ...
416
Common Lisp
.asd
15
21.666667
53
0.6025
tpine/cl-base16
0
0
1
GPL-3.0
9/19/2024, 11:42:06 AM (Europe/Amsterdam)
369416415944295372e5c38fd15f1b14f0d51a41dad37b01c490e6b2d5cefd2e
32,139
[ -1 ]
32,160
Problem3.lisp
programmerjerry_LispLearn/Project_Euler/Problem3/Problem3.lisp
;;;; Problem 3 Largest prime factor ;;; 求一个数的最大的质数因子,也就是若干个不同的质数的乘积能得到这个数 ;;; 判断是否是质数 (defun is-primer (n) ;; 如果是一些已知的质数直接返回t (if (or (= n 2) (= n 3) (= n 5) (= n 7) (= n 11) (= n 13) (= n 17) (= n 19) (= n 23) (= n 29) (= n 31) (=...
1,930
Common Lisp
.lisp
48
20.270833
70
0.484043
programmerjerry/LispLearn
0
0
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
f6178e5d4bc8e4f5e504cd49377b9b13f2b076307ac77a41755c8f3c1be20f84
32,160
[ -1 ]
32,161
Problem7.lisp
programmerjerry_LispLearn/Project_Euler/Problem7/Problem7.lisp
;;;; Problem 7 10001st prime ;;;; 求第10001个质数 ;;;; 解决办法:从1开始挨个测试是否是质数,由于 除了2以外的质数都是奇数, ;;;; 只要挨个测试奇数是否是质数就可以了。用了1分27秒,还可以接受。 ;;; 判断是否是质数 (defun is-primer (n) ;; 如果是一些已知的质数直接返回t (if (or (= n 2) (= n 3) (= n 5) (= n 7) (= n 11) (= n 13) (= n 17) (= n 19) ...
2,209
Common Lisp
.lisp
63
18.68254
50
0.476343
programmerjerry/LispLearn
0
0
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
9b2237a5319e904ecc41d4556acea70340d7d7f417678da29b191d23fba95dea
32,161
[ -1 ]
32,162
Problem4.lisp
programmerjerry_LispLearn/Project_Euler/Problem4/Problem4.lisp
;;;;Problem 4 Largest palindrome product ;;;; 求2个三位数字的乘积构成的最大的回文 ;;; 判断是否是回文,只要将字符串和反转后的一致就是回文 (defun is-palindrome (n) (let ((s (write-to-string n))) (if (equalp s (reverse s)) t nil))) (defun largest-palindrome-product (n) (do ((n1 n (- n1 1)) (result 0)) ; 记录回文 ((= n1 1) result)...
773
Common Lisp
.lisp
21
23.095238
49
0.548061
programmerjerry/LispLearn
0
0
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
723024800611aa8b28cab88264daa55eec467b83ba7bf7a4e33c7946454b5a81
32,162
[ -1 ]
32,163
Problem9.lisp
programmerjerry_LispLearn/Project_Euler/Problem9/Problem9.lisp
;;;; Problem 9 Special Pythagorean triplet ;;;; 求满足条件的a、b、c的乘积,条件:a<b<c;a^2+b^2=c^2;a+b+c=1000 ;;;; 直接根据条件挨个尝试即可,运算量不大很快就跑出来了 (defun special-pythagorean-triplet () (dotimes (a 1001) (dotimes (b 1001) (dotimes (c 1001) (if (and (< a b) (< b c)) (if (= (+ a b c) 1000) (if...
625
Common Lisp
.lisp
15
27.733333
78
0.513308
programmerjerry/LispLearn
0
0
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
2468330d45f9d20fab9d5c95aaf74e93820d9417135e44a7b7232ed64200d3e3
32,163
[ -1 ]
32,164
Problem5.lisp
programmerjerry_LispLearn/Project_Euler/Problem5/Problem5.lisp
;;;; Problem 5 Smallest multiple ;;;;求1到20的最小公倍数 ;;;;实现方案:1到20所有数字做乘积,会得到一个公倍数,但是不是最小的公倍数 ;;;; 用这个数字依次去整除1到20之间的质数,每个质数做多次整除并测试得到的商是否 ;;;; 满足公倍数.如果不满足,则用最后满足条件的商,去多次除以下一个质数并 ;;;; 测试商是否满足公倍数的条件。最后会获得最小公倍数。 ;;; 测试数字是否是1到n的公倍数 (defun is-evenly-divisible-by-all-of-the-numbers (n smallest-multiple) (do ((i 1 (+ i 1))) ...
2,722
Common Lisp
.lisp
68
22.397059
77
0.534536
programmerjerry/LispLearn
0
0
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
061b03333ca6f2cb297abb1788a99c025011d132efe74be6378ba1c97859be35
32,164
[ -1 ]
32,165
Problem1.lisp
programmerjerry_LispLearn/Project_Euler/Problem1/Problem1.lisp
;;;; Problem 1 Multiples of 3 and 5 ;;; 1000以内,能被3或者5整除的自然数, 求这些自然数的和 (defun sum-of-multiple-3-5 (n) (let ((result 0)) (dotimes (i n) (if (or (zerop (mod i 3)) (zerop (mod i 5))) (setf result (+ result i)))) result)) ;;; CL-USER 228 > (sum-of-multiple-3-5 1000) ;;; 2331...
365
Common Lisp
.lisp
12
21.75
44
0.553398
programmerjerry/LispLearn
0
0
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
91514b8cbad6d140b41db980211ac0d78e224f7f08b901b0eed42562cf51b953
32,165
[ -1 ]
32,166
Problem6.lisp
programmerjerry_LispLearn/Project_Euler/Problem6/Problem6.lisp
;;;; Problem 6 Sum square difference ;;;; 求1到100的和的平方与1到100平方的和的差 ;;; 平方的和 (defun sum-of-squares (n) (let ((result 0)) (dotimes (i n) (setf result (+ result (expt (1+ i) 2)))) result)) ;;; 和的平方 (defun square-of-sum (n) (let ((result 0)) (dotimes (i n) (setf result (+ result (...
599
Common Lisp
.lisp
20
23.6
58
0.616412
programmerjerry/LispLearn
0
0
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
47cf13bdcd476e5a6fce71f66c9bb4b54025e564cda08c83ed79377e02d72eb2
32,166
[ -1 ]
32,167
Problem10.lisp
programmerjerry_LispLearn/Project_Euler/Problem10/Problem10.lisp
;;;; Problem 10 Summation of primes ;;;; 求1到2百万之间的所有质数的和 ;;; 判断是否是质数 (defun is-primer (n) (let ((i 2)) (loop while (<= i (round (sqrt n))) ; 计算到n的平方根就可以了 do (if (zerop (mod n i)) (if (= i n) (return-from is-primer t) (return-from is-primer nil)))...
742
Common Lisp
.lisp
21
23.428571
54
0.520458
programmerjerry/LispLearn
0
0
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
115bfded9dc1a354846c610bfdb2629f6e48b22757a830b86fb6cbeafe481a76
32,167
[ -1 ]
32,168
Problem8.lisp
programmerjerry_LispLearn/Project_Euler/Problem8/Problem8.lisp
;;;; Problem 8 Largest product in a series ;;;; 题目要求:在1000个数字中找到n个连续的数字并且乘积是最大的 ;;; 注意: 是找挨着的n个数字,而不是要求n个数字内部是连续的(例如:123、323) ;;; 例如:开始的5个数字73167 就是连续的5个数字 ;;; 计算字符串中的一系列数字的乘积 (defun get-product-from-string (str) (let ((result 1)) (dotimes (i (length str)) (setf result (* result (parse-integer (subseq str...
2,129
Common Lisp
.lisp
43
40.651163
74
0.819166
programmerjerry/LispLearn
0
0
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
d467dc1adfb7e38237e6aec01a92d5e3dcb2fc12b27b4548542130995a87214d
32,168
[ -1 ]
32,169
Problem2.lisp
programmerjerry_LispLearn/Project_Euler/Problem2/Problem2.lisp
;;;; Project Euler Problem 2 Even Fibonacci numbers ;;; 最大值不超过4百万的斐波那契数列,求所有偶数的斐波那契数之和 (defun sum-even-fib (max-value) (let ((result 2) (fib1 1) (fib2 2)) (dotimes (i max-value) (let ((next-fib (+ fib1 fib2))) (if (evenp next-fib) (setf result (+ result next-fib))) (if (> next-f...
533
Common Lisp
.lisp
14
27.928571
51
0.592593
programmerjerry/LispLearn
0
0
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
3b8e13539ce03d9742c3ee78493078f3437d6bbc9a75ff50364f36de62c7a31a
32,169
[ -1 ]
32,170
1_TwoSum.lisp
programmerjerry_LispLearn/leetcode/1_TwoSum/1_TwoSum.lisp
;;;; leetcode 1 Two Sum ;;; 题目说明:从整型数组找到2个数字,它们的和等于目标数字,返回这2个数字在数组中的下标,假设输入的数组里面只能有一组符合条件的数字,数组下标从0开始。 ;; 实现方法:list的第一个元素依次与这个元素后面的元素计算和,如果符合条件直接退出 ;; 否则,list的第二个元素依次与后面的元素计算和,直到找到符合条件的元素或者循环结束 (defun two-sum (nums-list target) (do* ((i 0 (+ i 1)) (j (+ i 1) (+ j 1))) ((= i (1- (length nums-list))) ...
849
Common Lisp
.lisp
17
27.647059
78
0.580524
programmerjerry/LispLearn
0
0
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
e2188db2b348fe2b5d2fc2cfdbffc649412f550051eb6fde580f592b4c2a5ed6
32,170
[ -1 ]
32,197
downloaded-complete-code-from-the-book-acl2.lisp
andlys_ansi-common-lisp/paul-graham/downloaded-complete-code-from-the-book-acl2.lisp
; The code in this file was mechanically extracted from the TeX ; source files of _Ansi Common Lisp_, except for bst-remove and ; bst-delete and their subroutines, which replace broken versions ; in the book. ; If you have questions or comments about this code, or you want ; something I didn't include, send mail to l...
46,631
Common Lisp
.lisp
1,430
24.122378
68
0.48722
andlys/ansi-common-lisp
0
1
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
ca8fdb8b5aac8cd81be87f96134153c6f84b1f28fd27f1ba592ee9bc45566123
32,197
[ 235175, 329933, 402803 ]
32,198
chapter-6.lisp
andlys_ansi-common-lisp/chapters/chapter-6.lisp
; (labels ((add2 (x) (+ x 2))) (add2 5)) (defun philosoph (thing &optional property) (list thing 'is property)) (philosoph 'death) (defun philosoph (thing &optional (property 'fun)) (list thing 'is property)) (philosoph 'death) (defun keylist (a &key x y z) (list a x y z)) (keylist 1 :y 2) (defu...
2,915
Common Lisp
.lisp
96
26.0625
71
0.588024
andlys/ansi-common-lisp
0
1
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
256527ee4e0d737acecda18bfaf98d36fb611f7f6a61dc686140420f4c50f3b9
32,198
[ -1 ]
32,199
chapter-4-ex.lisp
andlys_ansi-common-lisp/chapters/chapter-4-ex.lisp
;;; ex-2B (defun my-copy-list (lst) (reduce #'(lambda (a b) (cons a b)) lst :from-end t :initial-value nil)) (my-copy-list '(a b c d)) ;;; ex-2B (defun my-reverse (lst) (reduce #'(lambda (a b) (append b (list a))) lst :from-end t :initial...
1,396
Common Lisp
.lisp
48
22.458333
72
0.533683
andlys/ansi-common-lisp
0
1
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
bb98773b28b6f125df95cefb47dfd1f87f60869e31905e54f6df30f614d3ea46
32,199
[ -1 ]
32,200
chapter-3-ex.lisp
andlys_ansi-common-lisp/chapters/chapter-3-ex.lisp
;;; ex-2 (defun new-union (lst1 lst2) (let ((new nil)) (dolist (elem lst1) (setf new (append new (list elem)))) (if (not (car new)) (pop new)) (dolist (elem lst2) (if (not (member elem new)) (setf new (append new (list elem))))) new)) (print (...
1,465
Common Lisp
.lisp
46
23
55
0.459632
andlys/ansi-common-lisp
0
1
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
e77719ce98b158cb14e353df02c495f061fce9fc33a230edfa968d94f956d78d
32,200
[ -1 ]
32,201
chapter-5.lisp
andlys_ansi-common-lisp/chapters/chapter-5.lisp
(block head (format t "Here we go") (return-from head 'idea) (format t "We'll never see this.")) (defun our-member (obj lst) (if (atom lst) nil (if (eql obj (car lst)) lst (our-member obj (cdr lst))))) (defun our-member2 (obj lst) (cond ((atom lst) nil) ...
2,799
Common Lisp
.lisp
95
23.705263
62
0.527068
andlys/ansi-common-lisp
0
1
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
93613552dadfc63bca546ac93e1d16f244909e1bc45e8f18cfcdf680d6134fb3
32,201
[ -1 ]
32,202
chapter-5-ex.lisp
andlys_ansi-common-lisp/chapters/chapter-5-ex.lisp
;;; ex-1a (defparameter y '(a b c)) (let ((x (car y))) (cons x x)) (do ((x (car y))) (t (cons x x))) ;;; ex-1b (defparameter x '(10 20 30)) (defparameter z 100) (let* ((w (car x)) (y (+ w z))) (cons w y)) (do* ((w (car x)) (y (+ w z))) (t (cons w y))) ;;; ex-2 ;;; old (defun mystery (...
3,138
Common Lisp
.lisp
119
19.831933
62
0.44838
andlys/ansi-common-lisp
0
1
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
655212334b3f36e1c746de9a9e824ce75d6bc242093f1b7227abcb0f26a114ad
32,202
[ -1 ]
32,203
chapter-10-ex.lisp
andlys_ansi-common-lisp/chapters/chapter-10-ex.lisp
;; ex-1 (let ((x 'a) (y 'b) (z '(c d))) (list `(,z ,x z) `(x ,y ,@z) `((,@z ,x) z))) ;; ex-2 (defmacro iff (test then &optional else) `(let ((val ,test)) (cond (val ,then) (t ,else)))) (pprint (macroexpand-1 (iff (/= 2 2) (oddp 2) (oddp 3)))) ;; variabl...
2,621
Common Lisp
.lisp
111
20.108108
76
0.555288
andlys/ansi-common-lisp
0
1
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
8edffcac6b491609271713d92d9c62ed89050296815ba0bff1a0a2fe37a46f51
32,203
[ -1 ]
32,204
chapter-3.lisp
andlys_ansi-common-lisp/chapters/chapter-3.lisp
(nthcdr 3 '(a b c d e)) (reverse '(a b c)) (sort '(2 5 3 1 4) #'<) (subseq '(a b c) 1) (every #'oddp '(1 3 5)) (some #'evenp '(1 2 3)) (every #'> '(1 3 5) '(0 2 4)) (defun every-odd (lst) (every #'oddp lst)) (every-odd '(1 3 5 7 8)) ;stacks (defparameter lst (list 'a)) (push 'b lst) (pop lst) (cons 'a 'b) (defparame...
1,081
Common Lisp
.lisp
37
22.594595
58
0.493269
andlys/ansi-common-lisp
0
1
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
f600e5bbf270ba3dbd0478334e2c3699bacce8278702461d67af2ca65314234f
32,204
[ -1 ]
32,205
chapter-2-ex.lisp
andlys_ansi-common-lisp/chapters/chapter-2-ex.lisp
;access the third element of list (defvar lst (list 'a 'b 'c 'd 'e)) (defvar x) (setq x (third lst)) (print x) (setq x (car (cdr (cdr lst)))) (print x) (setq x (caddr lst)) (print x) ;;; ex-1.c (list (and (listp 3) t) (+ 1 2)) ;;; ex-2 (cons 'a '(b c)) (cons 'a (cons 'b '(c))) (cons 'a (cons 'b (cons 'c nil))) ;;; ex...
2,143
Common Lisp
.lisp
94
18.840426
76
0.518409
andlys/ansi-common-lisp
0
1
0
GPL-3.0
9/19/2024, 11:42:22 AM (Europe/Amsterdam)
d955a3bdb707b7cf9ab8e2a26526c9c2ca62cd1b82d7ce4e3cfe781614866efb
32,205
[ -1 ]