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
38,393
points.lisp
fvnu_lsisp/points.lisp
;; Defines a point of single-floats, with elements given as a list ELEMENTS (defun make-point (&rest elements) (map 'list #'(lambda (x) (float x 1.0s0)) elements)) (defun point-line-distance (p a b c) (/ (abs (+ (* a (nth 0 p)) (* b (nth 1 p)) c)) (sqrt (+ (expt a 2) (expt b 2))))) (defun point-line-closest (p a b ...
2,352
Common Lisp
.lisp
44
51.159091
98
0.63403
fvnu/lsisp
0
0
0
GPL-3.0
9/19/2024, 11:44:42 AM (Europe/Amsterdam)
20364ba1116bc1f6d9fb698daac3964102b785a1c1a83978f5b40a29dcc8ffb2
38,393
[ -1 ]
38,410
csv.lisp
equwal_CSV/csv.lisp
(in-package :csv) (defun make-escapep (prev curr) (char= #\" prev curr)) (defun end-tokenp (prev curr) (declare (ignore curr)) (char= #\" prev)) (defun openp (prev curr) (declare (ignore curr)) (char= #\" prev)) (defun str->list (str) (labels ((inner (str acc len) (if (= 0 len) ...
2,466
Common Lisp
.lisp
70
26.528571
83
0.52379
equwal/CSV
0
0
0
GPL-3.0
9/19/2024, 11:44:42 AM (Europe/Amsterdam)
ed5d35b4b9019e4364433c52386172e5f0470b05cf1cd5c641c114f4ee5efdc3
38,410
[ -1 ]
38,411
utils.lisp
equwal_CSV/utils.lisp
(in-package :csv) (defmacro dolines ((var stream) &body body) `(do ((,var #1=(read-line ,stream nil nil) #1#)) ((null ,var)) ,@body)) (defmacro with-gensyms (symbols &body body) "Create gensyms for those symbols." `(let (,@(mapcar #'(lambda (sym) `(,sym ',(gensym))) symbols)) ,@body)) (d...
796
Common Lisp
.lisp
20
35.75
74
0.657216
equwal/CSV
0
0
0
GPL-3.0
9/19/2024, 11:44:42 AM (Europe/Amsterdam)
91dda91efd033d0c7bd49cddfc6beec75693d7cdd1a640075286b3c964204149
38,411
[ -1 ]
38,412
csv.asd
equwal_CSV/csv.asd
(asdf:defsystem :csv :version "0.1.0" :description "Read CSV into lists natively. Convert CSV into lists dangerously." :author "Spenser Truex spensertruex.com" :serial t :license "GNU GPL, version 3" :components ((:file "package") (:file "utils") (:file ...
329
Common Lisp
.asd
9
30.444444
83
0.590625
equwal/CSV
0
0
0
GPL-3.0
9/19/2024, 11:44:42 AM (Europe/Amsterdam)
143421c04b6d3423be147392cdd638e208ea3f779ec79eea2e2e956b84cb8ed8
38,412
[ -1 ]
38,430
simplet-test.lisp
noloop_simplet/test/simplet-test.lisp
(in-package #:cl-user) (defpackage #:noloop.simplet-test (:use #:common-lisp) (:nicknames #:simplet-test) (:import-from #:simplet #:create-test #:create-suite #:run-suites #:reporter #:test #:test-only ...
12,151
Common Lisp
.lisp
283
26.130742
93
0.366045
noloop/simplet
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
28456ca5b383e6f70224d8fdc0159186aed6c7745de68826b8dd7cc37df350ad
38,430
[ -1 ]
38,431
package.lisp
noloop_simplet/src/package.lisp
(defpackage #:noloop.simplet (:use #:common-lisp) (:nicknames #:simplet) (:import-from #:simplet-asdf #:test-file) (:export #:test #:test-only #:test-skip #:suite #:suite-only #:suite-skip #:run))
280
Common Lisp
.lisp
12
15.416667
30
0.496269
noloop/simplet
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
cf660d32d027b0355528dfed8469eb89f4694f7e0bc59bd9f8bde6eaae24358a
38,431
[ -1 ]
38,432
simplet.lisp
noloop_simplet/src/simplet.lisp
(in-package #:noloop.simplet) ;; TEST (defun create-test (description fn &key only skip) (lambda () (list description (if (null fn) "PENDING" (funcall fn)) only skip))) ;; SUITE (defun create-suite (description tests &key only skip) (lambda () (if (null (car...
3,895
Common Lisp
.lisp
99
29.040404
79
0.54266
noloop/simplet
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
27ca8e0de8fc0780f6446a5bde14fbe35cee5c09518e71a65dab39f11fd8557d
38,432
[ -1 ]
38,433
asdf.lisp
noloop_simplet/src/asdf.lisp
(in-package #:cl-user) (defpackage #:simplet-asdf (:nicknames #:simplet-asdf) (:use #:common-lisp #:asdf) (:export #:test-file)) (in-package #:simplet-asdf) (defclass test-file (cl-source-file) ()) (defmethod operation-done-p ((op load-op) (c test-file)) nil) (defmethod operation-done-p ((op compile-op) ...
365
Common Lisp
.lisp
11
30.727273
62
0.681818
noloop/simplet
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
79130fe5da1990d6843b7987c9e46743b3181aa6d34022c785140e272e1f7920
38,433
[ -1 ]
38,434
simplet.asd
noloop_simplet/simplet.asd
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*- (defsystem :simplet :author "noloop <noloop@zoho.com>" :maintainer "noloop <noloop@zoho.com>" :license "GPLv3" :version "1.2.0" :homepage "https://github.com/noloop/simplet" :bug-tracker "https://github.com/noloop/simplet/issues" :source-control ...
1,145
Common Lisp
.asd
29
33.586207
87
0.63139
noloop/simplet
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
875ff03e4ef38451b188b2ce4f2f3285bc553b00b128a92e109dfc7fe0070194
38,434
[ -1 ]
38,455
conf-test.lisp
noloop_conf/test/conf-test.lisp
(in-package #:cl-user) (defpackage #:noloop.conf-test (:use #:common-lisp) (:nicknames #:conf-test) (:import-from #:conf #:init-conf #:set-conf-directory #:get-conf-directory #:set-conf-file #:get-conf-file #:get-conf-...
2,819
Common Lisp
.lisp
64
37.609375
83
0.609534
noloop/conf
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
ef7b2b2da055ba4000190061ddf4d87923be36f9765050576a26435fb6c64310
38,455
[ -1 ]
38,456
package.lisp
noloop_conf/src/package.lisp
(defpackage #:noloop.conf (:use #:common-lisp) (:nicknames #:conf) (:import-from #:cl-fad #:merge-pathnames-as-file) (:export #:init-conf #:set-conf-directory #:get-conf-directory #:set-conf-file #:get-conf-file #:get-conf-full-path ...
367
Common Lisp
.lisp
13
19.461538
42
0.525424
noloop/conf
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
e0b83249f25ec96a401222ce70523ab875806180f151cac7e7cd9686a25be706
38,456
[ -1 ]
38,457
conf.lisp
noloop_conf/src/conf.lisp
(in-package #:noloop.conf) #| Configuration file example(my-file.conf): (:author "Unknown" :maintainer ":AUTHOR" :license "UNLICENSED" :version "0.0.0" :git-service "github") |# (defun init-conf (directory file-name) (reverse (pairlis (list :conf-file-directory :conf-file-name) (list directory ...
2,865
Common Lisp
.lisp
74
31.135135
84
0.592352
noloop/conf
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
19a49fb370ad0a063cd7ddb3f233d6c8f52d92c5be267b78ea61ca0dcb8e040a
38,457
[ -1 ]
38,458
conf.asd
noloop_conf/conf.asd
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*- (defsystem :conf :author "noloop <noloop@zoho.com>" :maintainer "noloop <noloop@zoho.com>" :license "GPLv3" :version "1.0.1" :homepage "https://github.com/noloop/conf" :bug-tracker "https://github.com/noloop/conf/issues" :source-control (:git "g...
1,022
Common Lisp
.asd
26
33.730769
79
0.633803
noloop/conf
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
bb0db58de05e9f5f75c90d2c2d1e7e25231e94949cc0317954a0869119dfbb8f
38,458
[ -1 ]
38,477
util.lisp
wsgac_cl-swiss/src/util.lisp
(defpackage cl-swiss.util (:use :cl :circular-streams)) (in-package :cl-swiss.util) ;; blah blah blah. (defun caesar-cipher (text shift) (loop with cap-lo = (char-code #\A) with min-lo = (char-code #\a) with range = (- (char-code #\Z) (char-code #\A) -1) ...
2,020
Common Lisp
.lisp
50
29.6
94
0.516802
wsgac/cl-swiss
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
8844040065299f386ee3f39e8c880b94719695338bb82d8220446f5ae1772c11
38,477
[ -1 ]
38,478
sailfish.lisp
wsgac_cl-swiss/src/sailfish.lisp
(defpackage cl-swiss.sailfish (:use :cl :cl-swiss.util :inferior-shell :bt) (:nicknames :sailfish-util) (:documentation "This package contains assorted utilities for communicating with Sailfish OS.")) (in-package :cl-swiss.sailfish) ;; dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.MessageM...
953
Common Lisp
.lisp
18
50.555556
145
0.762876
wsgac/cl-swiss
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
611aa5b2e414e4063683443d73f7524bfaf61d253c8ada5bf9bb0a9d418b2eba
38,478
[ -1 ]
38,479
cl-swiss.lisp
wsgac_cl-swiss/src/cl-swiss.lisp
(defpackage cl-swiss (:use :cl)) (in-package :cl-swiss) ;; blah blah blah.
78
Common Lisp
.lisp
4
17.75
22
0.684932
wsgac/cl-swiss
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
b31d05f6e3e82541e51c4df890795142c3b21b9087775147081be6ba3735ac0b
38,479
[ -1 ]
38,480
gopher.lisp
wsgac_cl-swiss/src/gopher.lisp
(defpackage cl-swiss.gopher (:use :cl :usocket)) (in-package :cl-swiss.gopher) (defparameter *gopher-port* 70) (defun list-server-contents (host &key directory (port *gopher-port*)) "Get listing of DIRECTORY at a particular Gopher HOST. If DIRECTORY is not specified, display root directory contents." (with-clie...
614
Common Lisp
.lisp
17
31.705882
70
0.712605
wsgac/cl-swiss
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
af8a1dbb080993f00931e4732bac794b89e8e8fd96dc2a6166457935f79f9d0d
38,480
[ -1 ]
38,481
machine-independent-graphics.lisp
wsgac_cl-swiss/src/machine-independent-graphics.lisp
(defpackage cl-swiss.machine-independent-graphics (:use :cl) (:nicknames :cl-swiss.mig :cl-swiss.mi-graphics) (:use :xlib)) (in-package :cl-swiss.mi-graphics) ;;;; This is an implementation of machine-independent graphics ;;;; utilities adapted from Mark Watson's book "Common LISP Modules: ;;;; Artificial Intell...
3,597
Common Lisp
.lisp
101
29.891089
93
0.63456
wsgac/cl-swiss
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
96a33f79377e08f603811aefb4fc768bc3ba8fe6470f13cd1e095a0d68aa901f
38,481
[ -1 ]
38,482
util.lisp
wsgac_cl-swiss/src/onlisp/util.lisp
(defpackage cl-swiss.onlisp.util (:use :cl :alexandria) (:nicknames :onlisp-util)) (in-package :cl-swiss.onlisp.util) #+nil (defun something (n m) (macrolet ((with-binding (a b) (let ((g (gensym))) `(progn (setf (symbol-function ,g) #'(lambda (x) (+ x ,a))) ...
9,529
Common Lisp
.lisp
303
24.042904
71
0.544355
wsgac/cl-swiss
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
23ce7a211c77a90a69e5db1fd204c34925ba4af4db66c655393b77a211017d57
38,482
[ -1 ]
38,483
cl-swiss.lisp
wsgac_cl-swiss/tests/cl-swiss.lisp
(defpackage cl-swiss-test (:use :cl :cl-swiss :prove)) (in-package :cl-swiss-test) ;; NOTE: To run this test file, execute `(asdf:test-system :cl-swiss)' in your Lisp. (plan nil) ;; blah blah blah. (finalize)
231
Common Lisp
.lisp
9
22.222222
84
0.66055
wsgac/cl-swiss
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
e6b417495b23f892c54d59805e01c69b94d3e53038bbfde7fa1f83bee3c553e6
38,483
[ -1 ]
38,484
cl-swiss.asd
wsgac_cl-swiss/cl-swiss.asd
#| This file is a part of cl-swiss project. Copyright (c) 2019 Wojciech S. Gac (wojciech.s.gac@gmail.com) |# #| Author: Wojciech S. Gac (wojciech.s.gac@gmail.com) |# (defsystem "cl-swiss" :version "0.1.0" :author "Wojciech S. Gac" :license "GPLv3" :depends-on ("cl-ppcre" "alexandria" ...
1,097
Common Lisp
.asd
37
21.432432
70
0.548204
wsgac/cl-swiss
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
60ea9e36d1e7d207668c10508b38c83dad4ee35f5618c2c3f013549de91a2997
38,484
[ -1 ]
38,485
cl-swiss-test.asd
wsgac_cl-swiss/cl-swiss-test.asd
#| This file is a part of cl-swiss project. Copyright (c) 2019 Wojciech S. Gac (wojciech.s.gac@gmail.com) |# (defsystem "cl-swiss-test" :defsystem-depends-on ("prove-asdf") :author "Wojciech S. Gac" :license "GPLv3" :depends-on ("cl-swiss" "prove") :components ((:module "tests" ...
498
Common Lisp
.asd
15
27.733333
73
0.62578
wsgac/cl-swiss
0
0
0
GPL-3.0
9/19/2024, 11:44:50 AM (Europe/Amsterdam)
911c03ab744947b9e463f03a48d919d534592c2757ab2d0322046dcc8142c5f0
38,485
[ -1 ]
38,510
misc-utils.lisp
unsigned-nerd_un-utils/un-utils/misc-utils.lisp
(defpackage :un-utils.misc-utils (:use :common-lisp :cl-ppcre) (:export #:parse-decimal #:prompt-for-input #:utf16-to-char #:with-interned-symbols)) (in-package :un-utils.misc-utils) ; ; Convert string into decimal. in-str can be a Lisp expression. So, user can tamper with the ; program which ca...
1,421
Common Lisp
.lisp
37
35.540541
99
0.717596
unsigned-nerd/un-utils
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
55e209a6608d9c523e8b6f7ac75ffccdc8300ef163d08cc50b0a3d128baffc4d
38,510
[ -1 ]
38,511
simple-syntax.lisp
unsigned-nerd_un-utils/un-utils/simple-syntax.lisp
; I am a newbie. I prefer simpler syntaxes. (defpackage :un-utils.simple-syntax (:use :common-lisp) (:export #:for-each-$line-in #:print-line #:while #:with-gensyms)) (in-package :un-utils.simple-syntax) ; ; Loop through the file input stream line by line. ; ; Anaphoric macro, intentional variable capture ;...
1,405
Common Lisp
.lisp
54
23.240741
98
0.612639
unsigned-nerd/un-utils
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
5e7c3be34352c2a242d6590133da668045d63ea8923a415460895a1ca8cd8c7c
38,511
[ -1 ]
38,512
simple-syntax-loop-thru-stdin.lisp
unsigned-nerd_un-utils/sample/simple-syntax-loop-thru-stdin.lisp
; {{{ boilerplate ; load tools that will help us code easier (load "~/quicklisp/setup.lisp") ; tool to load external systems (require "asdf") ; tool to load local systems (asdf:load-system "un-utils") (use-package :un-utils.simple-syntax) ; always use simple-syntax because we are newbies ; }}} (for-each-$line-in *sta...
374
Common Lisp
.lisp
9
40.111111
87
0.727273
unsigned-nerd/un-utils
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
36081d91a378a7659ddb421546cf7d55f6d654d1f13c0989bc790f7ae9513f10
38,512
[ -1 ]
38,531
tree_patterns.cl
hizircanbayram_gLang/parser/tree_patterns.cl
;*********************************************************** TREE PATTERNS *********************************************************** ; This is a print function for writing the tree to a file (defun write-lexem(text) (with-open-file (fileName "parse.tree" :direction :output :if...
2,073
Common Lisp
.cl
45
42.355556
142
0.655909
hizircanbayram/gLang
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
18fa79588c9b258736adb89c06c096683e78b8ecd4421a84df0dd57525db40fc
38,531
[ -1 ]
38,532
query.cl
hizircanbayram_gLang/parser/query.cl
;*********************************************************** QUERY FUNCTIONS *********************************************************** ; Checks if next expression is type of an EXPI or not. Then it is decided that the flow of a program is going to which finite automata. This function is based on the given...
3,582
Common Lisp
.cl
51
67.392157
186
0.623827
hizircanbayram/gLang
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
5846506299eaad04424a69698f7378788336a06ac2d0694c4ceec220710e6d01
38,532
[ -1 ]
38,533
error_processing.cl
hizircanbayram_gLang/parser/error_processing.cl
;*********************************************************** ERROR PROCESSING *********************************************************** ; After an error message prints on the screen, rest of the lexems of the expression is consumed. (defun finishLexems () (print "LEXEMS FINISHING. ABORTING...") (setf ...
1,217
Common Lisp
.cl
24
48.083333
176
0.678239
hizircanbayram/gLang
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
f5ab0793576892f078df6d646cb980ff565e1dc630bddcabf846713b4221c0a6
38,533
[ -1 ]
38,534
parse_processing.cl
hizircanbayram_gLang/parser/parse_processing.cl
;*********************************************************** PARSE PROCESSING *********************************************************** (defun parser (lexems) (setq *lexems* lexems) (parserPrivate *lexems*) (setf *AST* (reverse *AST*)) (push "INPUT" *AST*) (push "START" *AST*) (printAST *AST*) ...
937
Common Lisp
.cl
21
42
256
0.582237
hizircanbayram/gLang
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
b066408d0ebe3df0b53c79151ba3330ef882d1180dc22b0287505bb249b70fcc
38,534
[ -1 ]
38,535
automata.cl
hizircanbayram_gLang/parser/automata.cl
;*********************************************************** FINITE AUTOMATAS *********************************************************** ; This is one of the finite automatas. When the flow of a program runs into an expression which is type of EXPI, specifies which EXPI it is. It then starts creating a bra...
8,803
Common Lisp
.cl
140
60.05
349
0.686927
hizircanbayram/gLang
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
fedc085ac4fd4e016f554042609703c7886a8cbe5c9ba0bf819b04856de46d9b
38,535
[ -1 ]
38,536
helper.cl
hizircanbayram_gLang/parser/helper.cl
;*********************************************************** HELPER FUNCTIONS *********************************************************** ; Returns the first element of the first element of a given list. (defun carcar (lexems) (car (car lexems))) ; Returns the second element of the first element of a giv...
1,196
Common Lisp
.cl
26
43.461538
145
0.65338
hizircanbayram/gLang
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
04bd0925583aeceb0c48e1512af4d1e866ae64d4b1407d1826d21b385ff98d9c
38,536
[ -1 ]
38,537
var_par.cl
hizircanbayram_gLang/parser/var_par.cl
(defparameter *AST* ()) (defparameter *parentheses* 0) (defparameter *lexems* '() )
86
Common Lisp
.cl
3
27.333333
30
0.695122
hizircanbayram/gLang
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
a72287d692280b87bd6a5f2d21f6184be0fd034b58f5ab0bb1f451b3991e4292
38,537
[ -1 ]
38,538
char_processing.cl
hizircanbayram_gLang/lexer/char_processing.cl
; This function queries if the given character is a digit or not. It returns 1 if it is a digit, 0 otherwise. (defun isDigit (num) (if (or (char= num #\0) (char= num #\1) (char= num #\2) (char= num #\3) (char= num #\4) (char= num #\5) (char= num #\6) (char= num #\7) (char= num #\8) (char= num #\9) ) (- 2 1) ())) ...
1,234
Common Lisp
.cl
21
56.380952
171
0.624378
hizircanbayram/gLang
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
2668e51ee78d1f64a7f4c0f5eef816d5b4e78568dc3a7254353ab741cdd48057
38,538
[ -1 ]
38,539
var_lex.cl
hizircanbayram_gLang/lexer/var_lex.cl
(defparameter *lexTable* ()) (defparameter *cursor* 0) (defparameter *backward* 0) (defparameter *lexem* "") (defparameter *filename*
135
Common Lisp
.cl
5
25.8
28
0.751938
hizircanbayram/gLang
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
7c41ad902e86377d9c8b5aa322205f3f8095b86323615f5f41d14314f4d088ac
38,539
[ -1 ]
38,540
io_processing.cl
hizircanbayram_gLang/lexer/io_processing.cl
; It is a simple function for reading from file to string. (defun fileToString (file-path) (with-open-file (file-stream file-path) (let ((content (make-string (file-length file-stream)))) (read-sequence content file-stream) content))) ; After every state is completed, the computation ends up with a result valu...
2,475
Common Lisp
.cl
37
64.783784
157
0.669815
hizircanbayram/gLang
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
78803b7726a2ea5688d17e96756d2ed45d0fafcbcc0e57608db8101b2f954368
38,540
[ -1 ]
38,541
lex_processing.cl
hizircanbayram_gLang/lexer/lex_processing.cl
; This function is responsible for controlling one of the states of deterministic finite automata. It checks whether given character that is on process ; is digit or not so as to decide current lexem is integer or not. As long as current element is a digit, the cursor moves forward to determine where the lexem ; stops...
6,570
Common Lisp
.cl
101
62.60396
220
0.686967
hizircanbayram/gLang
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
7b294a619dc9be2ad920b5a105b17fdc9e7c29ba0cfa93854fb80b58204b7ddc
38,541
[ -1 ]
38,543
glang
hizircanbayram_gLang/glang
if [ -z "$1" ] then echo "File name is needed" else if [ ${1: -3} == ".gl" ] then echo "\"$1\")" >> ~/glang/lexer/var_lex.cl cat ~/glang/lexer/var_lex.cl >> ~/glang/exe.cl cat ~/glang/lexer/char_processing.cl >> ~/glang/exe.cl cat ~/glang/lexer/io_processing.cl >> ~/glang/exe.cl cat ~/glang/lexer/lex_proc...
980
Common Lisp
.l
29
31.034483
58
0.658201
hizircanbayram/gLang
0
0
0
GPL-3.0
9/19/2024, 11:44:58 AM (Europe/Amsterdam)
51634c22988861881381081d33fcd36fd1b2007806b41b78052f5101132f98d3
38,543
[ -1 ]
38,569
variables.lisp
MarcelKaemper_lisp/variables.lisp
(setq str "Hello World") (setq x 12) (setq y 25) (setq z (+ x y)) (setq zz (* (+ z x) (- x y))) (write-line str) (write z) (terpri) (write zz) (terpri)
154
Common Lisp
.lisp
10
14.2
29
0.598592
MarcelKaemper/lisp
0
0
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
c0c0b3507e6c85b0e46516c086360f40ac4e9f762e6b4fafe41f2507f0d9b1ad
38,569
[ -1 ]
38,570
decisions.lisp
MarcelKaemper_lisp/decisions.lisp
(setq x 20) (setq y 50) (if (= x 20) (write-line "x = 20"))
63
Common Lisp
.lisp
4
14
24
0.534483
MarcelKaemper/lisp
0
0
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
9a838926f5b1b5ebcc33c592a89f5b054d4eba8fc47b9d416da782a3a8b998ad
38,570
[ -1 ]
38,606
learning-lisp.asd
HOWZ1T_Learning-Lisp/learning-lisp.asd
(defsystem "learning-lisp" :version "0.0.1" :author "HOWZ1T@github.com" :license "GNU GPLv3" :depends-on () :components ((:module "src" :components ((:module "utils" :components ((:file "general"))) (:module "db" :depends-on ("utils") :components ((:file "db"))) ...
863
Common Lisp
.lisp
27
25.925926
59
0.597122
HOWZ1T/Learning-Lisp
0
1
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
230fc9a418ebc9a7d4a191b55bbcfe84db00ef8526e89bb5b7b9f7da093493aa
38,606
[ -1 ]
38,607
general.lisp
HOWZ1T_Learning-Lisp/src/utils/general.lisp
;;;; This package has general utility functions for doing helpful things in lisp (defpackage utils (:use :cl) (:export :print-globs :input)) (in-package :utils) ;;; PRIVATE FUNCTIONS BELOW ;;; get-globs returns 3 values that being a sorted list of symbols and the largest word size ;;; PARAMETERS: ;;; pkg - ...
3,528
Common Lisp
.lisp
94
34.223404
106
0.66139
HOWZ1T/Learning-Lisp
0
1
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
2b0905a4ba095370479e7fee24c6baf2b50063c977ef16b51fe92c6ef13c29ae
38,607
[ -1 ]
38,626
Ejercicios Paquete #3.lisp
JRobertGit_AI-19/Lisp Practices/Ejercicios Paquete #3.lisp
;; José Roberto Torres Mancilla ;; Paquete #3 de ejercicios (estructuras algorítmicas) ;; 1) [sin usar ELT ni POSITION] Defina una función ElemInPos que reciba tres argumentos: elem, ;; lista y pos. La función debe devolver T si elem está en la posición pos de lista, NIL si no ;; lo está. ;; Answer... assuming positi...
25,874
Common Lisp
.lisp
572
40.991259
116
0.552085
JRobertGit/AI-19
0
0
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
00677f3a1725e357cd16d65f643a5ba4f4ada7a07f4f033f89d2394de6db84ff
38,626
[ -1 ]
38,627
Ejercicios Paquete #2.lisp
JRobertGit_AI-19/Lisp Practices/Ejercicios Paquete #2.lisp
;; José Roberto Torres Mancilla ;; Paquete #2 de ejercicios (estructuras algorítmicas) ;; 1) [sin usar ELT ni POSITION] Defina una función ElemInPos que reciba tres argumentos: elem, ;; lista y pos. La función debe devolver T si elem está en la posición pos de lista, NIL si no ;; lo está. ;; Answer... assuming positi...
14,471
Common Lisp
.lisp
318
40.786164
112
0.530682
JRobertGit/AI-19
0
0
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
cdf9a7d935d37e45cb69da169e1b6a61842b9baf2f27895573a05e4eff5dcb22
38,627
[ -1 ]
38,628
Ejercicios Paquete #1.lisp
JRobertGit_AI-19/Lisp Practices/Ejercicios Paquete #1.lisp
;; José Roberto Torres Mancilla ;; Paquete #1: ;; 1) Construya una sola expresión LISP para calcular lo que se indica en cada uno de los siguientes incisos: (print "===============================================") ;; a) El quinto elemento de la lista (((1 2) 3) 4 (5 (6)) A (B C) D (E (F G))), sin usar la func...
10,360
Common Lisp
.lisp
196
48.913265
143
0.51185
JRobertGit/AI-19
0
0
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
f04bb3b1bcbaaa884778b8cbe8153ed3adf864d23c51d8edea7261a02a8d7129
38,628
[ -1 ]
38,629
maze2D.lisp
JRobertGit_AI-19/Informed Searchs Practices/maze2D/maze2D.lisp
;;================================== ;; 2D Maze ;; José Roberto Torres Mancilla ;; April 2019 ;;================================== (load "maze_lib.lisp") (add-algorithm 'Best-First) (add-algorithm 'A*) ;;=================================================================== ;; STATE REPRESEMTATION ;; An array with t...
10,815
Common Lisp
.lisp
261
33.130268
109
0.496341
JRobertGit/AI-19
0
0
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
7b3c46647465514201789fc8dd2a1ebbe78fcecba2918cb80268136d989d9b83
38,629
[ -1 ]
38,630
maze3D.lisp
JRobertGit_AI-19/Informed Searchs Practices/maze2D/maze3D.lisp
;;================================== ;; 3D Maze ;; José Roberto Torres Mancilla ;; April 2019 ;;================================== (load "maze_lib.lisp") (add-algorithm 'Best-First) (add-algorithm 'A*) ;;=================================================================== ;; STATE REPRESEMTATION ;; An array with t...
11,331
Common Lisp
.lisp
274
33.00365
108
0.50522
JRobertGit/AI-19
0
0
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
95dc6e1aa675807362b76dc535f1af483c3cb97a06ebf03cdbe135af0074777d
38,630
[ -1 ]
38,632
GLOL.lisp
JRobertGit_AI-19/Search Algorithms Practices/GLOL.lisp
;;;====================================================================================== ;;; GLOL.lisp ;;; Solves the Farmer (F), Wolf (W), Goat (G), Cavege (C) problem. ;;; The boat is represented as (B) ;;; using BFS DFS. ;;; ;;; State representation: ;;; Initial State: ...
10,176
Common Lisp
.lisp
197
44.446701
109
0.352859
JRobertGit/AI-19
0
0
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
387b51a37ef77fce648d0be6af5576a3dab53a08576dd84f0d72a15aa76f6fca
38,632
[ -1 ]
38,633
Ranas.lisp
JRobertGit_AI-19/Search Algorithms Practices/Ranas.lisp
;;;====================================================================================== ;;; Ranas.lisp ;;; Solves the problem of the Jumping Frogs, using BFS or DFS ;;; ;;; State representation: ;;; An array containing the number of Green Frogs (G) on the left, ;;; and the number of Red...
7,796
Common Lisp
.lisp
151
45.231788
94
0.366243
JRobertGit/AI-19
0
0
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
900cf021cfb5cdd0e794a9b1cf4af2c6fbecb964bc43b8099857931e871f1896
38,633
[ -1 ]
38,657
circular-buffer.lisp
commander-trashdin_common-deque/circular-buffer.lisp
;;;; circular-buffer.lisp (in-package #:deque) (defclass circular-buffer () ((contents :type (vector *) :initform nil :accessor home) (front :type integer :accessor front :initform 0) (back :type integer :accessor back :initform 0) (actual-size :type integer :ac...
5,194
Common Lisp
.lisp
126
36.420635
96
0.671698
commander-trashdin/common-deque
0
0
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
309e84c42abf24cc948cf062e37dbb45fba121ba73e1ccdd9444290db0bdfcb2
38,657
[ -1 ]
38,658
deque.lisp
commander-trashdin_common-deque/deque.lisp
;;;; deque.lisp (in-package #:deque) (defclass deque (circular-buffer) ((contents-size :type integer :accessor contsize :initarg :size :initform 0))) (defclass dblock () ((block-contents :type (vector * 128) :accessor bl-contents :initform (make-array 128 :initial-element nil)) (b...
7,803
Common Lisp
.lisp
174
38.637931
115
0.643356
commander-trashdin/common-deque
0
0
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
afee3aaec850e3ddff4e0dce2892a23e19d87dae18574a0b7eddd0bd864b47b8
38,658
[ -1 ]
38,659
deque.asd
commander-trashdin_common-deque/deque.asd
;;;; deque.asd (asdf:defsystem #:deque :description "C++ std::deque clone." :author "Andrew aun.sokolov@gmail.com" :license "Specify license here" :version "0.5" :serial t :depends-on (#:iterate) :components ((:file "package") (:file "circular-buffer") (:file "deque")))
317
Common Lisp
.asd
11
23.727273
40
0.609836
commander-trashdin/common-deque
0
0
0
GPL-3.0
9/19/2024, 11:45:07 AM (Europe/Amsterdam)
29b6c95a9d1f10b9b34aefe4901af5d04af986c6b37566411410d36a065e48ba
38,659
[ -1 ]
38,677
mrsmith.lisp
tomhumbert_MRSmith-lisp/mrsmith.lisp
;;; About this program ;;; ;;; This program should in the end be able to generate new sentences. ;;; The idea is that the program reads a full text and generates from this a table of which word could map to which, with a weight of how often those words follow each other. ;;; From this information it will then try to g...
10,519
Common Lisp
.lisp
240
39.441667
257
0.639765
tomhumbert/MRSmith-lisp
0
0
0
GPL-3.0
9/19/2024, 11:45:15 AM (Europe/Amsterdam)
27d0a516f25d95d1ba2d5621cf88d8331111ecc168c231a98492c7622f5773a8
38,677
[ -1 ]
38,694
email_spam.lisp
corehello_lisp-gists/email_spam/email_spam.lisp
(defpackage :com.coreworks.spam (:use :common-lisp)) (in-package :com.coreworks.spam) (defparameter *max-ham-score* .4) (defparameter *min-spam-score* .6) (defun classification (score) (values (cond ((<= score *max-ham-score*) 'ham) ((>= score *min-spam-score*) 'spam) (t 'unsure)) score)) (def...
8,501
Common Lisp
.lisp
228
33.390351
81
0.683577
corehello/lisp-gists
0
0
0
GPL-3.0
9/19/2024, 11:45:15 AM (Europe/Amsterdam)
560569a8f3e3c0f3694bba425360414484a1f09142ac497bd5e4ed1cc0ca3dd1
38,694
[ -1 ]
38,711
utils.lisp
innaky_utils/tests/utils.lisp
(defpackage utils-test (:use :cl :utils :prove)) (in-package :utils-test) ;; NOTE: To run this test file, execute `(asdf:test-system :utils)' in your Lisp. (plan nil) ;; blah blah blah. (finalize)
219
Common Lisp
.lisp
9
20.888889
81
0.660194
innaky/utils
0
0
0
GPL-3.0
9/19/2024, 11:45:15 AM (Europe/Amsterdam)
47b3b622ac6503959dde71469821b9ad55e41a24c5bbd056c69d1e9ebcf574bf
38,711
[ -1 ]
38,712
utils.asd
innaky_utils/utils.asd
#| This file is a part of utils project. Copyright (c) 2019 Innaky (innaky@protonmail.com) |# #| Author: Innaky (innaky@protonmail.com) |# (defsystem "utils" :version "0.1.0" :author "Innaky" :license "GPLv3" :depends-on ("cl-fad") :components ((:module "src" :components ...
516
Common Lisp
.asd
20
21.65
53
0.637652
innaky/utils
0
0
0
GPL-3.0
9/19/2024, 11:45:15 AM (Europe/Amsterdam)
18ee98051c4afaf23eaa1ba20d95758b323ea9f65b3722d6af26f694aff0a9de
38,712
[ -1 ]
38,713
utils-test.asd
innaky_utils/utils-test.asd
#| This file is a part of utils project. Copyright (c) 2019 Innaky (innaky@protonmail.com) |# (defsystem "utils-test" :defsystem-depends-on ("prove-asdf") :author "Innaky" :license "GPLv3" :depends-on ("utils" "prove") :components ((:module "tests" :components ...
462
Common Lisp
.asd
15
25.333333
73
0.624719
innaky/utils
0
0
0
GPL-3.0
9/19/2024, 11:45:15 AM (Europe/Amsterdam)
97d861907086d74f418ed1fb79b45297a2fd63c8bc263586551b07cdb8bfce22
38,713
[ -1 ]
38,732
csv-list-based.lisp
manney_basic-csv/csv-list-based.lisp
;;; basic-csv: csv-list-based.lisp ;;; By A. Sebold (manney) ;;; ;;; 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 your option) any later version....
10,259
Common Lisp
.lisp
239
30.598326
95
0.523633
manney/basic-csv
0
0
0
GPL-3.0
9/19/2024, 11:45:15 AM (Europe/Amsterdam)
6658d9fc3ba808ae4b94d41c54b49f5bd4b88eb3dbb34c019e7db176cf0fbdc3
38,732
[ -1 ]
38,749
package.lisp
daniel-bandstra_echorepl/package.lisp
(defpackage :echorepl (:use :common-lisp :cffi :bordeaux-threads :trivial-garbage)) (in-package :echorepl) (export '( start-recording stop-recording reset-score loop-button undo-button undo redo play-score update-score time-rate reverse-time connect-input monitor pedal-ope...
1,480
Common Lisp
.lisp
53
25.301887
76
0.748048
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
e3812857dc52a7952da38f8df25db4fafe421e3c8a2b35f2f7e8df5244997213
38,749
[ -1 ]
38,750
play.lisp
daniel-bandstra_echorepl/play.lisp
(in-package :echorepl) ;; clip naming stuff (defun by-name (name) (find name *clip-store* :test (lambda (name clip) (eq name (name clip))))) (defun clip-names-in-score () (let ((output nil)) (labels ((trawl (score) (cond ((by-name score) (push score output)) ((atom score)) (t (tra...
7,561
Common Lisp
.lisp
240
26.983333
81
0.640867
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
3329615808a38a84e36214e47158b3fa3c42f02c155f8ad4d1a0516b2b289466
38,750
[ -1 ]
38,751
colors.lisp
daniel-bandstra_echorepl/colors.lisp
(in-package :echorepl) ;; For when my kids want to press the pedal buttons. ;; READ-PEDAL gets the time from Jack, so if you haven't connected Lisp to Jack at ;; least once, there will be an unhandled memory fault. (setf *colors-running* nil) (progn (defparameter *colors-running* t) (let ((a-state 0) (a-colors '...
947
Common Lisp
.lisp
34
22.117647
82
0.53348
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
2890e6decbb46ef3415c13cdfd24306d6ed8128772e118dc60b9dfa81b67b5fc
38,751
[ -1 ]
38,752
pedal.lisp
daniel-bandstra_echorepl/pedal.lisp
(in-package :echorepl) ;;; C Functions ;; opening and closing the pedal (defcfun ("open_pedal" internal-open-pedal) :int (portname :string)) (defcfun ("close_pedal" internal-close-pedal) :void (internal-pedal :int)) ;; output and input (defcfun ("pedal_color" internal-pedal-color) :int (internal-pedal :int)...
3,309
Common Lisp
.lisp
110
24.818182
68
0.634555
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
e2341b17ad9257983915f717f0d35506a008f2fa8976252b25bed60d585840a4
38,752
[ -1 ]
38,753
jack.lisp
daniel-bandstra_echorepl/jack.lisp
(in-package :echorepl) ;; starting and stopping jack (defconstant +jack-no-start-server+ #x01) ;; jack client (defcfun "jack_client_open" :pointer (client-name :string) (options :int) (status :pointer)) ;; pointer to an int (defcfun "jack_client_close" :int (client :pointer)) (defcfun "jack_set_process_ca...
6,877
Common Lisp
.lisp
229
25.235808
87
0.657919
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
44277d3d7d5d72c59a25375b6a17776aab50aa2a4f6c860b2bed01e607f9a344
38,753
[ -1 ]
38,754
undo.lisp
daniel-bandstra_echorepl/undo.lisp
(in-package :echorepl) (defvar *clip-store* nil) (defvar *score* nil) (defvar *undo-clip-store* nil) (defvar *undo-score* nil) (defvar *redo-clip-store* nil) (defvar *redo-score* nil) (let ((emacs-connection (if (find-package 'swank) swank::*emacs-connection*))) (defun signal-score-update () (if emacs-...
1,632
Common Lisp
.lisp
56
25.642857
73
0.659847
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
c595996f3fca918a5d531dfb2f5e472b2e8eb3833655280a499a2e3e05a28629
38,754
[ -1 ]
38,755
time.lisp
daniel-bandstra_echorepl/time.lisp
(in-package :echorepl) ;; Echorepl keeps track of its own time as a series of moments. ;; The MOMENT struct has a fixnum and a fractional part, ;; because really big FLOATs don't count accurately (defstruct (moment (:constructor moment (frame fraction)) (:conc-name nil)) (frame 0 :type fixnum) (fraction 0.0 ...
4,578
Common Lisp
.lisp
129
30.031008
81
0.632486
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
216dd9b83d843d598a7400d5cc0460084b24a16a4adc8b4f603d5eb295e0acde
38,755
[ -1 ]
38,756
record.lisp
daniel-bandstra_echorepl/record.lisp
(in-package :echorepl) ;; thread-do, to put resource-intensive things on a back burner (defmacro thread-do (&rest body) (let ((result (gensym)) (thread (gensym))) `(let* ((,result nil) (,thread (make-thread (lambda () (setf ,result (progn ,@body)))))) (join-thread ,thread) ...
5,767
Common Lisp
.lisp
182
25.428571
71
0.60018
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
d6ee33e4b1836b63d266c4daf73f48146bc85a8a303de01ea1c9e8f34ec2e735
38,756
[ -1 ]
38,757
file.lisp
daniel-bandstra_echorepl/file.lisp
(in-package :echorepl) (defctype sf-count-t :int64) (defconstant +sf-read+ #x10) (defconstant +sf-write+ #x20) (defconstant +sf-format-wav+ #x010000) (defconstant +sf-format-float+ #x0006) (defconstant +sf-file-format+ (logior +sf-format-wav+ +sf-format-float+)) (defcstruct sf-info (frames sf-count-t) ...
4,875
Common Lisp
.lisp
143
29.146853
81
0.649682
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
624116e16728a5e2ef17884bbc0e0eaf89a4445d185e7a7cf22a472d522a07de
38,757
[ -1 ]
38,758
clip.lisp
daniel-bandstra_echorepl/clip.lisp
(in-package :echorepl) ;; half-splice and fudge-factor, ;; i.e. extra recording time at beginning and end of clips (defparameter *default-half-splice* (round (/ *sample-rate* 16))) (defparameter *default-fudge-factor* *sample-rate*) (defun set-edge-space-defaults () (defparameter *default-half-splice* (round (/ *s...
6,898
Common Lisp
.lisp
202
29.49505
86
0.649745
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
ec14f85925ebbe6d725b9ea213bbc2e04568ff4a32fc4f1d1cd9e776af4775ca
38,758
[ -1 ]
38,759
callback.lisp
daniel-bandstra_echorepl/callback.lisp
(in-package :echorepl) (defcstruct callback-info (monitor :int) (client :pointer) (in-port :pointer) (out-port :pointer) (buffer-size nframes-t) (in-buf :pointer) (frames-buf :pointer) (out-buf :pointer)) (defcfun "new_callback_info" :pointer (buffer-size :unsigned-int)) (defcfun "delete_callb...
781
Common Lisp
.lisp
26
26.269231
51
0.695302
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
f210298522033222b3707100d6c08f13fd1b98f2333f56f9fe6c8542d6fbbd63
38,759
[ -1 ]
38,760
echorepl.asd
daniel-bandstra_echorepl/echorepl.asd
(defsystem "echorepl" :name "echorepl" :version "0.0.1" :author "Daniel Bandstra" :license "GPLv3" :description "echorepl" :long-description "A lisp DSL for recording and looping audio" :depends-on ("cffi" "bordeaux-threads" "trivial-garbage") :serial t :components ((:file "package") (:file "c...
519
Common Lisp
.asd
19
21.578947
64
0.578
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
2394af03a713f1d73689b0211d00ff3e8a976685685258e897048521815edd7a
38,760
[ -1 ]
38,765
Makefile
daniel-bandstra_echorepl/Makefile
SUBDIRS = pedal engine all: $(SUBDIRS) $(SUBDIRS): $(MAKE) -C $@ .PHONY: $(SUBDIRS)
88
Common Lisp
.l
5
15.8
22
0.65
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
bc1a291c067f999549282d3595ed28a28908cb9553f90dfb95a7a7b800d83d24
38,765
[ -1 ]
38,774
edit-score.el
daniel-bandstra_echorepl/edit-score.el
;;;; Edit *score* interactively --- a slight modification of slime-edit-value ;;; (setq score-buffer-name "*echorepl edit score*") (defun echorepl-edit-score () "\\<echorepl-edit-score-mode-map>\ Edit the value of echorepl::*score* The value is inserted into a temporary buffer for editing and then set in Lisp when ...
2,689
Common Lisp
.l
75
31.8
77
0.676911
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
e4f13181c1b262bef8af54d25bb1388a49af0ba1e56556c4c68cec033296d9b8
38,774
[ -1 ]
38,776
callback.c
daniel-bandstra_echorepl/engine/callback.c
#include "callback.h" #include <stdlib.h> #include <string.h> #include <sys/mman.h> callback_info *new_callback_info(size_t buffer_size) { callback_info *result = calloc(1, sizeof(callback_info)); mlock(result, sizeof(callback_info)); result->buffer_size = buffer_size; result->in_buf = jack_ringbuffer_c...
2,524
Common Lisp
.l
68
33.5
84
0.697347
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
8b7ddefe969c83d1f7bbc895a70b61e36b70e25630aaa84365c731d4f9acf18d
38,776
[ -1 ]
38,777
Makefile
daniel-bandstra_echorepl/engine/Makefile
all: libengine.so callback.o: callback.c callback.h gcc -O3 -Wall -Wextra -fpic -c callback.c tape.o: tape.c tape.h gcc -O3 -Wall -Wextra -fpic -c tape.c libengine.so: callback.o tape.o gcc -shared -o libengine.so callback.o tape.o clean: rm -f *.o *.so
268
Common Lisp
.l
9
27.444444
47
0.709804
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
592fe2f145ebaea504232145971c76f24a285968814b46a798e82047da1f4238
38,777
[ -1 ]
38,778
callback.h
daniel-bandstra_echorepl/engine/callback.h
#ifndef CALLBACK_H #define CALLBACK_H #include <jack/jack.h> #include <jack/ringbuffer.h> #include <pthread.h> #include <stdint.h> typedef jack_default_audio_sample_t sample_t; typedef jack_nframes_t nframes_t; typedef struct callback_info_ { int monitor; // whether Jack should do software monitoring jack_clien...
860
Common Lisp
.l
27
29.333333
79
0.759852
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
02dad0a4311ad38e17adaf0b952cdf72dd5bfced36bf20063a17c8aa94688dc9
38,778
[ -1 ]
38,779
pedal.h
daniel-bandstra_echorepl/pedal/pedal.h
#ifndef PEDAL_H #define PEDAL_H #include <jack/jack.h> struct pedal_event { char event; jack_time_t time; }; int open_pedal(char *); void close_pedal(int); int pedal_color(int, int, int, int); void read_pedal(int, struct pedal_event *); #endif
254
Common Lisp
.l
12
19.333333
43
0.733051
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
ed09becfc37d977f80d4411750fe58ef40130b80f3c6d03abac46133d4b5c17f
38,779
[ -1 ]
38,780
Makefile
daniel-bandstra_echorepl/pedal/Makefile
all: libpedal.so pedal.o: pedal.c pedal.h gcc -O3 -Wall -Wextra -fpic -c pedal.c libpedal.so: pedal.o gcc -shared -o libpedal.so pedal.o clean: rm -f *.o *.so
169
Common Lisp
.l
7
21.857143
40
0.691824
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
97cc722dfa4c0b0d6fde0ba767b34b9e3f4b0d6223d932621ce3b1f134fcd22e
38,780
[ -1 ]
38,781
pedal.c
daniel-bandstra_echorepl/pedal/pedal.c
#include "pedal.h" #include "pedal/pedal_flags.h" #include <fcntl.h> #include <termios.h> #include <unistd.h> int open_pedal(char *portname) { // open the terminal int fd = open(portname, O_RDWR | O_NOCTTY); if (fd < 0) { return fd; } // get the options already set struct termios options; tcgetatt...
1,735
Common Lisp
.l
58
26.965517
77
0.653382
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
93e27bbdd64e02aa5d8fbfed95515ed7b6bc945bd03c660bc7f158af3c8cde66
38,781
[ -1 ]
38,782
pedal.ino
daniel-bandstra_echorepl/pedal/pedal/pedal.ino
#include "pedal_flags.h" #define UP HIGH #define DOWN LOW // Button const int a_button_pin = 2; const int b_button_pin = 3; const unsigned long debounce_delay = 10; const unsigned long long_time = 1000; // timing a long tap const unsigned long double_time = 500; // timing a double tap int a_button_state = UP; int ...
2,818
Common Lisp
.l
103
23.436893
91
0.628539
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
45d5eac09a3bfb27ca72658e6e86554847a455725c62ffe654490e0bb0b1f7f3
38,782
[ -1 ]
38,783
pedal_flags.h
daniel-bandstra_echorepl/pedal/pedal/pedal_flags.h
#ifndef PEDAL_FLAGS_H #define PEDAL_FLAGS_H enum Pedal_Flags { nothing, a_down, a_up, a_long_tap, a_double_tap, b_down, b_up, b_long_tap, b_double_tap, led_red, led_green, led_blue }; #endif
217
Common Lisp
.l
17
10.235294
21
0.671717
daniel-bandstra/echorepl
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
270ada4c99fa433b8e18334d2a6fa7861f3f8179db2c92143dae560ea6ff6cf6
38,783
[ -1 ]
38,798
project-code-mf2977.lisp
volb_album_topper/project-code-mf2977.lisp
(quicklisp:quickload :imago) (quicklisp:quickload :drakma) (quicklisp:quickload :opticl) (defpackage :cover-topper (:use :cl :drakma :imago :opticl)) (in-package :cover-topper) (defvar wth 250) (defvar hgt 250) (defvar cols 2) (defvar rows 2) (deftype binary () '(unsigned-byte 8)) (defun split-by-one-newline (string) ...
2,496
Common Lisp
.lisp
59
35.983051
135
0.631644
volb/album_topper
0
0
0
GPL-3.0
9/19/2024, 11:45:23 AM (Europe/Amsterdam)
05719f761a3186d3842328ecd13abf64c5520fd303af4f8104c9f7195b6d495f
38,798
[ -1 ]
38,815
roberts_rules_of_order.lisp
codemac_lisp/roberts_rules_of_order.lisp
(in-package :net.codemac.ronr) ;; For RONR we define a statemchine to handle meetings. ;; ;; First, for each meeting we have an agenda ;; agenda:
148
Common Lisp
.lisp
5
28.2
55
0.739437
codemac/lisp
0
0
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
969fbeed6332e123faaf7b671165e94f9deb65d7fd6b29f673dc547bab8b8d55
38,815
[ -1 ]
38,832
languages.lisp
along-emacs_cl-ygo/languages.lisp
;;;; languages.lisp -*- coding: utf-8-unix; -*- (in-package :cl-ygo) (defvar *locale-string* nil) (defvar *lang-seq* '(:zh-cn :zh-tw :en-us :ja-jp)) (defun init-locale-string (&rest categories) (setq *locale-string* nil) (loop for key in categories do (setf (getf *locale-string* key) nil))) (defun add-l...
9,131
Common Lisp
.lisp
292
20.890411
65
0.554372
along-emacs/cl-ygo
0
0
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
e5ac5f37e1b0effc08db4b3e24d2c597856b0f3737bc6501b3f0ae81d805c94d
38,832
[ -1 ]
38,833
cl-ygo.lisp
along-emacs_cl-ygo/cl-ygo.lisp
;;;; cl-ygo.lisp -*- coding: utf-8-unix; -*- (in-package #:cl-ygo) (defclass player () ((name :accessor player-name :initarg :name) (lp :accessor player-lp :initarg :lp :initform 8000))) (defclass card () ((id :accessor card-id :initarg :id) (category :accessor card-cate) ...
5,001
Common Lisp
.lisp
149
29.174497
70
0.624119
along-emacs/cl-ygo
0
0
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
734228926f269e87f52db690d74c689a49bc73084a79d911be4dd2cc0e995b5e
38,833
[ -1 ]
38,834
cl-ygo.asd
along-emacs_cl-ygo/cl-ygo.asd
;;;; cl-ygo.asd (asdf:defsystem #:cl-ygo :description "Common Lisp version of yu-gi-oh! engine" :author "Xinlong Hu <along.emacs@gmail.com>" :license "GNU General Public License v3.0" :version "0.0.1" :serial t :components ((:file "package") (:file "cl-ygo") (:file "languages")))
318
Common Lisp
.asd
10
27.2
56
0.631922
along-emacs/cl-ygo
0
0
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
4fe19f5fb567d2f6364530980b2e1a5624084370e47acbcba02ed112056f8354
38,834
[ -1 ]
38,839
Template.ydk
along-emacs_cl-ygo/deck/Template.ydk
#created by ... #main 10000080 102380 55063751 55063751 14558127 14558127 23434538 23434538 23434538 97268402 97268402 97268402 12580477 18144507 83764718 10045474 10045474 94192409 94192409 #extra !side
227
Common Lisp
.l
23
7.869565
16
0.843137
along-emacs/cl-ygo
0
0
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
f0c338e1d38c50ffecf121b5cbfcecf24d2f3e8d9dba882f0665c6a40a928b1d
38,839
[ -1 ]
38,854
macrolayer.lisp
equwal_sl/macrolayer.lisp
;;; This file is meant to provide a macro layer for Sly and Slime ;;; This contains a few things: ;;; - 5AM is used for testing, but only if it is a *features* member. ;;; The abstraction gets more specific as you go to the end of the file. (in-package :sl) (eval-when (:compile-toplevel :load-toplevel :execute) (...
4,925
Common Lisp
.lisp
96
42.59375
102
0.618642
equwal/sl
0
1
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
cc9998aaf7d55576ac4ded5bb40baa8c0cfed176d855e7ad407d34f5ccc0ba7d
38,854
[ -1 ]
38,855
utils.lisp
equwal_sl/utils.lisp
(in-package :sl) (eval-when (:compile-toplevel :load-toplevel :execute) ;; From Graham's OnLisp (defun pack (obj) "Ensure obj is a cons." (if (consp obj) obj (list obj))) (defun shuffle (x y) "Interpolate lists x and y with the first item being from x." (cond ((null x) y) ((null y) x) ...
1,185
Common Lisp
.lisp
34
24.529412
65
0.499565
equwal/sl
0
1
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
c1bee8be8b9379b5d71a37cf6cc3b8e29dc83545412c095ca14dc52cb35460bc
38,855
[ -1 ]
38,856
sl.lisp
equwal_sl/sl.lisp
;;; Provide least common denominator shared functionality between Sly and Slime. (in-package :sl) (defequivsfn operator-arglist)
131
Common Lisp
.lisp
3
42
80
0.81746
equwal/sl
0
1
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
d83f82bf1e4ea03dd672c4c87c54679a644b18f630aea62d8596e6276ef9be7b
38,856
[ -1 ]
38,857
sl.asd
equwal_sl/sl.asd
(defsystem :sl :version "0.0.1" :description "Wrapper for the lowest common denominator of Sly and Slime" :author "Spenser Truex <web@spensertruex.com>" :serial t :license "GNU GPL v3" :components ((:file "package") (:file "utils") (:file "macrolayer") ...
413
Common Lisp
.asd
12
28.333333
76
0.581047
equwal/sl
0
1
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
2ac16f1e1e1b5b9e93b394db7283cb518425465191423e91f79d98473481be81
38,857
[ -1 ]
38,877
rsss.lisp
JadedCtrl_rsss/rsss.lisp
;; 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 your ;; option) any later version. ;; This program is distributed in the hope that it will be useful, ...
9,360
Common Lisp
.lisp
221
34.950226
78
0.614527
JadedCtrl/rsss
0
0
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
25bcebf4ef8bbd277f488267c807d53baec556024f4bae787b0ba81ad273cf74
38,877
[ -1 ]
38,878
rsss.lisp
JadedCtrl_rsss/t/rsss.lisp
(defpackage :rsss-testing (:use :cl) (:export :do-all)) (in-package :rsss-testing) ;; NIL → VARYING (defun do-all () "Execute all tests." (rt:do-tests)) ;; ----------------- ;; To run these tests, just load up :rsss-testing and run #'do-all. ;; Senproblem'! ;; ----------------- (defvar *atom-xml* (alexa...
6,251
Common Lisp
.lisp
161
31.559006
101
0.615871
JadedCtrl/rsss
0
0
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
29c7b69c7a72eafd1ec0454169d76b9f023b96ea66bc8688b4b550d368dbc15d
38,878
[ -1 ]
38,879
rsss.asd
JadedCtrl_rsss/rsss.asd
(defsystem "rsss" :version "0.9" :author "Jaidyn Ann <jadedctrl@posteo.at>" :license "GPLv3" :depends-on ("xmls") :components ((:file "rsss")) :description "Reading Syndicated Stuff Sagely is a feed format-neutral parser. Both Atom and RSS-friendly.")
266
Common Lisp
.asd
9
27
66
0.715953
JadedCtrl/rsss
0
0
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
69d082aa76ba701105bfafec4908c7695acf2479a29e86f682361843cf9692a5
38,879
[ -1 ]
38,883
rss1.xml
JadedCtrl_rsss/t/rss1.xml
<?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns="http://purl.org/rss/1.0/" > <channel rdf:about="https://planet.gnu.org/"> <titl...
323,392
Common Lisp
.l
3,916
79.823544
8,376
0.744333
JadedCtrl/rsss
0
0
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
9ac763e8b0e74dba0c024a5190646af75d4a5e842deb60770bb926677e9c3441
38,883
[ -1 ]
38,884
atom.xml
JadedCtrl_rsss/t/atom.xml
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>Planet GNU</title> <link rel="self" href="https://planet.gnu.org/atom.xml"/> <link href="https://planet.gnu.org/"/> <id>https://planet.gnu.org/atom.xml</id> <updated>2019-07-09T17:55:32+00:00</updated> ...
337,202
Common Lisp
.l
4,428
73.271454
8,381
0.739183
JadedCtrl/rsss
0
0
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
aaaa46e1b2dbeb6e73897edd852b0b5b3388952f5f482f6834bfce94dda18ff0
38,884
[ -1 ]
38,885
rss2.xml
JadedCtrl_rsss/t/rss2.xml
<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"> <channel> <title...
7,595
Common Lisp
.l
161
40.89441
126
0.67467
JadedCtrl/rsss
0
0
0
GPL-3.0
9/19/2024, 11:45:31 AM (Europe/Amsterdam)
8711c5d9a066b3ccef1b049725d0bbbaef76febf962c576d4280bd7947d97f7c
38,885
[ -1 ]
38,900
memoize.lisp
davd33_simple-cv-with-lisp/src/memoize.lisp
(in-package #:memoize) (defun memo (fn name key test) "Return a memo-function of fn." (let ((table (make-hash-table :test test))) ;; to be able to clear (setf (get name 'memo) table) #'(lambda (&rest args) (let ((k (funcall key args))) (multiple-value-bind (val found-p) ...
924
Common Lisp
.lisp
24
32.5
64
0.618304
davd33/simple-cv-with-lisp
0
0
0
GPL-3.0
9/19/2024, 11:45:39 AM (Europe/Amsterdam)
348701573e9ab5a0bc261af25e13f0fe718ada1e16eaab305be8d9c40ac7d76b
38,900
[ -1 ]
38,901
hm.lisp
davd33_simple-cv-with-lisp/src/hm.lisp
(in-package #:hm) ;; Hash table utils (defun print-elt (k v &key (stream t)) "Prints one element with K key and V value." (format stream "~&~a -> ~a" k v)) (defun print-all (ht) "Use PRINT-ELT and MAPHASH to print all the k/v pairs of HT." (maphash #'print-elt ht)) (defmacro put (hash-table key value) "Ad...
1,206
Common Lisp
.lisp
33
32.272727
83
0.670962
davd33/simple-cv-with-lisp
0
0
0
GPL-3.0
9/19/2024, 11:45:39 AM (Europe/Amsterdam)
e8831a84768ed36a860cd34b0ab29aef42c673bc6391b7e80e28cc9a40b29d6a
38,901
[ -1 ]
38,902
be-it.lisp
davd33_simple-cv-with-lisp/src/be-it.lisp
(in-package :be-it) ;; DEFINE COMMAND ARGUMENTS (opts:define-opts (:name :help :description "Some help here needed." ; TODO manage program arguments. :short #\h :long "help")) ;; TODO ;; The parameters that we'd be interested for are the following: ;; - the language of the page... although we could as we...
7,301
Common Lisp
.lisp
185
28.783784
92
0.539633
davd33/simple-cv-with-lisp
0
0
0
GPL-3.0
9/19/2024, 11:45:39 AM (Europe/Amsterdam)
0f5de1965629679eca9b151b939549ffd8cd495af974377d404a07ac48ddc667
38,902
[ -1 ]
38,903
api.lisp
davd33_simple-cv-with-lisp/src/api.lisp
(in-package #:api) (defroute api-doc (:get :text/html) "<p>Helloworld</p>") (setf snooze:*catch-errors* :verbose) (defun cv-handler (payload-as-string) (let* ((json (handler-case (json:decode-json-from-string payload-as-string) (error (e) (http-condition 4...
1,952
Common Lisp
.lisp
47
34.808511
86
0.648863
davd33/simple-cv-with-lisp
0
0
0
GPL-3.0
9/19/2024, 11:45:39 AM (Europe/Amsterdam)
82be00553ef1dada4e88196d2492db0411e16434360d1f2cb26e7fa5fd70e33e
38,903
[ -1 ]
38,904
web-site.lisp
davd33_simple-cv-with-lisp/src/web-site.lisp
(in-package #:web-site) (defun start-all () (dao:connect) (api:start)) (defun stop-all () (api:stop)) (defmacro build-spinneret-html-response (&body body) `(with-output-to-string (out) (let ((spinneret:*html* out)) ,@body))) (defroute home (:get "text/html") "It works!") (defroute wcv (:g...
535
Common Lisp
.lisp
18
22.111111
68
0.542969
davd33/simple-cv-with-lisp
0
0
0
GPL-3.0
9/19/2024, 11:45:39 AM (Europe/Amsterdam)
8a97a111222ad216e816f7ec843742506af2ab857cef594fc56ae5a1b93bdf5e
38,904
[ -1 ]