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
29,397
predicates.lisp
thinkum_affta/src/main/cltl/predicates.lisp
;;;; predicates.lisp - redundant PREDICATE class, early prototype (in-package #:mcicl.test) (defclass predicate (closure-container labeled-object funcallable-standard-object) ;; FIXME: This class may be redundant ((test-form :initarg :form :accessor test-form) ...
4,298
Common Lisp
.lisp
116
26.991379
85
0.563641
thinkum/affta
0
0
0
EPL-1.0
9/19/2024, 11:37:33 AM (Europe/Amsterdam)
e2ed24bc842a012c12f4802e659a282f109d3b0f95ca0abad6ced33de2621449
29,397
[ -1 ]
29,398
test-protocol.lisp
thinkum_affta/src/main/cltl/test-protocol.lisp
;; test-protocol.lisp - AFFTA (in-package #:mcicl.test) (defgeneric do-test-setup (goal test) (:method (goal (test function)) (declare (ignore goal test)) (values)) (:method (goal (test test)) (multiple-value-bind (fn setup-p) (test-setup-function test) (when setup-p (funcall f...
8,012
Common Lisp
.lisp
160
33.04375
93
0.511816
thinkum/affta
0
0
0
EPL-1.0
9/19/2024, 11:37:33 AM (Europe/Amsterdam)
54b556e822a374989ba7181ccf7af3b2935bf8e2f911ea200b065430061d1886
29,398
[ -1 ]
29,399
test-recording.lisp
thinkum_affta/src/main/cltl/test-recording.lisp
;; test-record.lisp - test data encapsulation [AFFTA] (in-package #:mcicl.test) (defgeneric test-parameters (test)) (defgeneric test-expect-state (test)) ;; ^ FIXME: This applies only to a VALUES-TEST (declaim (type function %default-equivalence-function%)) (defvar %default-equivalence-function% #'equalp) (defgen...
6,329
Common Lisp
.lisp
137
42.744526
74
0.746422
thinkum/affta
0
0
0
EPL-1.0
9/19/2024, 11:37:33 AM (Europe/Amsterdam)
1ba73be05d4b56049de566e9a1dec437c06d1a26a07a9dec4b317e6eeafc4505
29,399
[ -1 ]
29,400
test-package.lisp
thinkum_affta/src/main/cltl/test-package.lisp
;; test-package.lisp - package definition [AFFTA] (in-package #:cl-user) (defpackage #:info.metacommunity.cltl.test (:nicknames #:mcicl.test) ;; #+CLOSER-MOP #+NIL (:shadowing-import-from #:c2mop #:defmethod #:defgeneric #:standard-generic-function ) (:use #+NIL #:i...
1,899
Common Lisp
.lisp
77
18.532468
97
0.605131
thinkum/affta
0
0
0
EPL-1.0
9/19/2024, 11:37:33 AM (Europe/Amsterdam)
1f58a90278c0234b9360833a702bc7d69da40e370b3081787c7faa2ad5a798c5
29,400
[ -1 ]
29,401
test-classes.lisp
thinkum_affta/src/main/cltl/test-classes.lisp
;; test-classes.lisp - protocol classes [AFFTA] ;; FIXME: Once AFFTA test-interfaces is defined, ;; then define tests for: ;; 1. ASSOCIATIVE-INDEX and subclasses ;; 2. TEST-SUITE and TEST registry protocol (presently mirroring ASSOCIATIVE-INDEX protocol) (in-package #:mcicl.test) (defgeneric test-object (te...
22,079
Common Lisp
.lisp
519
36.184971
138
0.666822
thinkum/affta
0
0
0
EPL-1.0
9/19/2024, 11:37:33 AM (Europe/Amsterdam)
46b19f43b33d3c7a94ce579556307d0950114e8a5f1d88535d890e984be5d678
29,401
[ -1 ]
29,402
info.metacommunity.cltl.test.asd
thinkum_affta/src/main/cltl/info.metacommunity.cltl.test.asd
;; info.metacommunity.cltl.test.asd -*-lisp-*- (in-package #:asdf-user) (defsystem #:info.metacommunity.cltl.test :description "Another Framework for Functional Test Appliation (AFFTA)" :version "1.3.1" :homepage "https://github.com/MetaCommunity/affta" :license "https://github.com/MetaCommunity/affta/b...
1,231
Common Lisp
.asd
43
20.27907
71
0.560955
thinkum/affta
0
0
0
EPL-1.0
9/19/2024, 11:37:33 AM (Europe/Amsterdam)
c9963a2f7673096946682c84c091eff08060940704733dbc540be44dbcb3682a
29,402
[ -1 ]
29,416
affta-1.3_test-goal-revision.md
thinkum_affta/doc/markdown/affta-1.3_test-goal-revision.md
# AFFTA-1.3 TEST-GOAL test protocol revision ## Overview The functional testing interface defined in AFFTA was revised, substantially, between AFFTA revisions 1.2 and 1.3. * AFFTA 1.2, in effect, was the last minor version if the initial prototype for the AFFTA system * AFFTA 1.3 provides a TEST-GOAL class, mor...
4,073
Common Lisp
.l
77
47.974026
91
0.744686
thinkum/affta
0
0
0
EPL-1.0
9/19/2024, 11:37:33 AM (Europe/Amsterdam)
30d12ade446eff1648cd7aa905b5c3e0f49ad468807675e4f4f8250fc13ed520
29,416
[ -1 ]
29,431
Zadatak14.lisp
clzola_pmf-lisp/Zadatak14.lisp
; Zadatak 15. ; Napisati funkciju (len L) čija je vrijednost dužina, tj. broj elemenata, liste L. (defun len (L) (if (eq (car L) nil) 0 (+ 1 (len (cdr L))) ) )
168
Common Lisp
.lisp
8
19
83
0.639241
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
6e5e219c092278fa61013c9179ab0e986774ac16d61201ca054354c21ad28afa
29,431
[ -1 ]
29,432
Zadatak4.lisp
clzola_pmf-lisp/Zadatak4.lisp
; Zadatak 4. ; Napisati funkciju (obimKrug R) cija je vrijednost obim kruznice poluprecnika R (defun obimKrug (R) (* 2 R pi) )
128
Common Lisp
.lisp
5
24.4
80
0.747967
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
eabd8f8e6a6cbac32c7fb05010b78685ac4c67ff22b333cc3c428aefb64eadca
29,432
[ -1 ]
29,433
Zadatak1.lisp
clzola_pmf-lisp/Zadatak1.lisp
; Zadatak1: Napisati funkcije (add1 R), (sub R), (sqr R) i (recip R) cije su ; vrijednosti redom R+1, R-1, R^2, 1/R (defun add1 (R) (+ R 1) ) (defun sub (R) (- R 1) ) (defun sqr (R) (* R R) ) (defun recip (R) (if (eq R 0) "infinity" (/ 1 R) ) )
258
Common Lisp
.lisp
17
13.411765
77
0.567227
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
edba63fb4f4bc32b902b84db813b5a70d6fe8df1481eb8226fccf9158ba73f19
29,433
[ -1 ]
29,434
matrica.lisp
clzola_pmf-lisp/matrica.lisp
(defun matrix-input (filename) (setq matrix nil) (with-open-file (fhandle filename :direction :input) (setq nColumns (read fhandle nil nil)) (setq nRows (read fhandle nil nil)) (do ((i 0 (+ i 1))) ((= i nRows)) (setq row nil) (do ((j 0 (+ j 1))) ((= j nC...
852
Common Lisp
.lisp
31
19.903226
54
0.505535
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
4aa488ec58a3ca374f99bd5fb2acea8fd4eb5027abc713a00f3711fa31658181
29,434
[ -1 ]
29,435
Zadatak2.lisp
clzola_pmf-lisp/Zadatak2.lisp
; Zadatak 2. ; Napisati funkciju (less R1 R2) cija je vrijednost t ako je R1 manje od R2 ; inace je vrijednost funkcije NIL. (defun less (R1 R2) (if (< R1 R2) t nil ) )
175
Common Lisp
.lisp
9
17.777778
75
0.698795
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
faa678799238d46ef613ada94c7e5495f3edf5e5ef5fdf779c0267822f27d464
29,435
[ -1 ]
29,436
Zadatak3.lisp
clzola_pmf-lisp/Zadatak3.lisp
; Zadatak 3. ; Napisati funkciju (povKrug R) cija je vrijednost povrsina kruga poluprecnika R (defun povKrug (R) (* R R pi) )
127
Common Lisp
.lisp
5
24.2
80
0.745902
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
c6540d63a55aa4fac0fad1c09ce9b2fa03043a7814c58915b8aa26683b73f2b2
29,436
[ -1 ]
29,437
Zadatak26.lisp
clzola_pmf-lisp/Zadatak26.lisp
; Zadatak 26 (defun uzmiAtome (L) (setq A (list)) (loop while (not (null L)) do (when (atom (car L)) (setq A (append A (list (car L)))) ) (setq L (cdr L)) ) A )
215
Common Lisp
.lisp
11
13.636364
46
0.465347
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
b0f5dda10a6bbecf357639088e9930668675452a773f848334df24fed332e2ed
29,437
[ -1 ]
29,438
Zadatak7.lisp
clzola_pmf-lisp/Zadatak7.lisp
; Zadatak 7. ; Napisati funkciju (linear A B) čije je vrijednost rješenje linearne jednačine ; ax+b=0, ukoliko postoji i jedinstveno je. Inače je vrijednost funkcije poruka ; o homogenosti, odnosno protivrječnosti jednačine. (defun linear (A B) (cond ((and (eq A 0) (eq B 0)) "HOMOEGENA") ((and (eq A 0) (no...
377
Common Lisp
.lisp
11
31.818182
82
0.677778
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
61f748faad6473432faa4db40aa3624c51f8d5c84475976ded7fdcf0467ba9f1
29,438
[ -1 ]
29,439
Zadatak5.lisp
clzola_pmf-lisp/Zadatak5.lisp
; Zadatak 5. ; Napisati funkciju (celUFar N) čija je vrijednost broj Farenhajtovih stepeni ; za zadati broj Celzijusovih stepeni N. Fromula za preračunavanje Celzijusovih ; stepeni N u Farenhajtove stepene F je: F = N * 9/5 + 32 (defun celUFar (N) (+ (* N (/ 9 5.0)) 32) )
282
Common Lisp
.lisp
7
38.571429
82
0.714286
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
60e68a084e0335b1f5a1fef1e40708b02822e8f395510c2e338884b1bf311cc3
29,439
[ -1 ]
29,440
Zadatak28.lisp
clzola_pmf-lisp/Zadatak28.lisp
; Zadatak 28. (defun app (L1 L2) (if (null L1) L2 (cons (car L1) (app (cdr L1) L2)) ) ) (defun okret (L) (if (null L) nil (append (okret(cdr L)) (list (car L))) ) )
178
Common Lisp
.lisp
13
11.692308
40
0.573171
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
69e47244cd1116f1101a573bf505a59f10a5868304e86f561e01369ffd875cd3
29,440
[ -1 ]
29,441
Zadatak17.lisp
clzola_pmf-lisp/Zadatak17.lisp
; Zadatak 17. ; Napisati funkciju (brListi L) čija je vrijednost broj svih podlisti ; liste L (tj. broj svih podlisti liste L i svih njihovih podlisti). (defun brListi (L) (cond ((eq L nil) 0) ((listp (car L)) (+ 1 (brListi (car L)) (brListi (cdr L)))) (t (brListi (cdr L))) ) )
290
Common Lisp
.lisp
10
27
71
0.660714
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
49b4ea91eefe2a93663d93881f9f1a0f8e9f0f3bc1121f8a5e7eea7395bd6f01
29,441
[ -1 ]
29,442
Zadatak8.lisp
clzola_pmf-lisp/Zadatak8.lisp
; Zadatak 8. ; Napisati funkciju za izračunavanje faktorijela (fak N) čija je vrijednost N! ; Rekurzivna verzija (defun fak_r (N) (if (eq N 1) 1 (* N (fak_r (- N 1))) ) ) ; Nerekurzivna verzija (defun fak (N) (setq R 1) (loop while (> N 1) do (setq R (* R N)) (setq N (- N 1)) ) R )
303
Common Lisp
.lisp
18
14.777778
79
0.619217
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
37dd494da8617994b7ad5f35de15aa2e03968eeec2603179a79ae15d21dc3f50
29,442
[ -1 ]
29,443
Zadatak9.lisp
clzola_pmf-lisp/Zadatak9.lisp
; Zadatak 9. ; Napisati funkciju (fibonacci N) za izračunavanje N-tog člana ; Fibonačijevog niza ; Rekurzivna verzija (defun fibonacci_r (N) (if (or (eq N 0) (eq N 1)) 1 (+ (fibonacci_r (- N 1)) (fibonacci_r (- N 2))) ) ) ; Nerekurzivna verzija (defun fibonacci (N) (setq F (list 1 1)) (setq F1 1) (setq F2...
482
Common Lisp
.lisp
25
16.76
63
0.615556
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
85ef727bf100afaa557da6337f9fef13d7038963e0b140bf4020b5652bfac219
29,443
[ -1 ]
29,444
Zadatak19.lisp
clzola_pmf-lisp/Zadatak19.lisp
; Zadatak 19. ; Napisati funkciju (memb A L) čija je vrijednost t ako je atom A ; element liste L. (defun memb (A L) (setq inList nil) (loop while (and (null inList) (not (null L))) do (if (atom (car L)) (when (eq (car L) A) (setq inList t) ) (when (memb A (car L)) (setq inList t) ) ) ...
353
Common Lisp
.lisp
18
16.555556
67
0.601208
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
a24a363f6900f2e7f011cabfed0dcebcc4c2ec8e36ce194ce7aa23f2f065a9d0
29,444
[ -1 ]
29,445
Zadatak6.lisp
clzola_pmf-lisp/Zadatak6.lisp
; Zadatak 6 ; Napisati funkciju (prava A1 B1 C1 A2 B2 C2) čija je vrijednost izraz ; "PRAVE SE SIJEKU" ako se prava sa koeficijentima A1, B1 i C1 siječe sa ; pravom sa koeficijentima A2, B2 i C2. Ukoliko su prave paralelne vrijednost ; funkcije je izraz "PRAVE SU PARALELNE", a ako se poklapaju vrijednost ; ...
616
Common Lisp
.lisp
17
34.117647
80
0.659396
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
0899442c9372bd0eb8d5929b43cf6d630cf517d4e5af4bd2bfa2200ce69109d7
29,445
[ -1 ]
29,446
Zadatak20.lisp
clzola_pmf-lisp/Zadatak20.lisp
; Zadatak 20 ; Napisati funkciju (brPojava X L) čija je vrijednost broj svih pojavljivanja ; izraza X u listi L. (defun brPojava (X L) (cond ((null L) 0) ((listp (car L)) (+ (brPojava X (car L)) (brPojava X (cdr L)))) ((eq (car L) X) (+ 1 (brPojava X (cdr L)))) (t (brPojava X (cdr L))) ) )
305
Common Lisp
.lisp
11
25.727273
80
0.619048
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
7c09f99ab425feda919f5d783f956b038b03eed3e5dadd1a6653053c6379126d
29,446
[ -1 ]
29,447
Zadatak21.lisp
clzola_pmf-lisp/Zadatak21.lisp
; Zadatak 21. ; Napisati funkciju (dubina X) ?ija je vrijednost najve?a dubina izraza X. ; Najveca dubina atoma je 0 (defun dubina (X) (cond ((atom X) 0) ((listp (car X)) (max (+ 1 (dubina (car X))) (dubina (cdr X)))) (t (dubina (cdr X))) ) )
280
Common Lisp
.lisp
10
23.7
76
0.568773
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
bc55e61a1ee5b0a3b92d8d1c0cb45d89d76361c98e76bf111797b8ba3135ebe3
29,447
[ -1 ]
29,448
Zadatak10.lisp
clzola_pmf-lisp/Zadatak10.lisp
; Zadatak 10. ; Napisati funkciju (nzd A B) čija je vrijednost najveći zajednički djelilac ; brojeva A i B. (defun nzd (A B) (if (eq B 0) A (nzd B (mod A B)) ) )
174
Common Lisp
.lisp
9
17.222222
76
0.660494
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
cb2f3aad04482cb75e75292ee8bd90d401d04213cd79df86e4383d50a778380d
29,448
[ -1 ]
29,449
Zadatak16.lisp
clzola_pmf-lisp/Zadatak16.lisp
; Zadatak 16. ; Napisati funkciju (brAtoma L) čija je vrijednost broj svih atoma u listi L (tj. ; broj atoma u listi L i svim podlistama liste L). (defun brAtoma (L) (cond ((eq L nil) 0) ((listp (car L)) (brAtoma (car L))) (t (+ 1 (brAtoma(cdr L)))) ) )
265
Common Lisp
.lisp
10
24.5
82
0.65098
clzola/pmf-lisp
0
0
0
GPL-2.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
a646efa1ab9b658f5a856a35f4ba23ea2fd7d71c32089d482d7f036f4ef5cbc3
29,449
[ -1 ]
29,484
notify.lisp
thinkum_dobelle/src/main/cltl/notify.lisp
(in-package #:mcicl.app) ;;;; Trivial application notification framework for condition handling (defclass application (#+FIXME singleton) () #+FIXME (:metaclass singleton)) ;; -- (defvar %application% nil) ;; FIXME: Define an APPLICATION class representative of the Lisp REPL+PTY (defun current-application...
5,645
Common Lisp
.lisp
143
35.461538
82
0.707808
thinkum/dobelle
0
0
0
EPL-1.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
ee5219edc66a33f8796c3f0f13b18b30c7d035e387699676119fa2834dba517e
29,484
[ -1 ]
29,485
iolib-misc-test.lisp
thinkum_dobelle/src/main/cltl/iolib-misc-test.lisp
(in-package #:cl-user) (asdf:operate 'asdf:load-op '#:iolib/os) (defvar %pkg/cmd% "/usr/sbin/pkg") (deftype %fd () ;; FIXME: find FD grovely-type 'unsigned-byte) (defstruct pty ;; NB: ;; (iolib/os::setup-slave-pty t) ;; => FD, PTS_PATH (stream (make-instance 'iolib/os:tty-stream) :type iolib/st...
3,396
Common Lisp
.lisp
99
27.545455
65
0.582696
thinkum/dobelle
0
0
0
EPL-1.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
f7a4aa5b2843f3cd55e5a92ec9591b3a9ce8dcd92be1ca3ca45a851e0a8fad35
29,485
[ -1 ]
29,486
app-package.lisp
thinkum_dobelle/src/main/cltl/app-package.lisp
;; app-package.lisp - dobelle-app-notify (in-package #:ltp/common) (defpackage #:ltp/dobelle/app (:nicknames #:mcicl.app ;; FIXME [Deprecated] - Both #:info.metacommunity.cltl.application) (:use #:ltp/common #+FIXME #:ltp/common/mop #+FIXME #:ltp/common/index #:...
706
Common Lisp
.lisp
25
22.88
55
0.662202
thinkum/dobelle
0
0
0
EPL-1.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
3efcda304cb3835431b7ae2537545a03e81a0c27674b1be0f1bbe31d3c5f94ce
29,486
[ -1 ]
29,487
controller.lisp
thinkum_dobelle/src/main/cltl/controller.lisp
;; controller.lisp - LTP Dobelle application-controller protocol ;; NB: May be moved into a package ltp/dobelle/app ;; w/ symbols subsq renamed s/app-// #| Remarks - API Design - This API endeavors to develop some characteristics of a concept, broadly: Normal application definitions, for Common Lisp programs. ...
10,335
Common Lisp
.lisp
232
40.849138
84
0.745259
thinkum/dobelle
0
0
0
EPL-1.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
0b08c52a005d19e873273a91fc7c294d1add74e5831a9f57a0e56888379b90f8
29,487
[ -1 ]
29,488
ltp-dobelle-app.asd
thinkum_dobelle/src/main/cltl/ltp-dobelle-app.asd
;; info.metacommunity.cltl.app.asd -*-lisp-*- (in-package #:asdf-user) (defsystem #:ltp-dobelle-app :description "API for application initialization and messaging in Common Lisp" :version "1.0" :homepage "https://github.com/MetaCommunity/dobelle-app" :license "https://github.com/MetaCommunity/dobelle-app/...
525
Common Lisp
.asd
16
28.1875
77
0.676587
thinkum/dobelle
0
0
0
EPL-1.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
efe9e2c4b641b89407a68c3645ea869ec1003390a1d9eb241ccdba41dec0e6b3
29,488
[ -1 ]
29,495
dobelle-app.xml
thinkum_dobelle/doc/xml/dobelle-app.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book [ <!ENTITY mdash "&#x2014;" > <!-- project metadata --> <!ENTITY project "<productname>Dobelle Application System</productname>" > <!ENTITY project.id "dobelle-app" > <!-- terms --> <!ENTITY cltl "<productname>Common Lisp</productname>" > <!ENTITY asdf "...
26,697
Common Lisp
.l
640
30.045313
91
0.59048
thinkum/dobelle
0
0
0
EPL-1.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
d8fa506407a83957fa2ac43d3c90ba2208f3b01b10c93bbe92027ba4db304a43
29,495
[ -1 ]
29,510
cl-lns.lisp
arpunk_cl-lns/src/cl-lns.lisp
;;;; cl-lns.lisp (in-package #:cl-lns) (defvar *lns-api* "http://ln-s.net/home/api.jsp?url=") (defun lnsify (url) "Shortens a URL using ln-s.net." (when (stringp url) (multiple-value-bind (lnsized code) (drakma:http-request (concatenate 'string *lns-api* url)) (if (= code 200) ;; TODO: check ot...
452
Common Lisp
.lisp
11
36
67
0.627854
arpunk/cl-lns
0
0
0
GPL-3.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
423821a0d9f1aa1cfb234691714c2281aa08e431a4a5c399028b014647190394
29,510
[ -1 ]
29,511
cl-lns.lisp
arpunk_cl-lns/t/cl-lns.lisp
;;;; cl-lns-test.lisp (in-package :cl-user) (defpackage cl-lns-test (:use :cl :cl-lns :cl-test-more)) (in-package :cl-lns-test) (plan 2) (defvar *test-url* "http://www.gnu.org/") (setf *test-res* (cl-lns:lnsify *test-url*)) (ok *test-res* "URL shortened") (is *test-res* "http://ln-s.net/1EQB" ...
365
Common Lisp
.lisp
14
23
44
0.639535
arpunk/cl-lns
0
0
0
GPL-3.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
4b81d91608666f4b212182ca4716a07d4a01306e19c1804d995c87dbd3081de5
29,511
[ -1 ]
29,512
cl-lns-test.asd
arpunk_cl-lns/cl-lns-test.asd
;;;; cl-lns-test.asd (in-package :cl-user) (defpackage cl-lns-test-asd (:use :cl :asdf)) (in-package :cl-lns-test-asd) (asdf:defsystem #:cl-lns-test :serial t :version "0.0.1" :author "Ricardo Lanziano <arpunk@cryptolab.net>" :license "GPLv3" :depends-on (#:cl-lns #:cl-test-more) :componen...
444
Common Lisp
.asd
15
25.4
57
0.621495
arpunk/cl-lns
0
0
0
GPL-3.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
c6561845701c5161ae083cb5bb0581b7cf2bd51c6c07cd15f2cbd80ff7e80942
29,512
[ -1 ]
29,513
cl-lns.asd
arpunk_cl-lns/cl-lns.asd
;;;; cl-lns.asd (asdf:defsystem #:cl-lns :serial t :version "0.0.1" :description "ln-s.net URL shortener interface" :author "Ricardo Lanziano <arpunk@cryptolab.net>" :license "GPLv3" :depends-on (#:drakma #:cl-ppcre) :components ((:module "src" :components ((:file "...
382
Common Lisp
.asd
12
26.166667
56
0.601626
arpunk/cl-lns
0
0
0
GPL-3.0
9/19/2024, 11:37:41 AM (Europe/Amsterdam)
e31991e30c915ce155624b3e9c5a715e44baec784cd91ab78f30dde75409708a
29,513
[ -1 ]
29,591
package.lisp
malisper_Clint/src/package.lisp
(defpackage :clint (:nicknames :cln :clint) (:use :cl) (:export :repl :eval-string))
91
Common Lisp
.lisp
4
20.25
31
0.655172
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
18dc8377152543b96463306285de65efce3a01fb4d100ff16d3ec23c7278912a
29,591
[ -1 ]
29,592
helper.lisp
malisper_Clint/src/helper.lisp
;;;; These are some helper macros/procedures. (in-package :clint) (defmacro switchlet (var exp &rest clauses) "Equivalent to switch but binds EXP to VAR." `(let ((,var ,exp)) ,(labels ((recur (left) (cond ((null left) nil) ((null (cdr left)) (car left)) ...
1,705
Common Lisp
.lisp
40
35.4
69
0.610507
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
bafa55e7f5af031f338ac84b4c0bfbcbcdf6153308778f82d23d6956a223d032
29,592
[ -1 ]
29,593
higher-order-fns.lisp
malisper_Clint/src/libs/higher-order-fns.lisp
;;;; These are some higher order functions, meant to be loaded by ;;;; using load from within the interpreter. (defun member-if (f xs) "Return the first tail of XS for which the the procedure F returns true when called on its first element." (cond ((null xs) '()) ((funcall f (car xs)) xs) ;; Use 'else ...
1,351
Common Lisp
.lisp
38
32.421053
68
0.676628
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
2095feac22b3b73fb67ca2651a40ef3615b790afc744dc3e569789967fad5171
29,593
[ -1 ]
29,594
exports.lisp
malisper_Clint/src/libs/exports.lisp
;;;; This is where all of the symbols are exported. (export '(funcall apply eval package-name find-package intern make-package package-nicknames documentation fdefinition macro-function set-macro-character set-dispatch-macro-character get make-hash-table symbol-name symbol-packa...
775
Common Lisp
.lisp
14
48.5
69
0.717678
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
6180e81bef6eb78fbedbf6bc70c925f9aae6bb2021f2809423a07c6426d12692
29,594
[ -1 ]
29,595
lists.lisp
malisper_Clint/src/libs/lists.lisp
(defun list (&rest args) "Return a list containing the given arguments." args) (defun list* (&rest args) "Return a dotted list containing all of the elements." (if (null (cdr args)) (car args) (cons (car args) (apply #'list* (cdr args))))) (defun nthcdr (n xs) "Returns the Nth cdr of XS." (if ...
1,546
Common Lisp
.lisp
48
27.1875
73
0.579866
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
584dce85ff1425a70e933e27e464cefb1740d1fe3b092072efcec3cc0b246de4
29,595
[ -1 ]
29,596
fns.lisp
malisper_Clint/src/libs/fns.lisp
;;;; Some basic functions. (defun identity (x) "Returns whatever is passed in." x) (defun constantly (x) "Return a function that will always return whatever was initially passed in." (lambda (&rest args) x))
221
Common Lisp
.lisp
8
25
67
0.720379
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
fe237be4f75b017ecfcf81329d954b03ff18ff8e83dfe7afdcb9b569f69dc2af
29,596
[ -1 ]
29,597
env.lisp
malisper_Clint/src/core/env.lisp
;; The implementation for environments. This sets up the two ;; environments, as well as defines procedures for accessing values in ;; them. (in-package :clint) (defvar *global-env* (list '()) "The global variable environment.") (defvar *global-fenv* (list '()) "The global function environment.") (defvar *env* *glo...
2,771
Common Lisp
.lisp
63
39.301587
70
0.682864
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
81ad519f60a754340daa38caaf3259044bbed83e88f8d8fed022c8e067d53eae
29,597
[ -1 ]
29,598
syms.lisp
malisper_Clint/src/core/syms.lisp
;; The implementation for Clint symbols. (in-package :clint) (defclass cl-symbol () ((name :initarg :name :accessor cl-symbol-name :documentation "The name of this symbol.") (package :initarg :package :accessor cl-symbol-package :initform nil :documentation "The package this symbol...
757
Common Lisp
.lisp
15
45.133333
72
0.691475
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
430e76f23fa7744e0683bd819fbb5b546874c9e0c703a96f16c2c1058eb4fc61
29,598
[ -1 ]
29,599
intern.lisp
malisper_Clint/src/core/intern.lisp
;;;; Utilities for interfacing between the ICL and Clint. (in-package :clint) ;; A reader macro to make typing in Clint symbols easier. It will take ;; the result of the form that comes after it (as a tree) and convert ;; all of the symbols in it to Clint symbols. (eval-when (:compile-toplevel :load-toplevel :execute...
4,564
Common Lisp
.lisp
97
40.938144
83
0.6612
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
75dbe8cd25fb4b05195291e2368c1a003ebb7a30a5cfefdf4fbbccbaebde4561
29,599
[ -1 ]
29,600
cons.lisp
malisper_Clint/src/core/cons.lisp
;;;; Implementation for Clint's cons pairs. (in-package :clint) (defclass cl-cons () ((car :accessor cl-car :initarg :car :documentation "The car of this pair.") (cdr :accessor cl-cdr :initarg :cdr :documentation "The cdr of this pair.")) (:documentation "A Clint cons pair.")) (defmethod print...
1,130
Common Lisp
.lisp
29
32.793103
69
0.60219
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
088ff85ffed6a30e0e90f9c0698fe5face46e5b12d9e6d74c46bef4ccbbcefec
29,600
[ -1 ]
29,601
arguments2.lisp
malisper_Clint/src/core/arguments2.lisp
;;;; The rest of the parameter types are defined here. (in-package :clint) (defmethod bind (parms args (kind (eql ^'&optional))) "Bind optional arguments." (cond ((null parms) (if (null args) '() (error "Too many values passed in."))) ((member (car parms) *lambda-list-keywords*) (bind (cdr parms)...
1,791
Common Lisp
.lisp
43
31.209302
99
0.540974
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
1d0b6a5777a8e2eadb957509116e6ef37bd9befc62dd7f1526bd929a9970c27e
29,601
[ -1 ]
29,602
arguments.lisp
malisper_Clint/src/core/arguments.lisp
;;;; Handles the binding of argument lists to the values. Some of ;;;; the binding methods are defined in arguments2 because they need ;;;; access the evaluator. (in-package :clint) (defun extend-envs (env denv parms args) "Extend a given environment. This works for both the variable environment and function env...
1,935
Common Lisp
.lisp
44
38.795455
85
0.664365
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
cab2d36d378b1ef92552ed981f64052fc0c8fe96315cccdd5cc14826f8453c9d
29,602
[ -1 ]
29,603
interpreter.lisp
malisper_Clint/src/core/interpreter.lisp
;; The core interpreter. (in-package :clint) (defun cl-eval (exp) "Evaluates EXP in ENV." (cond ((typep exp 'cl-symbol) (val exp)) ((atom exp) exp) ((switch (car exp) ^'quote (cadr exp) ^'function (cl-function (cadr exp)) ^'if (cl-eval-if (cdr exp)) ^'...
2,539
Common Lisp
.lisp
65
33.969231
72
0.653674
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
19d0082171b36d1a836c0c5227a5e67ecb71d43288fd24272c368d57ef3db667
29,603
[ -1 ]
29,604
fns.lisp
malisper_Clint/src/core/fns.lisp
;; Implementation for Clint macros and procedures. (in-package :clint) (defclass fn () () (:documentation "A Clint macro or procedure.")) (defclass lambda-fn (fn) ((args :initarg :args :accessor fn-args :documentation "The arguments this procedure needs.") (code :initarg :code :...
1,203
Common Lisp
.lisp
28
35.321429
72
0.659758
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
c89f1bb31f8377642ba5747e8bac541c7796e5a0c04650c2700a31349091ee47
29,604
[ -1 ]
29,605
packages.lisp
malisper_Clint/src/core/packages.lisp
;; Implementation of Clint packages and related procedures. (in-package :clint) (defvar *packages* (make-hash-table :test #'equal) "A hash-table containing all of the packages. Currently indexed by the name as a string.") (defclass cl-package () ((name :initarg :name :accessor cl-package-name :docume...
1,413
Common Lisp
.lisp
27
48
92
0.717596
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
22286892b7f22dcbe025d25d9868606c703d41ea2f2f498e011da915ff2713d9
29,605
[ -1 ]
29,606
docs.lisp
malisper_Clint/src/core/docs.lisp
;; Implementation for procedures for looking up and setting Clint ;; documentation. (in-package :clint) (defparameter *docs* (make-hash-table :test #'equal) "A table mapping from a list containing the name and the type (function, variable, etc) of an object to the documentation string.") (defun cl-doc (name ...
681
Common Lisp
.lisp
15
42.666667
75
0.73716
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
66b53c967f499a9dfb478d3c19ca6bf44b753e60af9b3a188142365d754bbe6f
29,606
[ -1 ]
29,607
primitive-macros.lisp
malisper_Clint/src/primitives/primitive-macros.lisp
;; Primitive Clint macros. (in-package :clint) (defprimitive-macro let (bindings &rest exps) "The syntax is (let ((var val) ...) body). All of the variables will be bound to the respective values." ^`((lambda ,(mapcar #'car bindings) ,@exps) ,@(mapcar #'cadr bindings))) (defprimitive-macro let* (bindings...
4,616
Common Lisp
.lisp
114
35.035088
69
0.643845
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
010d5ed133ef0490300eb61eedff562c1aadd9e208cb761ff1044d39c7b77158
29,607
[ -1 ]
29,608
vars.lisp
malisper_Clint/src/primitives/vars.lisp
;;;; Definition for variables that need to be accessible in both ;;;; the ICL and Clint. (in-package :clint) (cl-defparameter *package* (cl-find-package "CL") "The current clint-package.") (cl-defparameter *gensym-counter* 0 "The number to be appended to the name of the next gensym.") (cl-defparameter t ^'t "Th...
961
Common Lisp
.lisp
18
51.611111
77
0.73955
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
d23dc5ccf5cd1412a642cf5c8f134b12627c03e2d9d2587df34cc6021bc34e0a
29,608
[ -1 ]
29,609
reader.lisp
malisper_Clint/src/primitives/reader.lisp
(in-package :clint) (defclass cl-readtable () ((chars :initarg :chars :accessor readtable-chars :initform (make-hash-table) :documentation "A table mapping from the single character reader macros. to their corresponding procedure.") (dispatch :initarg :chars :access...
8,271
Common Lisp
.lisp
205
34.097561
93
0.639089
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
952123323d87940961abb284740ac9a3e8fa9e5e718b0218f8142c1948032b47
29,609
[ -1 ]
29,610
setf.lisp
malisper_Clint/src/primitives/setf.lisp
;; Implementation for Clint's setf. (in-package :clint) (defparameter *setf-expanders* (make-hash-table) "A table containing all of the setf-expanders, indexed by the name of the procedure used to access the place.") (defun cl-get-setf-expansion (form) "Returns five values needed for setf. They are a (1) list...
2,365
Common Lisp
.lisp
49
37.22449
83
0.566667
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
b6212115321cff67aa1dcd20834fde97ced02b843b0b2309852a12ffb029babf
29,610
[ -1 ]
29,611
primitive-fns.lisp
malisper_Clint/src/primitives/primitive-fns.lisp
;; Primitive Clint procedures. (in-package :clint) (add-prim '+ "Sums all of the arguments.") (add-prim '- "Subtracts every number after the first from the first.") (add-prim '* "Multiplies all of the arguments.") (add-prim '/ "Divides all of the arguments after the first, from the first.") (add-prim 'exp "Raise e to...
6,549
Common Lisp
.lisp
158
38.601266
81
0.722651
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
9b9d459dd1caa2e455d382f92127e2f191755f9f26b36fad34a5540f85dc79e7
29,611
[ -1 ]
29,612
definitions.lisp
malisper_Clint/src/primitives/definitions.lisp
(in-package :clint) (defmacro defprimitive-fn (name args &body body) "Define a Clint procedure whose body is evaluated by the ICL." `(progn ,(when (stringp (car body)) `(setf (cl-doc ^',name ^'function) ,(car body))) (setf (val-fn ^',name) (make-instance 'prim-fn :prim-code (lambda ,arg...
1,857
Common Lisp
.lisp
41
38.219512
70
0.631347
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
a8be6d437162f4309071667795036444aac478762396c303c6ba056cd2b82649
29,612
[ -1 ]
29,613
misc.lisp
malisper_Clint/src/primitives/misc.lisp
;;;; Miscellaneous ICL and Clint procedures procedures. (in-package :clint) (defun-cl make-symbol (name) "Create a symbol of the given name." (make-instance 'cl-symbol :name name)) (defun-cl gensym (&optional (name "G")) "Create a new Clint gensym with the given name." (prog1 (cl-make-symbol (format nil "~A~...
739
Common Lisp
.lisp
16
43.0625
70
0.698192
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
f779f86ac0730c0e19412ba6ae37991569648ee82e89c7c48d93f333e45dfbc2
29,613
[ -1 ]
29,614
defparameter.lisp
malisper_Clint/src/primitives/defparameter.lisp
;;;; A way to create variables that are both accessible from Clint ;;;; and the ICL. (in-package :clint) (defmacro cl-defparameter (names val &optional doc) "Define a Clint variable. A symbol macro for icl-name will be defined which will provide access to the Clint variable." (multiple-value-bind (clint-name i...
601
Common Lisp
.lisp
12
43.75
66
0.65247
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
73ce1efdaf394e4313ca304d219a3b3772fb9b9949fd1aea78e8e31e38631bb2
29,614
[ -1 ]
29,615
tests.lisp
malisper_Clint/tests/tests.lisp
(in-package :clint-tests) (defmacro defassert-cl (new-name old-name &optional (is-result t)) "Define a macro, NEW-NAME that is equivalent to OLD-NAME but runs it's second argument, a string, through the Clint interpreter. The argument is-result should be nil if assertion is similar to assert-true where ther...
12,388
Common Lisp
.lisp
322
34.652174
101
0.554973
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
fa2e086cf442993a09f4e7669148bf44aafb538fc45e212ddd8573913ba650f9
29,615
[ -1 ]
29,616
clint-tests.asd
malisper_Clint/clint-tests.asd
(in-package :asdf-user) (defsystem "clint-tests" :description "Tests for Clint" :depends-on ("clunit" "clint") :components ((:module "tests" :serial t :components ((:file "package") (:file "tests"))))) (defmethod perform ((op test-op) (c (eql (find-sy...
421
Common Lisp
.asd
10
34
78
0.586797
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
554797f323e6cbe7166ba9e03baf06d4efd73e1701af883270a7acf3e1eadf51
29,616
[ -1 ]
29,617
clint.asd
malisper_Clint/clint.asd
(defpackage :clint-asd (:use :cl :asdf) (:export :cl-file)) (in-package :clint-asd) (defclass clint-file (source-file) ((type :initform "lisp"))) (defmethod perform ((o load-op) (file clint-file)) "Load the file into Clint." ;; The Clint package is inaccessible until it is loaded. (funcall (intern "CL-LO...
2,780
Common Lisp
.asd
49
33.346939
105
0.414527
malisper/Clint
0
0
0
LGPL-3.0
9/19/2024, 11:37:49 AM (Europe/Amsterdam)
94c24f4b698a3afaf5470b86d0279c6226e1e7c472d4d921841ff555a2699a4d
29,617
[ -1 ]
29,660
example-reverse.lisp
Breakthru_lisp/interpreter-turing-machines-lisp/example-reverse.lisp
(setq reverse '( (q0 a l q1) (q0 b l q1) (q0 c l q1) (q1 BL $ q1) (q1 $ r q2) (q2 a r q2) (q2 b r q2) (q2 c r q2) (q2 BL * q3) (q3 BL l q3) (q3 $ BL q11) (q3 a BL q9) (q3 c BL q4) (q3 b BL q7) (q3 * l q3) (q4 BL r q4) (q4 * r q5) (q5 a r q5) (q5 b r q5) (q5 c r q5) (q5 BL c q6) (q6 a l q6) (q6 b l q6) (q6 c l q6) (q6 *...
6,239
Common Lisp
.lisp
154
36.941558
72
0.546187
Breakthru/lisp
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
6968cc8d8b64e64ab73973060ffe3b6a61138db57a0865bf0762f9423cad3c98
29,660
[ -1 ]
29,661
interprete.lisp
Breakthru_lisp/interpreter-turing-machines-lisp/interprete.lisp
; esempio macchina di turing per la somma ; (interprete '(() q0 (1 1 1 BL 1 1 1 1)) '( (q0 1 BL q0) (q0 BL r q1) (q1 1 r q1) (q1 BL r q2) (q2 1 BL q2) ) ) ; mdt e' una lista di quadruple, ogni quadrupla e' una lista (q,s,x,q) ; ID = (inverso della lista sinistra Stato Q Lista destra) ; sin = (sm...s1) ; des = (s2.......
1,848
Common Lisp
.lisp
45
38.555556
134
0.640869
Breakthru/lisp
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
e850694596663a26390c0eecbb85870a47089d4f0a3669484659b0c1e8bd925e
29,661
[ -1 ]
29,662
lisp.lisp
Breakthru_lisp/lisp-in-lisp/lisp.lisp
(defun sost (nome lambda lista) (cond ((null lista) nil) ((eq nome (car lista)) (append `(label ' ,nome ' ,lambda) (sost nome lambda (cdr lista)))) ((cons (sost1 nome lambda (car lista)) (sost1 nome lambda (cdr lista)))))) (defun sost1 (nome lambda lista) (cond ((atom lista) lista) (t (sost nome lambda ...
3,584
Common Lisp
.lisp
90
33.3
140
0.519137
Breakthru/lisp
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
2c962d001eadbef5d0bf5f8bb70c35fe903c27c9e14fc741cb1773868806c2f1
29,662
[ -1 ]
29,663
label.lisp
Breakthru_lisp/lisp-in-lisp/label.lisp
(defun label (nome e valori) (lambda (cadr e) ; lista degli argomenti (sost nome e) ; sostituisco nome il corpo con una nuova label valori ) ) (defun sost (nome e) (cond ((null e) nil) ((eq nome (car e)) (append `(label ,nome lambda ,(cadr e) ,(caddr e)) (sost nome (cdr e)))) ((cons (sost1 nome (car e)...
757
Common Lisp
.lisp
16
44.5625
140
0.569672
Breakthru/lisp
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
bf65a852c361f1ad7d478d34da2bd6c13a493a22a26cc25c2d8e850e4016b7f4
29,663
[ -1 ]
29,664
evalmccarty.lisp
Breakthru_lisp/lisp-in-lisp/evalmccarty.lisp
(label 'evalm '(lambda (e a) (cond ((atom e) (cond ((eq e nil) nil) ((eq e t) t) (t (cdr (label 'assoc '(lambda (e a) (cond ((null a) nil) ((eq e (caar a)) (car a)) (t (assoc e (cdr a))) ...
3,736
Common Lisp
.lisp
95
21.357895
95
0.334862
Breakthru/lisp
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
1ac124c6e3a28ff50c3c63d5e6d52b2a78413cfa18ee219ce30a62b1203e83e8
29,664
[ -1 ]
29,665
evalm.lisp
Breakthru_lisp/lisp-in-lisp/evalm.lisp
(defun EVALM (espressione ambiente) ((LAMBDA (E A) (COND ((ATOM E) (COND ((EQ E NIL) NIL) ((EQ E T) T) (T (CaDR (LABEL 'ASSOC '(LAMBDA (E A) (COND ((NULL A) NIL) ((EQ E (CAAR A)) (CAR A)) (T (ASSOC E (CDR A))))) E A))))) ; fine della condizione atom E ((AT...
2,389
Common Lisp
.lisp
65
28.707692
99
0.484247
Breakthru/lisp
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
91befc5e0e4e5dbd36ce968d7421df17e8c463fae1e3477cd3ca0285ca258efd
29,665
[ -1 ]
29,666
evalm2.lisp
Breakthru_lisp/lisp-in-lisp/evalm2.lisp
(defun m-eval (espressione ambiente) (LABEL 'EVALM '(LAMBDA (E A) (COND ((ATOM E) (COND ((EQ E NIL) NIL) ((EQ E T) T) (T (CaDR (LABEL 'ASSOC '(LAMBDA (E A) (COND ((NULL A) NIL) ((EQ E (CAAR A)) (CAR A)) (T (ASSOC E (CDR A))))) E A))))) ; fine della condizion...
2,406
Common Lisp
.lisp
67
28.044776
99
0.485628
Breakthru/lisp
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
f22f6c71a067f7d3a49c3f00c03097e426f92f0878f37e4e353704743b3b33cd
29,666
[ -1 ]
29,667
compilatori_1.lisp
Breakthru_lisp/turing-machine-lisp/compilatori_1.lisp
;(defun esegui_r (des sin) ;(setq sin (cons (car des) sin) ) ;(setq des (cdr des) ) ;(cond ( (null des) (setq des '(BL)) ) ) ;) ;(defun esegui_l (des sin) ;(cond ( (null sin) (setq sin '(BL)) ) ) ;(setq des (cons (car sin) des) ) ;(setq sin (cdr sin) ) ;) (defun esegui_r (des sin) (rplacd sin () (rpl...
2,083
Common Lisp
.lisp
57
33.035088
133
0.611694
Breakthru/lisp
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
758c64a23bf2a5b6ba062e04ec474dacf1b89fd8a77205d5961dcd2a4dfc7eaf
29,667
[ -1 ]
29,668
compilatori.lisp
Breakthru_lisp/turing-machine-lisp/compilatori.lisp
;(defun esegui_r (des sin) ;(setq sin (cons (car des) sin) ) ;(setq des (cdr des) ) ;(cond ( (null des) (setq des '(BL)) ) ) ;) ;(defun esegui_l (des sin) ;(cond ( (null sin) (setq sin '(BL)) ) ) ;(setq des (cons (car sin) des) ) ;(setq sin (cdr sin) ) ;) ; mdt e' una lista di quadruple, ogni quadrup...
2,156
Common Lisp
.lisp
61
32.163934
124
0.616651
Breakthru/lisp
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
14f779bdd815a4a164e7cb1c8169cc4ec39afa270cc862ef7f301d81b8a51ed6
29,668
[ -1 ]
29,693
glu.lisp
thiru_glu/glu.lisp
(in-package :glu) ;;; Reader Macros -------------------------------------------------------------- (defvar lambda-symbol-defined nil) (unless lambda-symbol-defined (labels ((位-reader (stream char) "Allow the character '位' to be used in place of the word 'lambda', for brevity's sake." ...
4,058
Common Lisp
.lisp
100
34.44
80
0.513843
thiru/glu
0
0
0
GPL-2.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
c90406ed4c57005a10e4a684918460f41ed6328b7346a3670906f52f9c62c167
29,693
[ -1 ]
29,694
on-lisp.lisp
thiru_glu/on-lisp.lisp
;;;; The following functions are taken directly from Paul Graham's On Lisp, or ;;;; are minor modifications there of. (in-package :glu) ;;; List-based: (defun last1 (lst) "Get the last item in lst. If lst is not a list it simply returns it." (if (listp lst) (car (last lst)) lst)) (defun single? (lst) ...
13,235
Common Lisp
.lisp
335
32.758209
79
0.617464
thiru/glu
0
0
0
GPL-2.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
f19c158638226f2522621a3727a8804870bec8fe214bdb4673e8857b0ddaa9c4
29,694
[ -1 ]
29,695
let-over-lambda.lisp
thiru_glu/let-over-lambda.lisp
;;;; The following functions are taken directly from Doug Hoyte's Let Over ;;;; Lambda, or are minor modifications there of. (in-package :glu) ;; (Daniel Herring's nestable suggestion) (defun sharp-double-quote-reader (stream sub-char numarg) "Facilitates creating strings that have double-quote and backslashes w...
4,295
Common Lisp
.lisp
109
26.559633
78
0.495935
thiru/glu
0
0
0
GPL-2.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
ec81d669ff125668d32f4ac8ec9582506ef6c66c60943be4fd3b784a0de0c4e4
29,695
[ -1 ]
29,696
package.lisp
thiru_glu/package.lisp
;;;; Utils package definitions (in-package :cl-user) (defpackage :glu (:use :cl :local-time) (:export :! :*!equivs* :*english-list* :*log-format-time* :-> :=> :after? :append1 :before? :best :conc1 ...
1,271
Common Lisp
.lisp
63
8.952381
37
0.356551
thiru/glu
0
0
0
GPL-2.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
5025fcf5507c51b10ed3978e6e018cc1e78bdda51d8948b0324383b155c8bab0
29,696
[ -1 ]
29,697
glu.asd
thiru_glu/glu.asd
;;;; Utils build configuration (in-package :cl-user) (asdf:defsystem :glu :version "0.6" :description "Global Lisp utilties that should be useful for most of my apps." :author "Thirushanth Thirunavukarasu <thiru0130@gmail.com>" :license "GPLv2" :serial t :depends-on (:local-time) :components ((:static-f...
552
Common Lisp
.asd
16
26.875
80
0.589888
thiru/glu
0
0
0
GPL-2.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
557528e91d621481bf132364cb77c0281f533d9f6ddec7296b95a8e93d5bf229
29,697
[ -1 ]
29,703
qlfile.lock
thiru_glu/qlfile.lock
("quicklisp" . (:class qlot.source.ql:source-ql-all :initargs (:project-name "quicklisp" :%version :latest) :version "2016-06-28")) ("glu" . (:class qlot.source.git:source-git :initargs (:project-name "glu" :remote-url "https://github.com/thiru/glu.git") :version "git-d653843feb952e5169de051033b66d0feb621b58"...
422
Common Lisp
.l
10
39.8
80
0.742718
thiru/glu
0
0
0
GPL-2.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
eac58f2899af73c7adc051fb8cba0a3fe076450f21ebe644d6dde87c9820888f
29,703
[ -1 ]
29,719
util.lisp
flpa_cl-tree/util.lisp
;;;; cl-tree: Reimplementing Unix 'tree' command in Common Lisp ;;;; Copyright (C) 2015 Florian Patzl ;;;; ;;;; 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 Licen...
2,758
Common Lisp
.lisp
54
44.240741
129
0.64911
flpa/cl-tree
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
2761e776aaaffb59e1fb344f1a14ab65f8f7a8ecd7db1bfc4648108e2de821f8
29,719
[ -1 ]
29,720
cmdline.lisp
flpa_cl-tree/cmdline.lisp
;;;; cl-tree: Reimplementing Unix 'tree' command in Common Lisp ;;;; Copyright (C) 2015 Florian Patzl ;;;; ;;;; 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 Licen...
2,336
Common Lisp
.lisp
54
39.111111
100
0.684234
flpa/cl-tree
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
5863811d533fbad9a96d8da8a1c34ab5e7444586da161a55575de1a1f0072f8f
29,720
[ -1 ]
29,721
coverage.lisp
flpa_cl-tree/coverage.lisp
;;;; cl-tree: Reimplementing Unix 'tree' command in Common Lisp ;;;; Copyright (C) 2015 Florian Patzl ;;;; ;;;; 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 Licen...
1,226
Common Lisp
.lisp
22
54.5
100
0.684167
flpa/cl-tree
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
b9c3040d85c46cbbdee4e1788619d2f4eee0f67367016b803b6ab1e31b22ca47
29,721
[ -1 ]
29,722
core.lisp
flpa_cl-tree/core.lisp
;;;; cl-tree: Reimplementing Unix 'tree' command in Common Lisp ;;;; Copyright (C) 2015 Florian Patzl ;;;; ;;;; 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 Licen...
7,440
Common Lisp
.lisp
147
42.306122
100
0.632507
flpa/cl-tree
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
54e2487efe03282cc95c6490b9b8a904481a6fa2f2f3131eaecc83c3ad6d9703
29,722
[ -1 ]
29,723
build.lisp
flpa_cl-tree/build.lisp
#! /usr/bin/sbcl --script ;;;; cl-tree: Reimplementing Unix 'tree' command in Common Lisp ;;;; Copyright (C) 2015 Florian Patzl ;;;; ;;;; 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, eit...
1,121
Common Lisp
.lisp
21
52.190476
100
0.674567
flpa/cl-tree
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
3695d1a8436d77338597767e33f2b85b0c09af14cf141459d03533ffc9111103
29,723
[ -1 ]
29,724
full.lisp
flpa_cl-tree/test/full.lisp
;;;; cl-tree: Reimplementing Unix 'tree' command in Common Lisp ;;;; Copyright (C) 2015 Florian Patzl ;;;; ;;;; 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 Licen...
5,438
Common Lisp
.lisp
102
34.078431
107
0.451229
flpa/cl-tree
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
77c48dc24e10743eea2ac7dcec3008f5881f8519cbe0b51c79af63b14ac98e50
29,724
[ -1 ]
29,725
util.lisp
flpa_cl-tree/test/util.lisp
;;;; cl-tree: Reimplementing Unix 'tree' command in Common Lisp ;;;; Copyright (C) 2015 Florian Patzl ;;;; ;;;; 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 Licen...
2,936
Common Lisp
.lisp
59
39.661017
100
0.565005
flpa/cl-tree
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
a8b80f040ab16df71c67fbb3dacac30a1a90ec320d4ba01abed5adb3d90ac194
29,725
[ -1 ]
29,726
cmdline.lisp
flpa_cl-tree/test/cmdline.lisp
;;;; cl-tree: Reimplementing Unix 'tree' command in Common Lisp ;;;; Copyright (C) 2015 Florian Patzl ;;;; ;;;; 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 Licen...
2,146
Common Lisp
.lisp
42
45.904762
100
0.594852
flpa/cl-tree
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
1fc62728e0292f337df083c109d03138479cc1c9650bb4c7c7bc3c04ea9cd0e0
29,726
[ -1 ]
29,727
suites.lisp
flpa_cl-tree/test/suites.lisp
;;;; cl-tree: Reimplementing Unix 'tree' command in Common Lisp ;;;; Copyright (C) 2015 Florian Patzl ;;;; ;;;; 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 Licen...
2,220
Common Lisp
.lisp
38
57.131579
100
0.709233
flpa/cl-tree
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
0a1713c1a7f51bce98190d532ef99dac01cfd2b1bd076d53d7659f6ae87a6c2f
29,727
[ -1 ]
29,728
core.lisp
flpa_cl-tree/test/core.lisp
;;;; cl-tree: Reimplementing Unix 'tree' command in Common Lisp ;;;; Copyright (C) 2015 Florian Patzl ;;;; ;;;; 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 Licen...
6,796
Common Lisp
.lisp
151
39.278146
100
0.59426
flpa/cl-tree
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
366b7d4be1d3c2aeb842e343787254fb4ecc5e042a137fe4773a04adba00d573
29,728
[ -1 ]
29,729
cl-tree.asd
flpa_cl-tree/cl-tree.asd
;;;; cl-tree: Reimplementing Unix 'tree' command in Common Lisp ;;;; Copyright (C) 2015 Florian Patzl ;;;; ;;;; 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 Licen...
1,773
Common Lisp
.asd
42
38.02381
100
0.632523
flpa/cl-tree
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
59f9b5a1f23b09e9e8b92b9d788d2be9c25147bd84502b51b129406c628a83a8
29,729
[ -1 ]
29,733
.fileheader
flpa_cl-tree/.fileheader
;;;; cl-tree: Reimplementing Unix 'tree' command in Common Lisp ;;;; Copyright (C) 2015 Florian Patzl ;;;; ;;;; 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 Licen...
868
Common Lisp
.l
14
60.857143
100
0.655334
flpa/cl-tree
0
0
0
GPL-3.0
9/19/2024, 11:38:06 AM (Europe/Amsterdam)
11551ac78aed52d22b7e6be41dc7e3ad861fee41a7568b9c7b9af5877fca2a9d
29,733
[ -1 ]
29,758
s7-polynomials.txt
daugfernandes_lispdb/s7-polynomials.txt
INTRODUçÃO Inspirado por um trabalho académico a implementar em OCaml, resolvi tentar a implemantação do mesmo em LISP. Aqui se tratará de registar o andamento do projecto. Note-se que o código apresentado é escrito por um amador da LISP nos dois sentidos: apaixonado por e quase completo ignorante do cânone...
1,509
Common Lisp
.l
18
78.388889
253
0.793909
daugfernandes/lispdb
0
0
0
GPL-3.0
9/19/2024, 11:38:22 AM (Europe/Amsterdam)
28830bed4ef385e5a1c46d80c4af7759c2bf296ce48e1ab0426491e71f3a5cf1
29,758
[ -1 ]
29,759
xml-testcases.txt
daugfernandes_lispdb/xml-testcases.txt
"" (list :xml) "<html>" (list :xml (list :tag "html")) "<html id=1>" (list :xml (list :tag "html" (list :attr "id" "1"))) "<html id=1 name=2>" (list :xml (list :tag "html" (list :attr "id" "1") (list :attr "name" "2"))) "<html id=1 name=\"david fernandes\">" (list :xml (list :tag "html" (list :attr "id" "1") (list ...
564
Common Lisp
.l
14
38.357143
90
0.549348
daugfernandes/lispdb
0
0
0
GPL-3.0
9/19/2024, 11:38:22 AM (Europe/Amsterdam)
95ef651c98f755fd6dd9eaa27b0ad9ad67a05c1ac4e2f2aa26d7840761b29650
29,759
[ -1 ]
29,760
oslusiadas2.txt
daugfernandes_lispdb/oslusiadas2.txt
Texto integral, fonte: www.silviolobo.com.br -------------------------------------------- Luís Vaz de Camões Os Lusíadas $ 1 As armas e os barões assinalados, Que da ocidental praia Lusitana, Por mares nunca de antes navegados, Passaram ainda além da Taprobana, Em perigos e guerras esforçados, Mais do ...
336,129
Common Lisp
.l
9,935
30.921288
49
0.785719
daugfernandes/lispdb
0
0
0
GPL-3.0
9/19/2024, 11:38:22 AM (Europe/Amsterdam)
aef6211f19ae1b67ecf8e04981ffd68f29ff02e778fe33b1d38aa201478aaa1e
29,760
[ -1 ]
29,761
s7-list.lsp
daugfernandes_lispdb/s7-list.lsp
;;; s7-list ;; ;; Functions/macros to deal with lists ;; ;; ---------------------------------------------------------------------- ;; ;; Copyright (C) 2010 David Fernandes ;; <daugfernandes@aim.com> ;; ;; This program is free software: you can redistribute it and/or modify ;; it under th...
4,959
Common Lisp
.l
147
30.863946
107
0.571518
daugfernandes/lispdb
0
0
0
GPL-3.0
9/19/2024, 11:38:22 AM (Europe/Amsterdam)
e262581335a64c8f61c6956b866184837ed421f274e65559d00487dc677c41a2
29,761
[ -1 ]
29,762
cartesian-product.lsp
daugfernandes_lispdb/cartesian-product.lsp
;;; cartesian-product (list1 list2) ;; Retorna lista composta pelo produto cartesiano de duas listas. ;; ;; Copyright (C) 2010 David Fernandes ;; <daugfernandes@aim.com> ;; ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the ...
1,196
Common Lisp
.l
31
34.806452
75
0.659776
daugfernandes/lispdb
0
0
0
GPL-3.0
9/19/2024, 11:38:22 AM (Europe/Amsterdam)
b28fa4bb0eeba9a21339a74eb408d475e976a033449cef6d518770be21442b31
29,762
[ -1 ]
29,763
lusiadas.graphml
daugfernandes_lispdb/lusiadas.graphml
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www...
13,561
Common Lisp
.l
223
52.713004
380
0.647846
daugfernandes/lispdb
0
0
0
GPL-3.0
9/19/2024, 11:38:22 AM (Europe/Amsterdam)
4d88cba68b0f0142a9ffc5073ba4288c9df5f7e0521cb24765e33889721bec66
29,763
[ -1 ]
29,764
s7-mp.lsp
daugfernandes_lispdb/s7-mp.lsp
;;; s7-mp.lsp ;; ;; ---------------------------------------------------------------------- ;; ;; Copyright (C) 2010 David Fernandes ;; <daugfernandes@aim.com> ;; ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public ...
32,816
Common Lisp
.l
693
41.080808
162
0.642431
daugfernandes/lispdb
0
0
0
GPL-3.0
9/19/2024, 11:38:22 AM (Europe/Amsterdam)
a9497770e43532d54b562299e4bc07d034fdd15e445c7936860bc40f3b0133d4
29,764
[ -1 ]
29,765
s7-utils.lsp
daugfernandes_lispdb/s7-utils.lsp
;;; s7-utils ;; ;; Utilities ;; ;; ---------------------------------------------------------------------- ;; ;; Copyright (C) 2010 David Fernandes ;; <daugfernandes@aim.com> ;; ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the ...
1,175
Common Lisp
.l
31
35.16129
74
0.57193
daugfernandes/lispdb
0
0
0
GPL-3.0
9/19/2024, 11:38:22 AM (Europe/Amsterdam)
0a0bb26c6511b695f942ede5855d00b228ea2d478a4114700e4f676a2db28a47
29,765
[ -1 ]
29,766
xml-grammar.txt
daugfernandes_lispdb/xml-grammar.txt
/* document */ [1] document ::= ( prolog element Misc* ) - ( Char* RestrictedChar Char* ) [2] Char ::= [#x1-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] /* any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. */ [2a] RestrictedChar ::= [#x1-#x8] | [#xB-#xC] | [#xE-#x...
6,636
Common Lisp
.l
127
49.102362
261
0.506353
daugfernandes/lispdb
0
0
0
GPL-3.0
9/19/2024, 11:38:22 AM (Europe/Amsterdam)
fa9c0c78daff3b56468eaf01571b8d3d7a72e8ffa95ea4ba2ba510362d86e8d7
29,766
[ -1 ]
29,767
s7-polynomials.lsp
daugfernandes_lispdb/s7-polynomials.lsp
;;; s7-polynomials.lsp ;; ;; Copyright (C) 2010 David Fernandes ;; <daugfernandes@aim.com> ;; ;; 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 ver...
3,268
Common Lisp
.l
97
28.484536
92
0.631982
daugfernandes/lispdb
0
0
0
GPL-3.0
9/19/2024, 11:38:22 AM (Europe/Amsterdam)
3e5ac1e6034f9f75501cfae998e2c164997cb029c76428144535522d3d3bacb0
29,767
[ -1 ]