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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
41,453 | c3.lsp | Boerseth_lisp/ansicl/c3.lsp | (load "headers.lsp")
(chapter 3 "LISTS")
(section 3 1 "Conses")
(setf x (cons 'a nil))
x
(car x)
(cdr x)
(setf y (list 'a 'b 'c))
(cdr y)
(setf z (list 'a (list 'b 'c) 'd))
(car (cdr z))
(consp (list 'a))
(consp nil)
(defun our-listp (x)
(or (null x) (consp x)))
(our-listp nil)
(listp nil)
(our-listp (list 'a 'b)... | 5,653 | Common Lisp | .l | 233 | 20.120172 | 56 | 0.525395 | Boerseth/lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:26 AM (Europe/Amsterdam) | 565a85bdf0f1c7bfcea7db7da2e9e2478da59db54462322221ed3d468f657b15 | 41,453 | [
-1
] |
41,454 | c2.lsp | Boerseth_lisp/ansicl/c2.lsp | (load "headers.lsp")
(chapter 2 "WELCOME TO LISP")
(section 2 1 "Form")
1
(+ 2 3)
(+ 2 3 4)
(+ 2 3 4 5)
(/ (- 7 1) (- 4 2))
(section 2 2 "Evaluation")
(quote (+ 3 5))
'(+ 3 5)
(section 2 3 "Data")
'Artichoke
'(my 3 "Sons")
'(the list (a b c) has 3 elements)
(list 'my (+ 2 1) "Sons")
(list '(+ 2 1) (+ 2 1))
()
n... | 3,027 | Common Lisp | .l | 147 | 18.387755 | 66 | 0.57369 | Boerseth/lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:26 AM (Europe/Amsterdam) | e1e787ca9874d5e2f69b69008e0c3346bb007d0e6d6727322e2e40ce09fab318 | 41,454 | [
-1
] |
41,455 | runner.lsp | Boerseth_lisp/ansicl/runner.lsp | (defun simulate-read (expression)
(format t "~A" (concatenate
'string
(format nil "~%> ")
(format nil "~A" expression))))
(defun simulate-eval (expression)
(format t "~%~A" (eval expression)))
(defun simulate-repl (expression)
(progn
(simulate-read e... | 613 | Common Lisp | .l | 20 | 24.4 | 50 | 0.611205 | Boerseth/lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:26 AM (Europe/Amsterdam) | 8aa23fc33754376f3b11368941acbced291d5328ec379ce4d2e306b9ed529313 | 41,455 | [
-1
] |
41,456 | c1.lsp | Boerseth_lisp/ansicl/c1.lsp | (load "headers.lsp")
(chapter 1 "INTRODUCTION")
(section 1 1 "New Tools")
(defun sum (n)
(let ((s 0))
(dotimes (i n s)
(incf s i))))
(sum 5)
(defun addn (n)
#'(lambda (x)
(+ x n)))
(section 1 2 "New Techniques")
(section 1 3 "A New Approach")
| 268 | Common Lisp | .l | 13 | 17.692308 | 30 | 0.6 | Boerseth/lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:26 AM (Europe/Amsterdam) | e3bcf758011efc53d70f77159a33413a5f191b824a00cf5dfab25f0cb7f71958 | 41,456 | [
-1
] |
41,457 | headers.lsp | Boerseth_lisp/ansicl/headers.lsp | (defun chapter (chap name)
(concatenate
'string
(format nil "~%==================================================")
(format nil "~% ~A ~A" chap name)
(format nil "~%==================================================")))
(defun section (chap sec name)
(concatenate
'string
(format nil "~%... | 548 | Common Lisp | .l | 15 | 33.2 | 73 | 0.404896 | Boerseth/lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:26 AM (Europe/Amsterdam) | f121d92b384ce60d324d2c15d519484053371ad681d381f8b02e59da953c4a58 | 41,457 | [
-1
] |
41,458 | c3ex.lsp | Boerseth_lisp/ansicl/c3ex.lsp | (load "headers.lsp")
(section "" "" "Exercises")
(exercise "1." "Show the following lists in box notation:")
(exercise "[a]" "(a b (c d))")
(answer "
->[ | ]->[ | ]->[ | ]-> nil
| | |
V V V
a b [ | ]->[ | ]-> nil
| |
V V
... | 6,964 | Common Lisp | .l | 231 | 24.922078 | 266 | 0.519529 | Boerseth/lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:26 AM (Europe/Amsterdam) | 3fd67e997781c233591f332141f93783ec4f7a0f807c7683fdc9379c8315cecc | 41,458 | [
-1
] |
41,481 | main.lisp | lambdanil_lispy-stuff/main.lisp | (require "asdf")
(require 'uiop)
(import 'uiop:split-string 'CL-USER)
(defun cls ()
(format t "~A[H~@*~A[J" #\escape))
(defmacro make-vector (&aux type)
"Create a resizable array"
(if type
`(make-array 0 :fill-pointer 0 :adjustable t :element-type ,type)
`(make-array 0 :fill-pointer 0 :adjustable t)))... | 4,802 | Common Lisp | .lisp | 121 | 31.049587 | 106 | 0.580777 | lambdanil/lispy-stuff | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:26 AM (Europe/Amsterdam) | 90a606f16962ff062601bd56ce18095bd7b62386dc5fb7fc1f5242738e973a85 | 41,481 | [
-1
] |
41,513 | JuanHernandez.lisp | HernandezJuan8_K-Nearest-Neighbor/JuanHernandez.lisp | ;;;;; K-NEAREST-NEIGHBOR
;;;;; Juan Hernandez jherna56
;;;;; Project 1
;;;;; G01234626
;;;;; CS 480 Section 001
;;;;; This is a very short assignment and its intent is to get your feet wet in Lisp.
;;;;; Your task is to write three functions which will enable you to test K-Nearest Neighbor:
;;;;;
;;;;; 1. DIFFERENCE... | 32,828 | Common Lisp | .lisp | 454 | 71.063877 | 115 | 0.553903 | HernandezJuan8/K-Nearest-Neighbor | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:26 AM (Europe/Amsterdam) | 8cab367ea4aa14d4c6edf0cebfed7d5901ba57d4750d7e32baec9aa25f71b314 | 41,513 | [
-1
] |
41,530 | juan-hernandez.lisp | HernandezJuan8_Game-Playing-Agent-/juan-hernandez.lisp | ;; ASSIGNMENT 4: A MANCALA PLAYER
;; DUE: MONDAY, MAY 2, at MIDNIGHT
;; Juan Hernandez jherna56 G01234626
;; Report at end of the file
;; :P
;;;; Here is a description of the stuff that would go into your
;;;; file.
;;;; The first thing in your function is a package declaration.
;;;; You should name y... | 6,165 | Common Lisp | .lisp | 93 | 62.83871 | 168 | 0.719609 | HernandezJuan8/Game-Playing-Agent- | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:26 AM (Europe/Amsterdam) | 44e5560a6f4018b05f13c07ac119ab61488c12029101f6df046715ee8b395fd7 | 41,530 | [
-1
] |
41,547 | rps.lisp | thefossenjoyer_lisp-projects/rps.lisp | (defpackage #:rps
(:use :cl))
(in-package #:rps)
(defun get-user ()
"Gets user's choice."
(format t "Enter your choice (r, p, s): ")
(let ((user-choice (read-line)))
(cond
((string= user-choice "r") (return-from get-user "rock"))
((string= user-choice "p") (return-from get-user "paper"))
... | 1,540 | Common Lisp | .lisp | 40 | 34.2 | 96 | 0.613099 | thefossenjoyer/lisp-projects | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | ba84f94d3b2ecc83a0b81b2fb04d57221052eea19da923eb3e29ae101fed62fa | 41,547 | [
-1
] |
41,548 | guess_game.lisp | thefossenjoyer_lisp-projects/guess_game.lisp | (defvar secret_word "emacs")
(defvar lives 3)
(defun game_loop ()
"Running the game."
(print "Enter your guess: ")
(defvar user_guess)
(setf user_guess (make-array '(0) :element-type 'base-char :fill-pointer 0 :adjustable t)) ;; "reseting" user_guess
(setf user_guess (read))
(cond
((= 0 lives) (p... | 548 | Common Lisp | .lisp | 15 | 32.866667 | 117 | 0.652591 | thefossenjoyer/lisp-projects | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 412dc09a7916f514784d4d73420c56ae1acb48a19a523a65b74b268be6474c98 | 41,548 | [
-1
] |
41,549 | guess_game_two.lisp | thefossenjoyer_lisp-projects/guess_game_two.lisp | (defvar word "tux")
(defvar lives 3)
(defvar points 0)
(defun game_loop () "Idk, game loop?"
(defvar user_guess)
(format t "You have 3 lives. Be careful. Also, you need to score 3 points by guessing the correct letters. ~&")
(format t "Lives: ~a ~&" lives)
(format t "Points: ~a ~&" points)
(print "Gues... | 814 | Common Lisp | .lisp | 19 | 39.157895 | 116 | 0.64359 | thefossenjoyer/lisp-projects | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 5e2a00ac20b2d6aec4e66e006ca6c36b996fa85d27c3634a230bd52d372eefce | 41,549 | [
-1
] |
41,569 | sample.rat.out.short | tom4244_Compiler_in_Common_Lisp/sample.rat.out.short | Z -> $$ $$ LP M $$
LP -> L
L -> D ; LP
D -> Q I
Q -> int
I -> ID IP
IP -> , I
I -> ID IP
IP -> , I
I -> ID IP
IP -> , I
I -> ID IP
IP -> , I
I -> ID IP
IP -> , I
I -> ID IP
IP -> , I
I -> ID IP
IP -> &
LP -> L
L -> D ; LP
D -> Q I
Q -> boolean
I -> ID IP
IP -> &
LP -> &
M -> S MP
S -> V
V ->... | 3,881 | Common Lisp | .l | 359 | 8.935933 | 44 | 0.451879 | tom4244/Compiler_in_Common_Lisp | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | abe1d8e27ba80bef27988e07cfa3dbad87f050b14bf0a839c740de54346b5b37 | 41,569 | [
-1
] |
41,570 | sample.rat.out.debug | tom4244_Compiler_in_Common_Lisp/sample.rat.out.debug | Lexeme: $$
Z -> $$ $$ LP M $$
Lexeme: $$
Lexeme: int
LP -> L
L -> D ; LP
D -> Q I
Q -> int
Lexeme: a
I -> ID IP
a 1000 int
Lexeme: ,
IP -> , I
Lexeme: b
I -> ID IP
b 1001 int
Lexeme: ,
IP -> , I
Lexeme: c
I -> ID IP
c 1002 int
Lexeme: ,
IP -> , I
Lexeme: i
I -> ID IP
i 1003 int
Lexeme: ,
IP ... | 9,617 | Common Lisp | .l | 751 | 11.166445 | 44 | 0.518744 | tom4244/Compiler_in_Common_Lisp | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 205e123cf6ecc601af33cd891d4111d4de2393c765dde8b31f059cb748a4a0a2 | 41,570 | [
-1
] |
41,571 | sample.rat.out | tom4244_Compiler_in_Common_Lisp/sample.rat.out |
Source file parsing finished with no errors.
Assembly Code Listing
1 PUSHM 1000
2 PUSHI 3
3 EQU
4 JUMPZ 7
5 PUSHI 0
6 POPM 1007
7 PUSHM 1000
8 PUSHM 1001
9 LES
10 JUMPZ 13
11 PUSHM 1002
12 POPM 1000
13 PUSHI 3
14 POPM 1005
15 PUSHI 0
16 POPM 1006
17 PUSHI 1
18 PUSHM 1005
19 PUSHI 2
20 SUB
21 PUSHM 1006
22 SUB
23... | 912 | Common Lisp | .l | 75 | 10.76 | 44 | 0.812576 | tom4244/Compiler_in_Common_Lisp | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | f239c9b1993f4abe6093517ff72c4b780b3351f07e9514d6cd7e240ea586febc | 41,571 | [
-1
] |
41,572 | sample.rat.out.long | tom4244_Compiler_in_Common_Lisp/sample.rat.out.long | Token: Separator Lexeme: $$
<Rat10> -> $$ $$ <Opt Declaration List> <Statement List> $$
Token: Separator Lexeme: $$
Token: Keyword Lexeme: int
<Opt Declaration List> -> <Declaration List>
<Declaration List> -> <Declaration> ; <Opt Declaration List>
<Declaration> -> <Qualifier> <IDs>
<Qualifier> -> int
Toke... | 14,151 | Common Lisp | .l | 485 | 28.115464 | 61 | 0.67333 | tom4244/Compiler_in_Common_Lisp | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 6a27379694ff41d3cbc045214ab54fa834d5adeb2abc26f3b4835bcbb61a9c8e | 41,572 | [
-1
] |
41,573 | sample2.rat | tom4244_Compiler_in_Common_Lisp/sample2.rat | $$
$$
int max,sum;
boolean j;
i := 5;
sum := 1 + 3;
$$
int max,sum;
boolean i;
sum := 0;
i := 1;
read( max);
while (i <= max) {
sum := sum + i;
i := i + 1;
while (sum < max)
i := 3;
}
write (sum+max);
$$
| 287 | Common Lisp | .l | 20 | 9.45 | 27 | 0.380392 | tom4244/Compiler_in_Common_Lisp | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 6e62f8fba59399eeafe046171deee67d1385a67c401473b53e70812a4e91c952 | 41,573 | [
-1
] |
41,574 | sample.rat | tom4244_Compiler_in_Common_Lisp/sample.rat | $$
$$
int a,b,c,i,j,max,sum;
boolean signal;
if (a = 3) signal := false; endif
if (a < b) a := c; endif
max := 3;
sum := 0;
i := 1 * ((max - 2) - sum);
j := (1 * 3)*(sum + (sum*3) - i * 2);
signal := true;
read( max, signal);
while (i < sum) {
sum := sum + ... | 379 | Common Lisp | .l | 18 | 15.555556 | 41 | 0.394366 | tom4244/Compiler_in_Common_Lisp | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | b3861fe471bcaf3d0532d0b82e756d1e5f17c524b0ea40ec30a5f46c4ac7d5bb | 41,574 | [
-1
] |
41,589 | hello.lisp | lross2k_practice-in-clisp/hello.lisp | ; Ubiquitous hello world environment test
(print "Hello, world!")
#|
Multi line comments
just for fun
|#
(format t "Goodbye, world!")
| 144 | Common Lisp | .lisp | 7 | 18.142857 | 41 | 0.711111 | lross2k/practice-in-clisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 5c36ceb20d87de7f8d035117752ae056878b965e3cc98368d7121dfac5168402 | 41,589 | [
-1
] |
41,590 | oop.lisp | lross2k_practice-in-clisp/oop.lisp | ;; lisp has generic functions with methods that can allow for different behaivours, this means
;; functions have generics and abstraction integrated, nice
;; Generic function definition
(defgeneric description (object)
(:documentation "Return a description of an object."))
;; Defining methods for the generic functi... | 1,619 | Common Lisp | .lisp | 44 | 31.272727 | 94 | 0.68115 | lross2k/practice-in-clisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | d9c341c7a1802d84b945adf7b1a994ad8faf4e9779a55394dc83045d4428795e | 41,590 | [
-1
] |
41,591 | io.lisp | lross2k_practice-in-clisp/io.lisp | ;; Write a file with random numbers
(with-open-file (stream (merge-pathnames #p"data.txt"
(user-homedir-pathname))
:direction :output
:if-exists :supersede
:if-does-not-exist :create)
(dotimes (i 100)
... | 516 | Common Lisp | .lisp | 11 | 34.909091 | 66 | 0.506958 | lross2k/practice-in-clisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 5b7e318e26f39da2da3ca70c9f4d52dc3a08bf45436d4e2019e12408cedc5ac5 | 41,591 | [
-1
] |
41,592 | vars.lisp | lross2k_practice-in-clisp/vars.lisp | ; Defining variables
(let ((str "Hello, world!"))
(print str))
; Defining and operating on variables
(let ((str "Goodbye, world!"))
(string-upcase str)
(print str))
; Defining multiple variables
(let ((x 1)
(y 5))
(+ x y)
(print x))
; Variables with initial values dependant on other vars
(let* ((x 1)... | 904 | Common Lisp | .lisp | 36 | 22.833333 | 66 | 0.668219 | lross2k/practice-in-clisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | e649536724ca40baede8cb91b400dbc53a0a45cfc42160982b92738aacb14b62 | 41,592 | [
-1
] |
41,593 | funcs.lisp | lross2k_practice-in-clisp/funcs.lisp | ; simple function definition
(defun add (a b)
(print (+ a b)))
; call directly
(add 2 3)
; anonymous funcall
(funcall #'add 6 -3.5)
; anonymous apply
(apply #'add (list -5 6.666))
; multiple value return function
(defun many (n)
(values n (* n 2) (/ n 3)))
; test multiple return values
(multiple-value-list (ma... | 421 | Common Lisp | .lisp | 18 | 21.666667 | 32 | 0.694444 | lross2k/practice-in-clisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 484502e6831c91cd4f85203ac5f2a4fe7c4c9d1d82cf7ea255b7ea5637a66f42 | 41,593 | [
-1
] |
41,594 | electric-motors.lisp | lross2k_practice-in-clisp/electric-motors.lisp | #|
- 230V / 4H
- inverse time automatic breakers except for 15 HP motors which have instantaneous breaker
- service factor of 1,1
- star connection 208V
- one of the 4 15 HP motors is used as a backup, in case one of the other 3 fails
- average temperature of 33ºC
- 53kW load corresponds to illumination distributed cha... | 4,128 | Common Lisp | .lisp | 101 | 39.445545 | 105 | 0.686029 | lross2k/practice-in-clisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 115d83bb1eda973ea84bea665c5217c7ad4e63416ba0d7b323554898e32049b6 | 41,594 | [
-1
] |
41,595 | lists.lisp | lross2k_practice-in-clisp/lists.lisp | ; Saving a list to a variable
(defparameter list1 (list 1 2 3 4 5 6 7 8 9 10))
; Accessing the list in different ways
(print list1)
(print (first list1))
(print (tenth list1))
; Changing a value in the list
(setf (third list1) 11)
(print list1)
(setf (nth 9 list1) -1.102831)
(print list1)
(setf (nth 2 list1) "a")
(pr... | 782 | Common Lisp | .lisp | 28 | 25.285714 | 48 | 0.668901 | lross2k/practice-in-clisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 69d13c02fade2e5049b6313274756a05379df9be0f9312341ea58e5331afd1cb | 41,595 | [
-1
] |
41,596 | macros.lisp | lross2k_practice-in-clisp/macros.lisp | ;; Simple while loop as you can clearly see
(let ((i 0))
(loop while (< i 3) do
(progn (incf i)))
(print i)
)
;; Handy macro to make the while loop more C like
(defmacro while (condition &body body)
`(loop while ,condition do (progn ,@body)))
;; Same while loop from the beginning, less lisp-y
(let ((i 0))
... | 364 | Common Lisp | .lisp | 15 | 21.933333 | 50 | 0.647399 | lross2k/practice-in-clisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 64b752d4590b32f22ac20ba8917054bd4acdc063f341130abb45cc3502b8fac0 | 41,596 | [
-1
] |
41,620 | example.lisp | bohonghuang_cl-libagbplay/example.lisp | (defpackage cl-libagbplay-example
(:use #:cl #:libagbplay #:raylib)
(:import-from #:cffi #:make-shareable-byte-vector #:with-pointer-to-vector-data)
(:nicknames #:libagbplay-example)
(:export #:run-example))
(in-package #:libagbplay-example)
(defparameter +buffer-size+ 4096)
(defun run-example ()
(with-win... | 2,500 | Common Lisp | .lisp | 45 | 36.777778 | 103 | 0.501631 | bohonghuang/cl-libagbplay | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 5ca5845c9bab58674a484c7952427520957fd8b90441a9d56e56dc0841b81b97 | 41,620 | [
-1
] |
41,621 | cl-libagbplay.lisp | bohonghuang_cl-libagbplay/cl-libagbplay.lisp | (defpackage cl-libagbplay
(:use #:cl #:cffi)
(:nicknames #:libagbplay)
(:export
#:agb-player
#:agb-player-delete
#:agb-player-play
#:agb-player-pause
#:agb-player-stop
#:agb-player-playing-p
#:agb-player-set-song
#:agb-player-get-song-number
#:agb-player-take-buffer
#:make-agb-player... | 4,376 | Common Lisp | .lisp | 92 | 39.891304 | 110 | 0.657666 | bohonghuang/cl-libagbplay | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | af5e4778a44038449996a02bed17d285ba919baa6d1b99a7d561c9b27e54deb9 | 41,621 | [
-1
] |
41,622 | cl-libagbplay.asd | bohonghuang_cl-libagbplay/cl-libagbplay.asd | #+sb-core-compression
(defmethod asdf:perform ((o asdf:image-op) (c asdf:system))
(uiop:dump-image (asdf:output-file o c) :executable t :compression t))
(defsystem cl-libagbplay
:version "1.0.0"
:author "Bohong Huang <1281299809@qq.com>"
:maintainer "Bohong Huang <1281299809@qq.com>"
:license "lgpl3"
:desc... | 899 | Common Lisp | .asd | 22 | 36.954545 | 75 | 0.715429 | bohonghuang/cl-libagbplay | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:50:34 AM (Europe/Amsterdam) | 6210af4f60f7fcd8b472dea8f013f7a8e4d511d036142c27638b2cc86fdaa849 | 41,622 | [
-1
] |
41,641 | lisp-15.lisp | old-tom-bombadil_lisp-1_5/lisp-15.lisp |
; lisp implementation as documented in Lisp 1.5 Programmers Manual
(defun tww-pairlis (x y a)
"itemwise pair the first two lists and cons onto the third"
(cond ((null x) a)
(T (cons (cons (car x) (car y)) (tww-pairlis (cdr x ) (cdr y) a)))))
(defun tww-assoc (x a)
"find the pair in a starting with x"
(cond ... | 1,586 | Common Lisp | .lisp | 35 | 41.685714 | 91 | 0.572078 | old-tom-bombadil/lisp-1.5 | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | 33cb299fc0a3b8aff21158992e3674cbdb6335121ab843a73b4e30664f98043e | 41,641 | [
-1
] |
41,658 | test-sb-alien.lisp | millejoh_cl-libpff/test-sb-alien.lisp | (defpackage :cl-libpff-test-sb-alien
(:use #:cl #:sb-alien))
(in-package :cl-libpff-test-sb-alien)
(load-shared-object "/usr/local/lib/libpff.so")
(define-alien-routine "libpff_get_version" c-string)
(defun test-get-version ()
(libpff-get-version))
(define-alien-routine "libpff_check_file_signature" int
(f... | 1,041 | Common Lisp | .lisp | 24 | 39.291667 | 85 | 0.684211 | millejoh/cl-libpff | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | 3632a32d3acb41f44648c38fd7e9f133de68a2cfbc5fadd1ac69a7bf9eac5ac0 | 41,658 | [
-1
] |
41,659 | test-cffi.lisp | millejoh_cl-libpff/test-cffi.lisp | (defpackage :cl-libpff-test-cffi
(:use #:cl #:cffi))
(in-package :cl-libpff-test-cffi)
(defparameter *test-pst-file-1* "/mnt/c/Users/mille_9b1cm14/OneDrive/Documents/Outlook Files/test.pst")
(defparameter *test-pst-file-2* "/mnt/c/Users/mille_9b1cm14/AppData/Local/Microsoft/Outlook/johnpantagruel@gmail.com.ost")
(... | 6,148 | Common Lisp | .lisp | 135 | 41.377778 | 122 | 0.69124 | millejoh/cl-libpff | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | c05be570323858803e1e9233d15ae08ad4e8480228d1c13d41953ed058984d4e | 41,659 | [
-1
] |
41,660 | test.lisp | millejoh_cl-libpff/test.lisp | (defpackage :cl-libpff-test
(:use #:cl #:libpff-ffi #:plus-c))
(in-package :cl-libpff-test)
(defparameter *test-pst-file-1* "/mnt/c/Users/mille_9b1cm14/OneDrive/Documents/Outlook Files/test.pst")
(defparameter *test-pst-file-2* "/mnt/c/Users/mille/AppData/Local/Microsoft/Outlook/johnpantagruel@gmail.com.ost")
(def... | 4,926 | Common Lisp | .lisp | 100 | 43.71 | 114 | 0.664724 | millejoh/cl-libpff | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | 91d972e81711cd531874f1f4b0a3f21cc7f73fe0fcff181f56db37413a8bf4e3 | 41,660 | [
-1
] |
41,661 | package.lisp | millejoh_cl-libpff/src/package.lisp | (in-package :cl-user)
(defpackage #:libpff-ffi
(:use))
(defpackage #:libpff
(:use #:cl #:autowrap.minimal #:plus-c #:libpff-ffi))
| 136 | Common Lisp | .lisp | 5 | 25 | 55 | 0.674419 | millejoh/cl-libpff | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | 18d00ffbaaad02a8637b9b2ebc28fcdd0097c8b9cd1ef9f97af7df106a70ed10 | 41,661 | [
-1
] |
41,662 | library.lisp | millejoh_cl-libpff/src/library.lisp | (in-package :libpff-ffi)
(cffi:define-foreign-library libpff
(:unix (:or "libpff.so" "libpff.so.1" "/usr/local/lib/libpff.so"))
(t (:default "libpff")))
(autowrap:c-include '(cl-libpff autospec "interface.h")
:spec-path '(cl-libpff autospec)
:exclude-definitions ("remove"))
(cffi:use-foreign-... | 336 | Common Lisp | .lisp | 8 | 37.625 | 67 | 0.68 | millejoh/cl-libpff | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | 193a1eab3ddd89e002bebf6848d68ec6604bdc582fb53315c1fc3e35abf3c11d | 41,662 | [
-1
] |
41,663 | cl-libpff-test.asd | millejoh_cl-libpff/cl-libpff-test.asd | (in-package :cl-user)
(asdf:defsystem :cl-libpff-test
:serial t
:pathname ""
:depends-on ("cl-libpff")
:components ((:file "test")
(:file "test-cffi")
(:file "test-sb-alien")))
| 216 | Common Lisp | .asd | 8 | 21.125 | 40 | 0.565217 | millejoh/cl-libpff | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | 14e14db8133ea103b05977ceb263cfa1f742023c13d0530342ae980311b76615 | 41,663 | [
-1
] |
41,664 | cl-libpff.asd | millejoh_cl-libpff/cl-libpff.asd | (in-package :cl-user)
(asdf:defsystem #:cl-libpff
:serial t
:description ""
:author "John M. Miller"
:license "MIT"
:version "0.1"
:pathname "src"
:depends-on ("cffi" "cl-autowrap" "cl-plus-c")
:components ((:file "package")
(:file "library")
(:module #:autospec
... | 409 | Common Lisp | .asd | 14 | 22.571429 | 61 | 0.56599 | millejoh/cl-libpff | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | a90b51bd78c571bd9016aa8e7ed748d70dafb50e4649f796965ec84f1522b58f | 41,664 | [
-1
] |
41,687 | statistics.lisp | dzangfan_lineva/statistics.lisp | (ql:quickload :uiop :silent t)
(ql:quickload :alexandria :silent t)
(defparameter *maximum-depth* 3)
(defun read-all-forms (file-name)
(let ((sharp-dot (get-dispatch-macro-character #\# #\.)))
(set-dispatch-macro-character
#\# #\. (lambda (s c n)
(declare (ignore s c n))
nil))... | 4,196 | Common Lisp | .lisp | 94 | 36.095745 | 73 | 0.589574 | dzangfan/lineva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | 4ef809766a268a91d3d8c1ba19ecc1b964432dbb20fcb9c0032c41023ba74340 | 41,687 | [
-1
] |
41,688 | lineva.lisp | dzangfan_lineva/lineva.lisp | (in-package :cl-user)
(defpackage :lineva
(:nicknames :la)
(:use :common-lisp)
(:export #:instruction #:definst #:leva
#:available-instructions #:describe-instruction)
(:documentation "Package providing linear evaluation feature."))
(in-package :lineva)
(defmacro always-eval (&body body)
"Equal ... | 12,627 | Common Lisp | .lisp | 329 | 32.413374 | 80 | 0.627572 | dzangfan/lineva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | 401498fa604be0b49829d2d2b14794c6c67c3675b4c85024ef2ea7e26ef1cb98 | 41,688 | [
-1
] |
41,689 | lineva-test.lisp | dzangfan_lineva/lineva-test.lisp |
(in-package :cl-user)
(defpackage :lineva/test
(:use :common-lisp :fiveam))
(in-package :lineva/test)
(defmacro does-leva-expand-to (result (&rest leva-args))
`(is (equalp (macroexpand '(la:leva ,@leva-args)) ,result)))
(test empty-leva
(does-leva-expand-to '(progn) ()))
(test one-elt-leva
(does-leva-expa... | 5,573 | Common Lisp | .lisp | 138 | 27.942029 | 79 | 0.434237 | dzangfan/lineva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | cdf03101ab7ceb46891b21b2720b77d4b43d627e1e8c96774590e85b46226143 | 41,689 | [
-1
] |
41,690 | instruction-docstring.lisp | dzangfan_lineva/instruction-docstring.lisp | (ql:quickload :str)
(defparameter *docstring-seperator*
(make-string 2 :initial-element #\Newline))
(defparameter *docstring-example-tag*
" >>> ")
(defparameter *docstring-example-tag-length* 6)
(defun split-docstring (docstring)
(la:leva
(:bind (lambda-list detail example)
(str:split *docstri... | 2,494 | Common Lisp | .lisp | 57 | 37.877193 | 77 | 0.653213 | dzangfan/lineva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | 2a27a8cccb8baa3eb7b080df2b56cf9564a5a1518bf8c1451b2fda542d156a16 | 41,690 | [
-1
] |
41,691 | lineva.asd | dzangfan_lineva/lineva.asd | (in-package :asdf-user)
(defsystem :lineva
:description "Linear evaluation macro system"
:version "0.0.1"
:author "Li Dzangfan <li-fn@outlook.com>"
:licence "GPLv3"
:depends-on ()
:components ((:file "lineva"))
:in-order-to ((test-op (test-op :lineva/test))))
(defsystem :lineva/test
:description "line... | 526 | Common Lisp | .asd | 16 | 30.125 | 55 | 0.687008 | dzangfan/lineva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | 1169c072e218aed20e50a5bcb2676a7af36db3f87848000d0996294a5b8e95b6 | 41,691 | [
-1
] |
41,711 | buildrofli.lisp | slamko_rolfi/buildrofli.lisp | (ql:quickload :ltk)
(load "rolfi.asd")
(asdf:load-system :rolfi)
(sb-ext:save-lisp-and-die "rolfi" :toplevel #'rolfi:main :executable t)
(quit)
| 147 | Common Lisp | .lisp | 5 | 27.8 | 71 | 0.726619 | slamko/rolfi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | d4dbdc2360a46ac04aa291fee3ba085d2b4799929010b5fb124d8dfcad51831b | 41,711 | [
-1
] |
41,712 | rolfi.lisp | slamko_rolfi/src/rolfi.lisp | (defpackage rolfi
(:use :cl
:ltk)
(:export #:run))
(in-package :rolfi)
(defvar app-list nil)
(defun get-menu-selection (menu)
(car (listbox-get-selection menu)))
(defun get-bin-directories ()
(let ((path-var (uiop:getenv "PATH")))
(when path-var
(mapcar
(lambda (var) (concatenate 'string var "... | 4,803 | Common Lisp | .lisp | 145 | 23.937931 | 77 | 0.564309 | slamko/rolfi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | c9ae2139a40736471033a0293825569513b96147c40a343cd85ff3d4ac8f503b | 41,712 | [
-1
] |
41,713 | powerctl.lisp | slamko_rolfi/srcs/powerctl.lisp | (in-package :rolfi)
(defun powerctl (ent menu f)
(choose-list-entry
ent
menu
f
'("sleep" "shutdown" "reboot")
(lambda (entry &rest args)
(cond ((string= entry "sleep")
(uiop:launch-program "loginctl suspend"))
((string= entry "shutdown")
(uiop:launch-program "lo... | 523 | Common Lisp | .lisp | 16 | 26.1875 | 70 | 0.611111 | slamko/rolfi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | 2aa37da54061753721421a25675b02dc569ee9552555c2c41da50d9b420a81ef | 41,713 | [
-1
] |
41,714 | rolfi.lisp | slamko_rolfi/srcs/rolfi.lisp | (defpackage rolfi
(:use
:cl
:ltk)
(:export
#:main
#:choose-list-entry))
(in-package :rolfi)
(defvar app-list nil)
(defparameter *all-commands* (list(string 'lisp-eval)))
(defun get-menu-selection (menu)
(car (listbox-get-selection menu)))
(defun get-best-matches (str match-list)
(mapcan
(lamb... | 5,151 | Common Lisp | .lisp | 155 | 24.483871 | 85 | 0.572301 | slamko/rolfi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | c2888b7fd09adefa47847ba81a9f80c5aa36cd377bc32a3b27908fe7dcbec906 | 41,714 | [
-1
] |
41,715 | applauncher.lisp | slamko_rolfi/srcs/applauncher.lisp | (in-package :rolfi)
(defun get-bin-directories ()
(let ((path-var (uiop:getenv "PATH")))
(when path-var
(mapcar
(lambda (var) (concatenate 'string var "/"))
(uiop:split-string path-var :separator ":")))))
(defun all-bins (bin-directories)
(let (all-bin-names)
(dolist (bin-path bin-directories a... | 1,090 | Common Lisp | .lisp | 33 | 27.242424 | 74 | 0.632731 | slamko/rolfi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | f8895942d7f906f1914e4a7f32c1a4d1229f382ea41cffea04febc984ef0e1c4 | 41,715 | [
-1
] |
41,716 | rolfi.asd | slamko_rolfi/rolfi.asd | (asdf:defsystem "rolfi"
:author "Viacheslav Chepelyk-Kozhin"
:description "Lisp driven apllication launcher and more"
:version "0.1.2"
:license "GPLv3"
:depends-on (:ltk :uiop)
:components ((:module "srcs"
:components
((:file "rolfi")
(:file "powerctl")
... | 390 | Common Lisp | .asd | 12 | 23.583333 | 58 | 0.547619 | slamko/rolfi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:42 AM (Europe/Amsterdam) | 71dde3ecb3c28a8a4fd42605697740286f2bf137c35be64aecf2919b0b263181 | 41,716 | [
-1
] |
41,738 | copier.lisp | dzangfan_copier_lisp/copier.lisp |
(defconstant layer-inactive-state :inactive)
(defconstant layer-active-state :active)
(defparameter *no-available-function* nil)
(eval-when (:compile-toplevel :load-toplevel :execute)
(defun activeness-descriptor-p (thing)
(or (handler-case
(destructuring-bind (operation layer-name) thing
... | 15,446 | Common Lisp | .lisp | 324 | 36.83642 | 80 | 0.603438 | dzangfan/copier.lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 2a781a8e9c6d49362cae2a284fbc5514bb4cb776b76418bc4a6614ffadc66fd6 | 41,738 | [
-1
] |
41,755 | rsa.lisp | joelcanepa_lisp-rsa/rsa.lisp | (in-package :rsa)
;; definition of rsa parameters
(setq p nil)
(setq q nil)
(setq n nil)
(setq phi-n nil)
(setq e nil)
(setq d nil)
;; Generates a pseudo random number of n bits (between zero and 2^n bits)
(defun random-n-bits (bits)
(random (expt 2 bits) (make-random-state t)))
;; returns ... | 2,537 | Common Lisp | .lisp | 75 | 29.693333 | 106 | 0.629218 | joelcanepa/lisp-rsa | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | b078891f76fef95b89bb859cf315823f40e040121b4fa3472630b9453845a40d | 41,755 | [
-1
] |
41,756 | cl-primality.lisp | joelcanepa_lisp-rsa/cl-primality.lisp | (in-package :cl-primality)
;; @\section{Introduction}
;; @CL-Primality is a small library that can test whether integers are prime or
;; not, and perform common actions that require that knowledge. As of now, the
;; implementation is based on the Miller-Rabin probabilistic primality
;; algorithm. It is written with... | 4,992 | Common Lisp | .lisp | 105 | 41.847619 | 101 | 0.613851 | joelcanepa/lisp-rsa | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | cf1a1f504061d7bed3b591f7d636068128f5e19cea13be9686ef841ec3d06262 | 41,756 | [
-1
] |
41,757 | rsa-test.lisp | joelcanepa_lisp-rsa/rsa-test.lisp | (defpackage :rsa-test
(:use :cl :rsa))
(in-package :rsa-test)
;; para la longitud de la clave puede elegir entre
;; 512 - 1024 - 1536 - 2048
;(rsa::generar-claves 2048)
;(rsa::print-rsa)
;(generar-claves 2048)
;(print-rsa)
;(setq nro #x097aed9dad0fe4f60ca0c02d80782908175bab665e8989601d39cf626a00c... | 1,744 | Common Lisp | .lisp | 18 | 93.888889 | 1,040 | 0.870251 | joelcanepa/lisp-rsa | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | b1d751d2b9fc31d7e251dacd5563e8f7740ccb92041a929e12785c704a9af840 | 41,757 | [
-1
] |
41,758 | mod.lisp | joelcanepa_lisp-rsa/mod.lisp | ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: mod.lisp
;;;; Purpose: Modular arithmetic.
;;;; Author: R. Scott McIntire
;;;; Date Started: Aug 2003
;;;;
;;;; $Id: ... | 8,526 | Common Lisp | .lisp | 241 | 25.738589 | 79 | 0.483347 | joelcanepa/lisp-rsa | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 746c072315e232bd8d02acea940880e3be77a917c0c6f9c64b35a17776f954b0 | 41,758 | [
-1
] |
41,759 | packages.lisp | joelcanepa_lisp-rsa/packages.lisp | (in-package :cl)
(defpackage rsm.mod
(:use :cl)
(:export :inverse)
(:documentation "This package contains functions to do modular arithmetic"))
(defpackage :cl-primality
(:use :cl)
(:export :primep :miller-rabin :expt-mod :coprime)
(:documentation "This package contains functions to do the mill... | 719 | Common Lisp | .lisp | 23 | 23.695652 | 92 | 0.616279 | joelcanepa/lisp-rsa | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 2e19ea91d0c35b297be886c1932b6ba6eb1bcbf8dd61e5f414814c74565c96ca | 41,759 | [
-1
] |
41,780 | conditions.lisp | DrBluefall_warfare/src/conditions.lisp | (defpackage :warfare.conditions
(:use :cl)
(:export :warfare-error))
(in-package :warfare.conditions)
(define-condition warfare-error (error)
((what :initarg :what
:initform "An unspecified error has occurred"
:reader warfare-error-what))
(:documentation "An error signaled from Warfare.")
(:report (lam... | 893 | Common Lisp | .lisp | 22 | 37.090909 | 88 | 0.733026 | DrBluefall/warfare | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 2939e061265512d0e8abd1ec45e999befdacaabb2a0fdb01ee3565a51defe231 | 41,780 | [
-1
] |
41,781 | lib.lisp | DrBluefall_warfare/src/lib.lisp | (defpackage :warfare
(:use :cl :warfare.constants :warfare.gateway :warfare.classes.gateway :warfare.classes.bot)
(:export :begin-event-loop))
(in-package :warfare)
(define-condition connection-broken (serious-condition)
()
(:documentation "A warning signaling a broken websocket connection."))
(defun begin-ev... | 4,549 | Common Lisp | .lisp | 77 | 41.103896 | 128 | 0.540928 | DrBluefall/warfare | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 0cdac1dbc93e5f582e5b2dc773e9ac3d0230066bdab265ac20f971c9aa4caa8f | 41,781 | [
-1
] |
41,782 | constants.lisp | DrBluefall_warfare/src/constants.lisp | (defpackage :warfare.constants
(:documentation "Warfare constants.")
(:use :cl)
(:import-from :alexandria :define-constant)
(:export :+base-url+ :+discord-api-version+))
(in-package :warfare.constants)
(define-constant +base-url+ "https://discord.com/api"
:documentation "The base url for accessing the Discor... | 461 | Common Lisp | .lisp | 11 | 39.363636 | 72 | 0.744966 | DrBluefall/warfare | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | aa5e21549eae9724abb0b74f6b7eaba17326ce9b642e0cf7995c57037a2768bd | 41,782 | [
-1
] |
41,783 | http.lisp | DrBluefall_warfare/src/http/http.lisp | (defpackage :warfare.http
(:documentation "Tools for interacting with the Discord HTTP API.")
(:use :cl)
(:import-from :drakma :http-request)
(:import-from :warfare.constants :+base-url+ :+discord-api-version+)
(:import-from :alexandria :define-constant)
(:import-from :warfare.classes.bot :<bot> :bot-token)... | 2,059 | Common Lisp | .lisp | 47 | 38.702128 | 88 | 0.666667 | DrBluefall/warfare | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | e27d2f096d1a3e83db9459477dda564a5787a93228cb9b267b77b7d874649c28 | 41,783 | [
-1
] |
41,784 | gateway.lisp | DrBluefall_warfare/src/gateway/gateway.lisp | (defpackage :warfare.gateway
(:use :cl :warfare.classes.gateway :warfare.classes.bot)
(:import-from :warfare.http :send-request)
(:export :set-websocket-info
:connect-to-discord)
(:documentation "Interacting with the Discord Websocket."))
(in-package :warfare.gateway)
(defun set-... | 2,966 | Common Lisp | .lisp | 61 | 36.52459 | 80 | 0.571822 | DrBluefall/warfare | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 42f4af9986254fa83fd45fefc41affbe870b435461ea375f82ec1763ab332435 | 41,784 | [
-1
] |
41,785 | user.lisp | DrBluefall_warfare/src/classes/user.lisp | (defpackage :warfare.classes.user
(:use :cl))
(in-package :warfare.classes.user)
(defclass <user> ()
((username :initarg :name
:reader username)
(discriminator :initarg :discriminator
:reader discriminator)
(id :initarg :id
:reader snowflake)
(accent-color :initarg :accent-color
:... | 705 | Common Lisp | .lisp | 24 | 24.666667 | 49 | 0.691176 | DrBluefall/warfare | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 2e1045d22eecaab4135c3191d8e462c73ce342ca07488624d606163b9e74d599 | 41,785 | [
-1
] |
41,786 | gateway.lisp | DrBluefall_warfare/src/classes/gateway.lisp | (defpackage :warfare.classes.gateway
(:use :cl)
(:export
:<gateway-event>
:<event-heartbeat>
:<event-heartbeat-ack>
:<event-identify>
:<event-hello>
:hello-heartbeat-interval
:deserialize-gateway-event
:serialize-gateway-event))
(in-package :warfare.classes.gateway)
(defclass <gateway-event... | 5,558 | Common Lisp | .lisp | 117 | 37.282051 | 172 | 0.601583 | DrBluefall/warfare | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | d27509e094b0455ed4553be489a2f6e77ccbdf039d03fab4a87d225d31b2c8bc | 41,786 | [
-1
] |
41,787 | bot.lisp | DrBluefall_warfare/src/classes/bot.lisp | (defpackage :warfare.classes.bot
(:use :cl)
(:export
:<bot>
:bot-token
:bot-intents
:<bot-websocket-info>
:bot-ws-info
:bot-ws-event-queue
:bot-ws-connection
:bot-ws-url
:bot-ws-close-code))
(in-package :warfare.classes.bot)
(defclass <bot-websocket-info> ()
((conn :accessor bot-ws-con... | 3,761 | Common Lisp | .lisp | 75 | 39.293333 | 108 | 0.571273 | DrBluefall/warfare | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | bbc1cc810c1869fe14681d68e17ce263d983f3569e0b15e70388a8d4c937287d | 41,787 | [
-1
] |
41,788 | warfare.asd | DrBluefall_warfare/warfare.asd | (asdf:defsystem :warfare
:description "A Discord API library for Common Lisp."
:version "0.0.1"
:author "Alexander \"Dr. Bluefall\" Bisono <sbisonol@gmail.com>"
:license "LGPL-3.0-or-later"
:depends-on (:flexi-streams
:drakma
:websocket-driver
:shasht
... | 891 | Common Lisp | .asd | 29 | 20.172414 | 66 | 0.490719 | DrBluefall/warfare | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 728f05cbe672c1ea5d84c516ac1b2d6facce285e76070c2249c7b724c00d1341 | 41,788 | [
-1
] |
41,812 | setup.lisp | b-steger_adventofcode2021/example/setup.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 1,130 | Common Lisp | .lisp | 12 | 92.5 | 251 | 0.769991 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 64cff244d0e12b117403fc1912aa69d65a959acb4a2b1be622490314c1ba0e69 | 41,812 | [
-1
] |
41,813 | 11.lisp | b-steger_adventofcode2021/src/11.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 3,890 | Common Lisp | .lisp | 80 | 40.6875 | 251 | 0.622006 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 89696ee2ad85f87a160bfb87f084745977e8a6e2c580cf6225be45f7ead0505b | 41,813 | [
-1
] |
41,814 | 08.lisp | b-steger_adventofcode2021/src/08.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 13,067 | Common Lisp | .lisp | 309 | 35.644013 | 251 | 0.615063 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 9025ee93cacf0cc27b5c35aa42975ec1be1de42d27edf33431d25407082a0d1b | 41,814 | [
-1
] |
41,815 | 06.lisp | b-steger_adventofcode2021/src/06.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 3,759 | Common Lisp | .lisp | 67 | 51.537313 | 251 | 0.705194 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 3b6bccce5bfe9a4f28ecb39c27286ce8ac59305e8bdefa8c9453303c2b15a4e4 | 41,815 | [
-1
] |
41,816 | 18.lisp | b-steger_adventofcode2021/src/18.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 13,601 | Common Lisp | .lisp | 271 | 42.542435 | 251 | 0.55963 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 72726c812d0e1d4ae4cab15ac9131278b49a10ecf1fd4fd2acab62e578ff02fc | 41,816 | [
-1
] |
41,817 | package.lisp | b-steger_adventofcode2021/src/package.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 1,399 | Common Lisp | .lisp | 21 | 60.428571 | 251 | 0.707939 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 067f8cb5d107ba60fe1e969c19803641bc8c5626a5d37e8f140ab4b66bfa2ae7 | 41,817 | [
-1
] |
41,818 | 12.lisp | b-steger_adventofcode2021/src/12.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 5,706 | Common Lisp | .lisp | 118 | 42.915254 | 251 | 0.663016 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | c1db64bc18c0020729592a7387942d330f4e390474762476865d8b8faf76bee5 | 41,818 | [
-1
] |
41,819 | 23.lisp | b-steger_adventofcode2021/src/23.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 28,825 | Common Lisp | .lisp | 490 | 45.093878 | 251 | 0.548416 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 43c4452296f37e0281c98e417bac0748dda39471895afda613a335e13c14d944 | 41,819 | [
-1
] |
41,820 | 14.lisp | b-steger_adventofcode2021/src/14.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 8,591 | Common Lisp | .lisp | 160 | 46.39375 | 251 | 0.663455 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | ff28ec77d538eaee7d8cf05686fc88560c62d39d82b4a986db43f9bb8e9cbc83 | 41,820 | [
-1
] |
41,821 | report.lisp | b-steger_adventofcode2021/src/report.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 2,932 | Common Lisp | .lisp | 63 | 42.31746 | 251 | 0.672263 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 71e4e170594a0cf2aa9f7298b6e5992f314d5234159b2f2c1b8a2744fc1974fe | 41,821 | [
-1
] |
41,822 | 02.lisp | b-steger_adventofcode2021/src/02.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 3,254 | Common Lisp | .lisp | 70 | 42.571429 | 251 | 0.686058 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | c4cfa2c5203a1aa28f07379ebb85d2cb3e30d1763f1f139cfa09c660d750c7e8 | 41,822 | [
-1
] |
41,823 | 10.lisp | b-steger_adventofcode2021/src/10.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 6,453 | Common Lisp | .lisp | 124 | 45.975806 | 263 | 0.621056 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 4c3c2b728f4ccf89682f67eb888d2387cd3fec4232ea7f6124ae3099bcb42b18 | 41,823 | [
-1
] |
41,824 | 19-detour.lisp | b-steger_adventofcode2021/src/19-detour.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 4,701 | Common Lisp | .lisp | 79 | 49.544304 | 251 | 0.639437 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | fc4cca069e736c0675f63f660f4c21191b5f6b1c3bf2c2451bf8b62b1effda5b | 41,824 | [
-1
] |
41,825 | 19.lisp | b-steger_adventofcode2021/src/19.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 23,151 | Common Lisp | .lisp | 382 | 52.526178 | 343 | 0.585984 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 9be464240fd7a69b157f24f582e43619f82fd3bea90dbd9df61eac3ec91f7181 | 41,825 | [
-1
] |
41,826 | 24.lisp | b-steger_adventofcode2021/src/24.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 29,649 | Common Lisp | .lisp | 581 | 42.73494 | 494 | 0.611687 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | d1c55272a77d1c61763a328f4fcfb2fc058dd478ac9018a0ea3bbe79a9e472e9 | 41,826 | [
-1
] |
41,827 | 22.lisp | b-steger_adventofcode2021/src/22.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 17,371 | Common Lisp | .lisp | 278 | 45.543165 | 449 | 0.548487 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 3c3a51103209c934f34554364396e8a8bba7cabd88106f8a516feb668a4a4360 | 41,827 | [
-1
] |
41,828 | 25.lisp | b-steger_adventofcode2021/src/25.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 6,344 | Common Lisp | .lisp | 118 | 43.855932 | 251 | 0.60609 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | c2126537774e73b78c523e36cc807674ec06c15eb4c794c4af9d9b613a1db6b1 | 41,828 | [
-1
] |
41,829 | 03.lisp | b-steger_adventofcode2021/src/03.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 3,691 | Common Lisp | .lisp | 76 | 42.815789 | 251 | 0.654636 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 34fe3f126188fe77b20ddae77b607887427b94960d7c286c59d4332b5e87d8b8 | 41,829 | [
-1
] |
41,830 | 04.lisp | b-steger_adventofcode2021/src/04.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 7,132 | Common Lisp | .lisp | 170 | 32.270588 | 251 | 0.56548 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 12e54f4cd25cca0fc588c135fc00acb241f972894591a1b873ebdcbbf84c9556 | 41,830 | [
-1
] |
41,831 | 20.lisp | b-steger_adventofcode2021/src/20.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 7,006 | Common Lisp | .lisp | 131 | 40.832061 | 251 | 0.570491 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 210dd48a9ec1ccf29e35ad4bacd89ee89a8395e8adfa217275b846f020a4fd75 | 41,831 | [
-1
] |
41,832 | 05.lisp | b-steger_adventofcode2021/src/05.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 4,531 | Common Lisp | .lisp | 108 | 36.203704 | 251 | 0.628948 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | d41dcbf96ee55e119bda3cfb61a5df63ef99d97936a1ab982f2984041e2f7284 | 41,832 | [
-1
] |
41,833 | 01.lisp | b-steger_adventofcode2021/src/01.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 1,938 | Common Lisp | .lisp | 39 | 46.153846 | 251 | 0.706038 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 6d344739671e979ff91695ccc3e1060c248fd345fc57f0dea38547aa184836a6 | 41,833 | [
-1
] |
41,834 | 21.lisp | b-steger_adventofcode2021/src/21.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 11,750 | Common Lisp | .lisp | 222 | 43.720721 | 507 | 0.657133 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 6e6c6df6b78ded4dbb1fa1fd64beb37ce903275c4fc1206647489b087a0c5273 | 41,834 | [
-1
] |
41,835 | common.lisp | b-steger_adventofcode2021/src/common.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 3,264 | Common Lisp | .lisp | 56 | 53.125 | 251 | 0.705569 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 3023c41bbb483fc51cf9d0c912e52ee044f926bd8bc4775fbc716eba10a676e6 | 41,835 | [
-1
] |
41,836 | 09.lisp | b-steger_adventofcode2021/src/09.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 10,555 | Common Lisp | .lisp | 219 | 41.246575 | 251 | 0.640353 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 3d217e7e642d59f053c6715122116a26fecf061fee2280669a8812cf1618e44c | 41,836 | [
-1
] |
41,837 | 16.lisp | b-steger_adventofcode2021/src/16.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 12,714 | Common Lisp | .lisp | 227 | 45.629956 | 251 | 0.61995 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 040ed0f7b409450c7eedd28b7c8151e5e8ee837563d39cd3445a493951ccb006 | 41,837 | [
-1
] |
41,838 | 07.lisp | b-steger_adventofcode2021/src/07.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 3,274 | Common Lisp | .lisp | 66 | 44.969697 | 251 | 0.683782 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 299374546491115a84d2201dacabd98c4b5f3c2f4035fc3b5ae80506cc9d5a9c | 41,838 | [
-1
] |
41,839 | 15.lisp | b-steger_adventofcode2021/src/15.lisp | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 9,201 | Common Lisp | .lisp | 151 | 49.430464 | 466 | 0.623639 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | c95fdbe2c63913285b215dc1788baa15aedbe42b1cf5b9366ee0a2a4de82feed | 41,839 | [
-1
] |
41,840 | adventofcode2021.asd | b-steger_adventofcode2021/adventofcode2021.asd | ;;;; Advent of code 2021 solutions
;;;; Copyright (C) 2022 Benedikt Steger <b.steger@protonmail.ch>
;;;;
;;;; This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, o... | 2,352 | Common Lisp | .asd | 49 | 29.877551 | 251 | 0.450827 | b-steger/adventofcode2021 | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | a083aff65e571c4da3d1a1c798b5f862ad6981dc1dcdbbb440b609acdb166b0b | 41,840 | [
-1
] |
41,884 | main.lisp | lemondevxyz_cl-scgi/main.lisp | (defpackage :cl-scgi
(:use :cl :cl-user))
(in-package :cl-scgi)
;; (ql:quickload '(:babel :str) :silent t)
(defun list-of-p (τ thing)
"list-of-p is a predicate that checks if a list is of that specific type."
(and (listp thing) (every (lambda (x) (typep x τ)) thing)))
(deftype list-of (type)
"list-of is a typ... | 7,987 | Common Lisp | .lisp | 181 | 39.530387 | 97 | 0.66941 | lemondevxyz/cl-scgi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 9d97e95e21657bfd5741c2f7ddfd005646ec2ca96f8d2cca361060c19f22a536 | 41,884 | [
-1
] |
41,885 | server.lisp | lemondevxyz_cl-scgi/src/server.lisp | (in-package :cl-scgi)
(ql:quickload '(:alexandria) :silent t)
;; `server.lisp' is basically a file that's shared between
;; `unix.lisp' and `tcp.lisp'.
(deftype request-callback-type ()
`(function ((vector (unsigned-byte 8))
integer
stream)))
(defun write-bytes (seq stream)
"write-by... | 5,465 | Common Lisp | .lisp | 121 | 38.289256 | 98 | 0.662791 | lemondevxyz/cl-scgi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 72c0c634313b75b057c815cab8ef9a81cf3b261237ab9262d445c65ca3dd5539 | 41,885 | [
-1
] |
41,886 | main.lisp | lemondevxyz_cl-scgi/src/main.lisp | (defpackage :cl-scgi
(:use :cl :cl-user))
(in-package :cl-scgi)
(ql:quickload '(:fast-io :flexi-streams :babel :str :alexandria) :silent t)
(defun list-of-p (τ thing)
"list-of-p is a predicate that checks if a list is of that specific type."
(and (listp thing) (every (lambda (x) (typep x τ)) thing)))
(deftype l... | 9,116 | Common Lisp | .lisp | 191 | 43 | 97 | 0.689748 | lemondevxyz/cl-scgi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 19898bc661ea470c3570a91e97df154038af18a6aeaa0711da2d3a533cc9dcc4 | 41,886 | [
-1
] |
41,887 | unix.lisp | lemondevxyz_cl-scgi/src/unix.lisp | (ql:quickload '(:bordeaux-threads :unix-sockets) :silent t)
(in-package :cl-scgi)
;; requires server.lisp to work
(defun unix-server (path fn &key ((:multi-threaded mt) t)
((:backlog bl) 128))
"unix-server is a function that creates a unix socket, accepts connections,
parses the reques... | 1,262 | Common Lisp | .lisp | 28 | 35.035714 | 77 | 0.593344 | lemondevxyz/cl-scgi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 86d0f8085a9ecbd13ab820138f7e21ff4469991f6e45e3d0d5d72670edb5f4d0 | 41,887 | [
-1
] |
41,888 | tcp.lisp | lemondevxyz_cl-scgi/src/tcp.lisp | (in-package :cl-scgi)
(ql:quickload '(:usocket :bordeaux-threads) :silent t)
;; requires server.lisp to work
(defun tcp-server (host port fn &key
((:reuse-address ra) t)
((:multi-threaded mt) t)
((:backlog bl) 128))
... | 1,479 | Common Lisp | .lisp | 31 | 36.258065 | 119 | 0.57953 | lemondevxyz/cl-scgi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | b0fc15388805984b1cc9e8b7c27646cc64db11465c465de1b140c60683b8d384 | 41,888 | [
-1
] |
41,889 | main.lisp | lemondevxyz_cl-scgi/t/main.lisp | (ql:quickload '(:fiveam flexi-streams :fast-io) :silent t)
(in-package :fiveam)
(defun list-to-header-string (lst)
(declare (list lst))
(let ((str ""))
(declare (string str))
(loop for x from 0 below (length lst) by 2 do
(setf str
(format nil "~a~a~a~a~a"
str
... | 5,207 | Common Lisp | .lisp | 127 | 35.07874 | 122 | 0.645932 | lemondevxyz/cl-scgi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 2a8bc6acb4d5e81d008c846dee7a59b319ea8dda8533663b5d1c358aaa9aed1a | 41,889 | [
-1
] |
41,890 | cl-scgi.asd | lemondevxyz_cl-scgi/cl-scgi.asd | (defsystem "cl-scgi"
:depends-on (#:babel #:alexandria #:flexi-streams #:bordeaux-threads #:usocket #:unix-sockets #:str)
:components ((:module "src"
:components ((:file "main")
(:file "server")
(:file "unix" :depends-on ("server")))))
:in-... | 582 | Common Lisp | .asd | 11 | 44 | 102 | 0.570175 | lemondevxyz/cl-scgi | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:50 AM (Europe/Amsterdam) | 949dceffd9e89e86b9e12f47c4e070ec5dd7600e200a33e0785eac4f225e36aa | 41,890 | [
-1
] |
41,913 | package.lisp | staudtlex_calcal-lisp/package.lisp | ;;;; -*- mode: Lisp; indent-tabs-mode: nil; -*-
;;;; Copyright (C) 2022 Alexander Staudt
;;;;
;;;; 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
;;;; ... | 896 | Common Lisp | .lisp | 20 | 43.4 | 75 | 0.714612 | staudtlex/calcal-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:58 AM (Europe/Amsterdam) | b54c2397c353608df2de00ca5705c3b2b234b3cbaf86afd7dbd4cfd11da306ad | 41,913 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.