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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
40,917 | region.lisp | foggynight_gravedigger/src/region.lisp | (in-package #:gravedigger)
(defstruct region
"Region structure representing a region of a dungeon, used to divide a dungeon
into regions and sub-regions.
Top-left and bottom-right refer to the corresponding corner tiles of the region,
and are represented by a cons containing a y-x pair of coordinates."
(top-left ... | 6,478 | Common Lisp | .lisp | 123 | 44.691057 | 80 | 0.630606 | foggynight/gravedigger | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:48:48 AM (Europe/Amsterdam) | 8299470b5d9f904ceda53b8d74a8f8c5e5a2bc1407d94cd3e841be819f707b18 | 40,917 | [
-1
] |
40,918 | dungeon.lisp | foggynight_gravedigger/src/dungeon.lisp | (in-package #:gravedigger)
(defparameter *default-dungeon-height* 22
"Default height of a dungeon in number of tiles.")
(defparameter *default-dungeon-width* 80
"Default width of a dungeon in number of tiles.")
(defstruct dungeon
"Dungeon structure representing a dungeon in the world."
(tiles #2A() :type simp... | 2,557 | Common Lisp | .lisp | 56 | 38.821429 | 78 | 0.663323 | foggynight/gravedigger | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:48:48 AM (Europe/Amsterdam) | c46aa1e0bbb4495324b1950c1aef536339fb2cf4ecafa7e423f6a4a2d82ec745 | 40,918 | [
-1
] |
40,919 | main.lisp | foggynight_gravedigger/src/main.lisp | (in-package #:gravedigger)
(setq *random-state* (make-random-state t))
(defun main ()
(print-dungeon (generate-dungeon :bsp-rooms)))
| 137 | Common Lisp | .lisp | 4 | 32.25 | 48 | 0.725191 | foggynight/gravedigger | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:48:48 AM (Europe/Amsterdam) | 7df7603eae92e8582f645b04abe6e1fd699622db08bbd51eef922e2e0696e80b | 40,919 | [
-1
] |
40,920 | tile.lisp | foggynight_gravedigger/src/tile.lisp | (in-package #:gravedigger)
(defparameter *default-tile-symbol* #\space)
(defparameter *tile-type-symbol-alist*
'((floor . #\.)
(cwall . #\+)
(hwall . #\-)
(vwall . #\|)
(stairs . #\%)
(void . #\space))
"Alist of tile symbol and type pairs.")
(defstruct tile
"Tile structure representin... | 997 | Common Lisp | .lisp | 25 | 35.28 | 79 | 0.664596 | foggynight/gravedigger | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:48:48 AM (Europe/Amsterdam) | d9bfb217ce8785949673cb1c5fe0f98715047bb83d026ca555fcb9d8fc50e679 | 40,920 | [
-1
] |
40,921 | bsp-rooms.lisp | foggynight_gravedigger/src/bsp-rooms.lisp | ;;;; Dungeon Generation using BSP Rooms
;;
;; Functions used to generate dungeons containing rooms connected by corridors
;; using the BSP (Binary Space Partitioning) Rooms algorithm.
;;
;; Reference: http://www.roguebasin.com/index.php?title=Basic_BSP_Dungeon_generation
(in-package #:gravedigger)
(defparameter *defa... | 9,520 | Common Lisp | .lisp | 185 | 40.92973 | 84 | 0.62747 | foggynight/gravedigger | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:48:48 AM (Europe/Amsterdam) | 5639f5fbbaa96a4a45a33529b8b54079f57e2bf4f189c24117819756101bdc66 | 40,921 | [
-1
] |
40,922 | gravedigger.asd | foggynight_gravedigger/gravedigger.asd | (asdf:defsystem #:gravedigger
:description "Procedural dungeon generator for rogue-likes and other
tile-based games."
:author "Robert Coffey"
:license "GPLv2"
:version "0.1.0"
:pathname "src/"
:serial t
:components ((:file "package")
(:file "tile")
(:file "region")
... | 415 | Common Lisp | .asd | 14 | 21.928571 | 70 | 0.565657 | foggynight/gravedigger | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:48:48 AM (Europe/Amsterdam) | 08d98d4d36767a24dbba973f4aa64a2b054ca06444964360f9f32661e2fdd522 | 40,922 | [
-1
] |
40,943 | binary-tree.lisp | foggynight_sylva/src/binary-tree.lisp | (in-package #:sylva)
(defstruct (binary-tree (:include general-tree))
"BINARY-TREE struct representing a binary tree. That is, a tree with no
constraints on the order of its nodes, but where each of its nodes have at most
two children.")
(defmethod %sexp->tree (sexp (tree-type (eql :binary-tree)))
(%%sexp->tree s... | 2,114 | Common Lisp | .lisp | 45 | 40.355556 | 80 | 0.667476 | foggynight/sylva | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:48:56 AM (Europe/Amsterdam) | a157dd8e047eee360a69de5547fbb99360599d59760b1168d605a4a11de5aef1 | 40,943 | [
-1
] |
40,944 | package.lisp | foggynight_sylva/src/package.lisp | (defpackage #:sylva
(:documentation "Library for various types of trees with a unified interface
in Common Lisp.")
(:use #:cl)
(:nicknames #:syl)
(:export
;; general-tree.lisp
#:sexp->tree
#:tree->sexp
#:equal?
#:leaf?
#:size
#:empty?
#:depth
#:height
#:traverse
;; binary-tree... | 367 | Common Lisp | .lisp | 21 | 13.809524 | 78 | 0.612245 | foggynight/sylva | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:48:56 AM (Europe/Amsterdam) | 62d8221f938e50c01548cb92df627fe66772d246ca46ae22bf2ee21c7225b2cd | 40,944 | [
-1
] |
40,945 | general-tree.lisp | foggynight_sylva/src/general-tree.lisp | (in-package #:sylva)
(defstruct general-tree
"GENERAL-TREE struct representing a tree with no constraints on the order of
its nodes, nor the number of children its nodes have."
data
(children nil :type list))
(defun %%sexp->tree (sexp constructor)
(if (atom sexp)
sexp
(funcall constructor
... | 6,017 | Common Lisp | .lisp | 138 | 35.449275 | 80 | 0.627585 | foggynight/sylva | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:48:56 AM (Europe/Amsterdam) | 8494895e2d01aa6990cf0e77e7418cf02a4f8554bdb4ac87e307d2d2eab55130 | 40,945 | [
-1
] |
40,946 | sylva.asd | foggynight_sylva/sylva.asd | (asdf:defsystem #:sylva
:description "Library for various types of trees with a unified interface in
Common Lisp."
:author "Robert Coffey"
:license "GPLv2"
:version "0.1.0"
:serial t
:pathname "src/"
:components ((:file "package")
(:file "general-tree")
(:file "binary-tree... | 325 | Common Lisp | .asd | 11 | 24.272727 | 78 | 0.639871 | foggynight/sylva | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:48:56 AM (Europe/Amsterdam) | 09ac9a062544a22966132f85a584042cb6d373b6ee519f88416927d91b722d89 | 40,946 | [
-1
] |
40,966 | polynomials.asd | Wafelack_polynomials/polynomials.asd | (defsystem "polynomials"
:description "Common Lisp library to resolve quadratic polynomials."
:version "0.1.0"
:author "Wafelack <wafelack@riseup.net>"
:licence "LGPL-3.0-or-later"
:components ((:file "polynomials")))
| 228 | Common Lisp | .asd | 6 | 35.333333 | 70 | 0.734234 | Wafelack/polynomials | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:04 AM (Europe/Amsterdam) | f71208ad0f1bf695abc8ee6714e7ce8fad70c3a57c33830612887240f5512c24 | 40,966 | [
-1
] |
40,983 | murakami-nasako.lisp | goose121_murakami-nasako/murakami-nasako.lisp | (in-package #:murakami-nasako)
(defvar *random*)
(defmacro with-secure-random ((&optional (path #P"/dev/urandom")) &body body)
(with-gensyms (random)
`(let* ((,random (open ,path :element-type '(unsigned-byte 8) :if-does-not-exist :error))
(*random* ,random))
(unwind-protect
(prog... | 10,700 | Common Lisp | .lisp | 269 | 27.903346 | 114 | 0.45907 | goose121/murakami-nasako | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:04 AM (Europe/Amsterdam) | d87b8f4bd1ae60b7b95c0c2508a490b4347d8473c160779cbbbd5d8d6dcf4df0 | 40,983 | [
-1
] |
40,984 | murakami-nasako.asd | goose121_murakami-nasako/murakami-nasako.asd | ;;;; murakami-nasako.asd
(asdf:defsystem #:murakami-nasako
:description "Implementation of Murakami and Nasako's knapsack cryptosystem"
:author "goose121 <goose121@github-users-noreply@github.com>"
:license "AGPLv3"
:version "0.0.1"
:serial t
:depends-on ("alexandria")
:components ((:file "package")
... | 360 | Common Lisp | .asd | 10 | 32 | 78 | 0.704871 | goose121/murakami-nasako | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:04 AM (Europe/Amsterdam) | be14e167fb512ad08b7be22f3532e2736c181a458f5cfa9bf1d6455d5cc65d3e | 40,984 | [
-1
] |
41,016 | caraOuCoroa.lisp | teixeirazeus_Jogos-em-Lisp/caraOuCoroa.lisp | ; Thiago S. Teixeira <teixeira.zeus@gmail.com>
(defun printNreturn (value)
(format t value)
value)
(defun get-number ()
(let ((number (random 2 (make-random-state t))))
(if (= number 0)
(printNreturn "Cara!")
(printNreturn "Coroa!"))))
(defun prompt ()
(format t "Digite cara o... | 606 | Common Lisp | .lisp | 21 | 23.380952 | 52 | 0.583765 | teixeirazeus/Jogos-em-Lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 0b445586e3780f808ad4a24195a93255f50d6f6289a36b73bec07c9cbf1a49cf | 41,016 | [
-1
] |
41,017 | pedraPapel.lisp | teixeirazeus_Jogos-em-Lisp/pedraPapel.lisp | ; Thiago S. Teixeira <teixeira.zeus@gmail.com>
; rock, paper and scissors
(defun gen_choice ()
(let ((number (random 3 (make-random-state t))))
(cond ((= number 0) "pedra")
((= number 1) "papel")
((= number 2) "tesoura"))))
(defun input(string)
(format t string)
(string-downcase (r... | 1,144 | Common Lisp | .lisp | 27 | 36.185185 | 95 | 0.59586 | teixeirazeus/Jogos-em-Lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | f3171cf9035d66d19b7d8973aa500250b313d09515a73c5a6d0c2d8c98b53853 | 41,017 | [
-1
] |
41,035 | cliki-convert.lisp | ashok-khanna_cliki/cliki-convert/cliki-convert.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011, 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero General Public
;;; License as pub... | 6,343 | Common Lisp | .lisp | 126 | 37.785714 | 107 | 0.566312 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 48c7234cf2a0294ded671865be8411b3c4b2441465b6f7a42f6dd8cc6d967004 | 41,035 | [
-1
] |
41,036 | markup.lisp | ashok-khanna_cliki/src/markup.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011, 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; Copyright 2012 Goheeca
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero Genera... | 7,925 | Common Lisp | .lisp | 168 | 35.642857 | 86 | 0.503942 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | e3c2c143b396bef7818365ba16895fb95361a8c1533a74f626c94758a107bee1 | 41,036 | [
-1
] |
41,037 | package.lisp | ashok-khanna_cliki/src/package.lisp | (in-package #:cl)
(defpackage #:cliki2
(:use #:cl #:named-readtables #:anaphora #:uri-template #:hunchentoot
#:bordeaux-threads)
(:shadow #:session)
(:export #:start-cliki-server))
| 196 | Common Lisp | .lisp | 6 | 29.166667 | 71 | 0.671958 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 40b0836a3e28ecc4e9197f8883e58e96f03caf90cf0f713284fa535751ed8300 | 41,037 | [
-1
] |
41,038 | html-rendering.lisp | ashok-khanna_cliki/src/html-rendering.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011, 2012, 2019 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero General Public
;;; License ... | 3,819 | Common Lisp | .lisp | 87 | 37.321839 | 121 | 0.594304 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 9e9d9c9f8930d049ccabf83b60233c4db242db9ede472e413a7a5fd78d0ee8f5 | 41,038 | [
-1
] |
41,039 | acceptor.lisp | ashok-khanna_cliki/src/acceptor.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2012, 2019 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero General Public
;;; License as pub... | 1,758 | Common Lisp | .lisp | 32 | 50.3125 | 97 | 0.69092 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | b0e82ff1293810f9911408b340d9bf5ce026a47d472952a2006f3f6d068fe7ec | 41,039 | [
-1
] |
41,040 | article.lisp | ashok-khanna_cliki/src/article.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011, 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero General Public
;;; License as pub... | 6,873 | Common Lisp | .lisp | 146 | 38.910959 | 134 | 0.602271 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 1a13256d3d207474e7a9d9645ccd70bb9aed7a8bdfe951a4d643f24b9fdc07bb | 41,040 | [
-1
] |
41,041 | tools.lisp | ashok-khanna_cliki/src/tools.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011, 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero General Public
;;; License as pub... | 2,237 | Common Lisp | .lisp | 51 | 39.54902 | 72 | 0.672644 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 31d759f381a00238b118c10e0901ec07e287f34fc4f0eae2e392f56217e2cccf | 41,041 | [
-1
] |
41,042 | authentication.lisp | ashok-khanna_cliki/src/authentication.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011, 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero General Public
;;; License as pub... | 3,484 | Common Lisp | .lisp | 72 | 42.125 | 83 | 0.639282 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 3615ce47f2784fa929d72e8d1082d4a833888b37686e5b8f7e08a88c7d1ca89b | 41,042 | [
-1
] |
41,043 | accounts.lisp | ashok-khanna_cliki/src/accounts.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011, 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; Copyright 2015 Goheeca
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero Genera... | 11,563 | Common Lisp | .lisp | 249 | 38.819277 | 110 | 0.589514 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 86c64944e77b2c8c85202778caf13581c961fa9fcf74309e9c54838d28c3d991 | 41,043 | [
-1
] |
41,044 | http-resource.lisp | ashok-khanna_cliki/src/http-resource.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011, 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero General Public
;;; License as pub... | 1,617 | Common Lisp | .lisp | 29 | 50.586207 | 140 | 0.688608 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 50ea1a1935d6640ce1ad6fbb1bac19b9d1cb5e861c994d3d34a2e352f8b21431 | 41,044 | [
-1
] |
41,045 | history.lisp | ashok-khanna_cliki/src/history.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011, 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero General Public
;;; License as pub... | 4,197 | Common Lisp | .lisp | 77 | 48.545455 | 170 | 0.656836 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | cc65778c2edd80892e30fe2351a458d0019b4f1b62b0dcf2835f424640f6e67e | 41,045 | [
-1
] |
41,046 | recent-changes.lisp | ashok-khanna_cliki/src/recent-changes.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011, 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero General Public
;;; License as pub... | 3,852 | Common Lisp | .lisp | 75 | 47.466667 | 137 | 0.687051 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | f12dc9b7aaad9b7d56e927a1eb160ed83d85afcf82bd55fceeec55db9b8f1008 | 41,046 | [
-1
] |
41,047 | readtable.lisp | ashok-khanna_cliki/src/readtable.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; 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... | 1,907 | Common Lisp | .lisp | 42 | 39.738095 | 76 | 0.655897 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 767f000b3815d1b6b9958a5c8a55235582b3026c94cca75330e4a2e1edea9a96 | 41,047 | [
-1
] |
41,048 | backlinks.lisp | ashok-khanna_cliki/src/backlinks.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; 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... | 1,763 | Common Lisp | .lisp | 34 | 48.647059 | 78 | 0.71412 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 105bca469835186221b9abbccd081bba78391b240645b78aecfa680a43a11e2e | 41,048 | [
-1
] |
41,049 | dispatcher.lisp | ashok-khanna_cliki/src/dispatcher.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011, 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero General Public
;;; License as pub... | 3,257 | Common Lisp | .lisp | 70 | 39 | 116 | 0.628859 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 30663eabb8d2214f7c9070f6c2a652fa0353689fa948a635fc42ae99d412770c | 41,049 | [
-1
] |
41,050 | wiki.lisp | ashok-khanna_cliki/src/wiki.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; Copyright 2012 Jianshi Huang <jianshi.huang@gmail.com>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the term... | 15,065 | Common Lisp | .lisp | 324 | 36.762346 | 124 | 0.580944 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 80535afc4f40be78601963511e45bdb2cad1b305d4aa9e32d33dc3bc56f1522f | 41,050 | [
-1
] |
41,051 | indexes.lisp | ashok-khanna_cliki/src/indexes.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; Copyright 2012 Jianshi Huang <jianshi.huang@gmail.com>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the term... | 3,801 | Common Lisp | .lisp | 78 | 41.358974 | 100 | 0.601187 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 9290b98938cf1ff07c5b74d230aa2a712d5da085a4dde9aa823789fc0399bc58 | 41,051 | [
-1
] |
41,052 | start.lisp | ashok-khanna_cliki/src/start.lisp | ;;; Copyright 2011 Andrey Moskvitin <archimag@gmail.com>
;;; Copyright 2011, 2012 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; This program is free software: you can redistribute it and/or
;;; modify it under the terms of the GNU Affero General Public
;;; License as pub... | 3,148 | Common Lisp | .lisp | 62 | 39.677419 | 80 | 0.601951 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 80d964b1be04ebf5bf315107affd83f55546748f9215b1364ef6b99b6be6377b | 41,052 | [
-1
] |
41,053 | tests.lisp | ashok-khanna_cliki/tests/tests.lisp | ;;; Copyright 2019 Vladimir Sedach <vsedach@common-lisp.net>
;;; SPDX-License-Identifier: AGPL-3.0-or-later
;;; 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... | 3,671 | Common Lisp | .lisp | 109 | 30.87156 | 137 | 0.644539 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 427164961a3a4315672ff3f5dfd38f81b4a8b023aca5a05ffa0d3bcab35d8bd9 | 41,053 | [
-1
] |
41,054 | cliki2.tests.asd | ashok-khanna_cliki/cliki2.tests.asd | ;;; -*- lisp -*-
(defsystem :cliki2.tests
:license "AGPL-3.0-or-later"
:description "Test for CLiki2"
:components ((:module :tests
:serial t
:components ((:file "package")
(:file "tests"))))
:depends-on (:cliki2 :fiveam))
| 316 | Common Lisp | .asd | 9 | 23.666667 | 55 | 0.480392 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 75cf37c398feb5cccbd5e8dc2f06f765c40b92e5c0238cb7b8ce7732db32ad91 | 41,054 | [
-1
] |
41,055 | cliki2.asd | ashok-khanna_cliki/cliki2.asd | (asdf:defsystem :cliki2
:description "The Common Lisp wiki"
:author "Andrey Moskvitin <archimag@gmail.com>, Vladimir Sedach <vsedach@common-lisp.net>"
:maintainer "Vladimir Sedach <vsedach@common-lisp.net>"
:license "AGPL-3.0-or-later"
:version "2.0"
:depends-on (#:alexandria
#:hunchentoot
... | 1,390 | Common Lisp | .asd | 45 | 18.488889 | 92 | 0.447584 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 0f958f78815826c49009c751ffe1ded191cc46f5f472eedd3da86c712ddf966f | 41,055 | [
-1
] |
41,056 | cliki-convert.asd | ashok-khanna_cliki/cliki-convert.asd | (asdf:defsystem :cliki-convert
:components
((:module "cliki-convert"
:components ((:file "package")
(:file "cliki-convert" :depends-on ("package")))))
:depends-on (#:cliki2 #:iterate #:cl-fad #:external-program #:local-time))
| 269 | Common Lisp | .asd | 6 | 36.666667 | 76 | 0.596958 | ashok-khanna/cliki | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:12 AM (Europe/Amsterdam) | 5012afcd4ea6a5b2a85e9e9c74ea369b9ce5084eb679fa021de9155ff80b81f1 | 41,056 | [
-1
] |
41,095 | package.lisp | Izaakwltn_simple-blog/package.lisp | ;;;;package.lisp
(defpackage #:simple-blog
(:documentation "A simple blog template for lisp")
(:use #:cl #:spinneret #:hunchentoot))
| 139 | Common Lisp | .lisp | 4 | 32.25 | 52 | 0.708955 | Izaakwltn/simple-blog | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | be56d06440695570d78c763355bf5adf0d3c436601dabd23de6c3f758490ee88 | 41,095 | [
-1
] |
41,096 | blog-page-template.lisp | Izaakwltn_simple-blog/blog-page-template.lisp | ;;;;blog-page.lisp
(in-package :simple-blog)
(defmacro with-blog-page ((&key title) &body body)
`(spinneret::with-html-string
(:doctype)
(:html
(:head
(:meta :charset "utf-8")
(:meta :name "viewport" :content "width=device-width, initial-scale=1")
(:link :rel "stylesheet"
:href "https... | 479 | Common Lisp | .lisp | 16 | 24.3125 | 72 | 0.596452 | Izaakwltn/simple-blog | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 1af5a2e9efba0389ce98643cac0bd5db3528a1543d868f12e6d895aa8fad2419 | 41,096 | [
-1
] |
41,097 | site-builder.lisp | Izaakwltn_simple-blog/site-builder.lisp | ;;;;site-builder.lisp
(in-package :simple-blog)
(defvar *blog-server* (make-instance 'hunchentoot:easy-acceptor :port 4242
:document-root #p"/simple-blog/www/"))
;;;http://127.0.0.1:4242/blog.html
| 206 | Common Lisp | .lisp | 5 | 38.4 | 74 | 0.726804 | Izaakwltn/simple-blog | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 9fb12616879155b472865183c096ae0d559b2b766f6ad5c617f1c854bc7ae5e0 | 41,097 | [
-1
] |
41,098 | blog-entry.lisp | Izaakwltn_simple-blog/blog-entry.lisp | ;;;;blog-entry.lisp
(in-package :simple-blog)
;;;blog-entry class
(defparameter *blog-list* nil)
(defclass blog-entry ()
((title :initarg :title
:accessor title)
(url-extension :initarg :url-ext
:accessor url-ext)
(description :initarg :description
:accessor description)
(art... | 1,279 | Common Lisp | .lisp | 31 | 35.709677 | 103 | 0.694489 | Izaakwltn/simple-blog | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 1a9be1755f962abc56496c2e828e51cd023bf7229c4d8b0cf01d0b310da29bab | 41,098 | [
-1
] |
41,099 | blog-post2.lisp | Izaakwltn_simple-blog/www/blog-post2.lisp | ;;;;blog-post1.lisp
(in-package :simple-blog)
(defun blog-post2 ()
(with-blog-page (:title "Sample blog #2")
(:header
(:h1 "Sample Blog # 2"))
(:p "fringilla urna porttitor rhoncus dolor purus non enim praesent elementum facilisis leo vel fringilla est ullamcorper eget nulla facilisi etiam dignissim di... | 609 | Common Lisp | .lisp | 11 | 51.909091 | 357 | 0.751261 | Izaakwltn/simple-blog | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 675e24be48753953eb0f7ad2504e6bdb35c5a4188c799353c697ffe0e5bc374c | 41,099 | [
-1
] |
41,100 | blog-post3.lisp | Izaakwltn_simple-blog/www/blog-post3.lisp | ;;;;blog-post3.lisp
(in-package :simple-blog)
(defun blog-post3 ()
(with-blog-page (:title "Sample blog #3")
(:header
(:h1 "Sample Blog # 3"))
(:p "fringilla urna porttitor rhoncus dolor purus non enim praesent elementum facilisis leo vel fringilla est ullamcorper eget nulla facilisi etiam dignissim di... | 613 | Common Lisp | .lisp | 11 | 52.272727 | 357 | 0.749583 | Izaakwltn/simple-blog | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 82776d3e8662a814fdf7ac552ff3aa6f016bbf7c53be5979b9459ff32f46fe78 | 41,100 | [
-1
] |
41,101 | blog-home-page.lisp | Izaakwltn_simple-blog/www/blog-home-page.lisp | ;;;;blog-home-page.lisp
(in-package :simple-blog)
(defun blog-home-page ()
(with-blog-page (:title "Blog")
(:header
(:h1 "Blog"))
(:section
(:ul (loop for b in *blog-list*
do (:li (:a :href (url-ext b) (:button (format nil "~a" (title b))))
(:i (description b))))))))
(push (hunchentoot... | 416 | Common Lisp | .lisp | 12 | 30.083333 | 74 | 0.611529 | Izaakwltn/simple-blog | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | bb78fa02ee7c0c2e49b9e54bdfaab6ba65bf97b0ea7749b2994a4aaccf5c6f61 | 41,101 | [
-1
] |
41,102 | admin.lisp | Izaakwltn_simple-blog/www/admin.lisp | ;;;;admin.lisp
(in-package :simple-blog)
(defvar admin-username "aardvark")
(defvar admin-password "123456789")
(defvar session-code) ;;;;maybe (session) function that generates the section suffix
;;;;shit maybe this isn't necessary, instead just use the logout page to push a blank/logged out
(defun admin-login ()... | 4,009 | Common Lisp | .lisp | 103 | 34.349515 | 176 | 0.590687 | Izaakwltn/simple-blog | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 029aba657ab7c735c61f70863fac8cdc095682ad5879c8ad42ae98159feee321 | 41,102 | [
-1
] |
41,103 | blog-post1.lisp | Izaakwltn_simple-blog/www/blog-post1.lisp | ;;;;blog-post1.lisp
(in-package :simple-blog)
(defun blog-post1 ()
(with-blog-page (:title "Sample blog #1")
(:header
(:h1 "Sample Blog # 1"))
(:p "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. In eu mi bibendum neque egestas... | 1,276 | Common Lisp | .lisp | 11 | 112.545455 | 984 | 0.790016 | Izaakwltn/simple-blog | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | d74c4da26128e53ecc6883e4fa23eb34748bbed882640415547cc679a562008f | 41,103 | [
-1
] |
41,104 | simple-blog.asd | Izaakwltn_simple-blog/simple-blog.asd | ;;;;simple-blog.asd
(asdf:defsystem #:simple-blog
:version "0.0.1"
:author "Izaak Walton <izaakw@protonmail.com>"
:license "GNU General Purpose License"
:description "A simple blog layout written in Lisp"
:depends-on (#:hunchentoot #:spinneret)
:serial t
:components ((:file "package")
(:file "sit... | 564 | Common Lisp | .asd | 18 | 26.166667 | 53 | 0.623853 | Izaakwltn/simple-blog | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 3313359affb6657890688c0a96dd1881653a71cf924ac423c5db609470e35446 | 41,104 | [
-1
] |
41,130 | renoise.lisp | brandflake11_cl-renoise/renoise.lisp | ;; Cl-renoise
;; Copyright (C) 2021 Brandon Hale
;; 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 ... | 5,887 | Common Lisp | .lisp | 166 | 29.506024 | 111 | 0.615627 | brandflake11/cl-renoise | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 61f0b96ad8097c9d64ff8294323e67652689b8aed6e269a0ab0e6da21f2f58eb | 41,130 | [
-1
] |
41,131 | renoise.asd | brandflake11_cl-renoise/renoise.asd | (asdf:defsystem :renoise
:description "Control renoise in Common Lisp with Open Sound Control."
:version "1.0"
:author "Brandon Hale <bthaleproductions@gmail.com>"
:license "GNU General Public License v3"
:depends-on ("cm-incudine"
#:incudine
#:cm)
:components ((:file "renoise")))
| 310 | Common Lisp | .asd | 9 | 30.333333 | 72 | 0.697674 | brandflake11/cl-renoise | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 0e60232eeb963b9c64ee314d7d264a7f18f085fbf17cbfb79c0bcf7674a2714a | 41,131 | [
-1
] |
41,148 | startup-database.lisp | CCL-GR_grade-database/startup-database.lisp | (defun abspath
(path-string &optional (dir-name (uiop:getcwd)))
(uiop:unix-namestring
(uiop:ensure-absolute-pathname
(uiop:merge-pathnames*
(uiop:parse-unix-namestring path-string))
dir-name)))
(load (abspath "/home/carson/code/lisp/grade-database/string-libs.lisp"))
(ql:quickload :cl-csv... | 555 | Common Lisp | .lisp | 12 | 42.666667 | 80 | 0.736162 | CCL-GR/grade-database | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | fbf4764762f5b5cb94591fdbd00173c0f757368533ae4884b89596e38653419f | 41,148 | [
-1
] |
41,149 | student-notes.lisp | CCL-GR_grade-database/student-notes.lisp | (defclass student-note ()
((student-name
:initarg :name
:accessor name)
(student-grade
:initarg :grade
:accessor cnum)
(notes
:initarg :notes
:accessor notes)))
| 193 | Common Lisp | .lisp | 10 | 15.1 | 25 | 0.650273 | CCL-GR/grade-database | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 078e637a5528490aa1e14468895d396f03fac27f6b7e00b50aa1e06327eb77f8 | 41,149 | [
-1
] |
41,150 | student.lisp | CCL-GR_grade-database/student.lisp | (defclass student ()
((name
:initarg :name
:accessor name)
(grade-level
:initarg :grade-level
:accessor grade-level)
(score
:initarg :score
:accessor score)
(grades
:initarg :grades
:accessor grades)
(comments
:initarg :comments
:accessor comments)))
(defvar *student-r... | 3,817 | Common Lisp | .lisp | 82 | 35.426829 | 168 | 0.583244 | CCL-GR/grade-database | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | ea02c10a57aed56849b79798ae8390f7dc748cc78de0b7501b5048c7a0d40229 | 41,150 | [
-1
] |
41,151 | grade.lisp | CCL-GR_grade-database/grade.lisp | (defclass grade ()
((score
:initarg :score
:accessor score)
(max-score
:initarg :max-score
:accessor max-score)
(assignment-name
:initform :assignment-name
:accessor assignment-name)
(grade-category
:initform nil
:accessor grade-category)))
(defmethod pass-p (grade &optional... | 3,930 | Common Lisp | .lisp | 76 | 44.315789 | 161 | 0.684279 | CCL-GR/grade-database | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 9b484d365d38df197271c1538f31a27180c85defd10bd49ba3780ac18771eab4 | 41,151 | [
-1
] |
41,152 | gradebook.lisp | CCL-GR_grade-database/gradebook.lisp | (defclass gradebook ()
((students
:initarg :students
:accessor students)
(grade-level
:initarg :grade-level
:accessor grade-level)))
(defvar *c1* (make-instance 'concept :concept-number 1 :concept-name "me1"))
(defvar *c2* (make-instance 'concept :concept-number 2 :concept-name "me2"))
(defvar *c... | 2,026 | Common Lisp | .lisp | 31 | 59.580645 | 135 | 0.670523 | CCL-GR/grade-database | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 5eea971b3ae26b7ea706a5f8adecd8e035847259a1af37dce18b2e734f72ff82 | 41,152 | [
-1
] |
41,154 | fall_2021.db | CCL-GR_grade-database/fall_2021.db |
((:NAME "Tiffany" :CLASS 1 :SCORE 0 :GRADE 7 :ATTENDANCE (1 1) :PINYIN "Zhao Zhiwei") (:NAME "Ham" :CLASS 1 :SCORE 0 :GRADE 7 :ATTENDANCE (1 1) :PINYIN "Zhao Zihan") (:NAME "Emily" :CLASS 1 :SCORE 0 :GRADE 7 :ATTENDANCE (1 1) :PINYIN "Zhao Lanxin") (:NAME "Kai" :CLASS 1 :SCORE 0 :GRADE 7 :ATTENDANCE (1 1) :PINYIN "You... | 658 | Common Lisp | .l | 1 | 656 | 657 | 0.656012 | CCL-GR/grade-database | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | ca0ddd737dfb7f7561d15fa670ad9dfc7e7d0901dcdee5703b99711b4b6579e4 | 41,154 | [
-1
] |
41,158 | fall_2021.csv | CCL-GR_grade-database/fall_2021.csv | Name,Eng Name,2021-12-2,2021-6-2,2021-6-1,2021-5-27,2021-5-26,2021-5-25
7,Tiffany,1,1
7,Ham,1,1
7,Emily,1,1
7,Kai,1,1
7,Rachel,1,1
7,Isaac,1,1
7,Ivan,1,1
7,Peter,1,1
| 166 | Common Lisp | .l | 9 | 17.444444 | 71 | 0.719745 | CCL-GR/grade-database | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:20 AM (Europe/Amsterdam) | 83cfac9d5bbeba9829d924ce054a847c7719b74a0e481280a258d2fbf37ec7e4 | 41,158 | [
-1
] |
41,175 | package.lisp | goose121_cl-stat-benchmark/package.lisp | ;; Copyright 2021 Morgan Hager
;; This file is part of cl-stat-benchmark.
;; cl-stat-benchmark 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, or
;; (at your option)... | 804 | Common Lisp | .lisp | 14 | 55.857143 | 78 | 0.767857 | goose121/cl-stat-benchmark | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:28 AM (Europe/Amsterdam) | 0c6fed171fd256f884e049aedb39de22095c2c280e4a8d5338d421368ab9c3ca | 41,175 | [
-1
] |
41,176 | cl-stat-benchmark.asd | goose121_cl-stat-benchmark/cl-stat-benchmark.asd | ;; Copyright 2021 Morgan Hager
;; This file is part of cl-stat-benchmark.
;; cl-stat-benchmark 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, or
;; (at your option)... | 1,206 | Common Lisp | .asd | 23 | 48.652174 | 84 | 0.735993 | goose121/cl-stat-benchmark | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:28 AM (Europe/Amsterdam) | 6cc155db3d9a662bab7c2438c0100afa5589433014e4cfd4a09313984b528218 | 41,176 | [
-1
] |
41,194 | pathnames.lisp | Diemo-zz_PracticalCommonLisp/PortablePathNames/pathnames.lisp | (defun component-present-p (value)
(and value (not (eql value :unspecific))))
(defun directory-pathname-p (p)
(and
(not (component-present-p (pathname-name p)))
(not (component-present-p (pathname-type p)))
p))
(defun pathname-as-directory (name)
(let (( pathname (pathname name)))
(when (wild-p... | 3,162 | Common Lisp | .lisp | 86 | 30.290698 | 82 | 0.654664 | Diemo-zz/PracticalCommonLisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:37 AM (Europe/Amsterdam) | 789e46d8f4297f736555246e721205de7442ce9f1da665cb92c4534ab3ba5b1a | 41,194 | [
-1
] |
41,195 | framework.lisp | Diemo-zz_PracticalCommonLisp/UnitTesting/framework.lisp |
(defvar *testname* nil)
(defun report-result (result form)
(format t "~:[FAIL~;pass~] ~A ... ~a~%" result *testname* form)
result)
(defmacro check (&body forms)
`(combine-results
,@(loop for f in forms collect `(report-result ,f ',f))))
(defmacro with-gensyms (syms &body body)
`(let ,(loop for s in ... | 984 | Common Lisp | .lisp | 30 | 26.6 | 84 | 0.540741 | Diemo-zz/PracticalCommonLisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:37 AM (Europe/Amsterdam) | 029d0d6e94e66d95d9b2536b420ad9f82b849c6e59f907aa913e5135fc102c95 | 41,195 | [
-1
] |
41,213 | models.lisp | jmdaemon_treeleaves-lisp/src/models.lisp | (defpackage treeleaves.models
(:use :cl)
(:use :iter)
(:documentation "Generate directory based file tags")
(:import-from #:treeleaves.format
#:fmt
#:format-tags
#:make-tag)
(:export :connect
:ensure-tables
:write-to-db
:find-doc... | 3,602 | Common Lisp | .lisp | 97 | 31.010309 | 99 | 0.65155 | jmdaemon/treeleaves-lisp | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:45 AM (Europe/Amsterdam) | 7b9d6491c590f9d224d6f76416c984e27b567104b919d96c71074ae974bc31ab | 41,213 | [
-1
] |
41,214 | treeleaves.lisp | jmdaemon_treeleaves-lisp/src/treeleaves.lisp | (defpackage :treeleaves
(:use :cl :treeleaves.models)
(:documentation "Generate directory based file tags")
(:import-from #:treeleaves.models
#:connect
#:ensure-tables
#:write-to-db
#:find-doc
#:query
#:document
... | 1,891 | Common Lisp | .lisp | 59 | 25.610169 | 89 | 0.617325 | jmdaemon/treeleaves-lisp | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:45 AM (Europe/Amsterdam) | ca4df343026bbfc2b2cedef7948af42531bc6df6b16cae513e211d0f264f7337 | 41,214 | [
-1
] |
41,215 | main.lisp | jmdaemon_treeleaves-lisp/tests/main.lisp | (defpackage treeleaves/tests/main
(:use :cl
:treeleaves
:fiveam)
(:documentation "Unit tests for Treeleaves")
(:import-from #:treeleaves.models
#:*database-table-types*
)
(:import-from #:treeleaves.format
#:split-dir
#:fmt
... | 4,693 | Common Lisp | .lisp | 128 | 30.96875 | 107 | 0.650451 | jmdaemon/treeleaves-lisp | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:45 AM (Europe/Amsterdam) | e4fbe02be5cdcae8fe1e54db5b990d0e3d977ac2c48a5d985597a7e97b8f9cc0 | 41,215 | [
-1
] |
41,216 | treeleaves.asd | jmdaemon_treeleaves-lisp/treeleaves.asd | (require "asdf")
(asdf:defsystem "treeleaves"
:version "0.3.1"
:author "Joseph Diza <josephm.diza@gmail.com>"
:license "AGPLv3"
:depends-on (:cl-utilities :cl-ppcre
:unix-opts :uiop
:sxql :mito
:iterate :str
:log4cl)
:components ((asdf:module "src"
... | 1,146 | Common Lisp | .asd | 32 | 27.3125 | 108 | 0.581312 | jmdaemon/treeleaves-lisp | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:45 AM (Europe/Amsterdam) | 2fa97b56713ae6fbc7659ebe060d605dd3dcc7200b61d0592c721844d469d55b | 41,216 | [
-1
] |
41,219 | Makefile | jmdaemon_treeleaves-lisp/Makefile | LISP ?= sbcl
EXE = treeleaves
QL = /usr/lib/quicklisp/setup.lisp
BIN_PREFIX = bin
BUILD_EXEC = $(BIN_PREFIX)/$(EXE)
# Set install path
ifeq ($(PREFIX),)
PREFIX := /usr/local
endif
# Rules
build:
$(LISP) --load $(QL) \
--eval "(load \"$(EXE).asd\")" \
--eval "(ql:quickload :$(EXE))" \
--eval "(asdf:make :$... | 522 | Common Lisp | .l | 21 | 22.809524 | 53 | 0.616935 | jmdaemon/treeleaves-lisp | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:49:45 AM (Europe/Amsterdam) | d8fa1650e0802b469877a3b9aeddff4593e539c2f05875b0f32956026d0acd73 | 41,219 | [
-1
] |
41,237 | package.lisp | mrossini-ethz_lisp-struct/package.lisp | (defpackage :lisp-struct
(:nicknames :struct)
(:use :common-lisp :parseq)
(:export pack unpack limit-error argument-error use-value clip-value wrap-value))
| 162 | Common Lisp | .lisp | 4 | 38 | 83 | 0.753165 | mrossini-ethz/lisp-struct | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:49:45 AM (Europe/Amsterdam) | 7e48a88710cbc96ee25cdcc1c5091fc238ce39ece78a70d112a7fdc1d7eadd6d | 41,237 | [
-1
] |
41,238 | lisp-struct.lisp | mrossini-ethz_lisp-struct/lisp-struct.lisp | ;; lisp-struct
;; ----------------------------------------------------------------------------------------
;; This code implements something similar to the 'struct' module from python. The 'struct'
;; module allows the user to extract integers (and other values) from an array of bytes.
;; For example, a long integer is... | 14,661 | Common Lisp | .lisp | 277 | 46.00722 | 150 | 0.635229 | mrossini-ethz/lisp-struct | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:49:45 AM (Europe/Amsterdam) | 5971350d8ce29a262516a9e3d99cf3e526829bb1fd9247beb989711157d4dd6b | 41,238 | [
-1
] |
41,239 | test.lisp | mrossini-ethz_lisp-struct/test/test.lisp | (in-package :lisp-struct/test)
(defun array= (a b)
(and (= (length a) (length b)) (every #'identity (map 'list #'= a b))))
(test character-tests
(is (equal '(#\A) (lisp-struct:unpack ">c" #(65))))
(is (equal '(#\A) (lisp-struct:unpack "<c" #(65))))
(is (equal '(#\A #\B #\C) (lisp-struct:unpack ">c... | 36,423 | Common Lisp | .lisp | 383 | 87.558747 | 197 | 0.573427 | mrossini-ethz/lisp-struct | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:49:45 AM (Europe/Amsterdam) | 06092cf62edbe1c144ac235b8fe9a69153469082b76e7760c117ec7da3083f87 | 41,239 | [
-1
] |
41,240 | lisp-struct.asd | mrossini-ethz_lisp-struct/lisp-struct.asd | (defsystem "lisp-struct"
:description "A library for packing/unpacking structured data."
:version "0.1.0"
:author "Marco Rossini"
:license "GPLv2"
:depends-on (:parseq)
:serial t
:components ((:file "package")
(:file "lisp-struct"))
:in-order-to ((test-op (test-op :lisp-struct/test))))
(... | 713 | Common Lisp | .asd | 20 | 31.55 | 87 | 0.672938 | mrossini-ethz/lisp-struct | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:49:45 AM (Europe/Amsterdam) | c1026c5755b9b2a73326a1211bae62ea4f3098c6b27977e69e8c78e3a4df8153 | 41,240 | [
-1
] |
41,244 | compile-test.sh | mrossini-ethz_lisp-struct/test/compile-test.sh | #!/bin/bash
if [[ $# != 1 ]]
then
echo "Argument error!"
echo "Usage: $0 <sbcl|cmucl|ecl|clisp|all>"
exit 1
fi
if [[ "$1" == "sbcl" ]] || ([[ "$1" == "all" ]] && which sbcl)
then
sbcl --noinform \
--disable-ldb \
--lose-on-corruption \
--end-runtime-options \
--no-sysinit \
--no-userinit \
--disable-d... | 975 | Common Lisp | .l | 41 | 21.609756 | 64 | 0.547901 | mrossini-ethz/lisp-struct | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:49:45 AM (Europe/Amsterdam) | d719875bd2def4bfa059b2c3c9d16078b890870269faf028b574d71d953e7015 | 41,244 | [
-1
] |
41,275 | gear.lisp | DrBluefall_lispdotink/src/gear.lisp | (defpackage :co.prismarine.splatdotink.gear
(:nicknames :splatdotink.gear :sdi.gear)
(:use :cl)
(:export :gear-item :gear-kind))
(in-package :co.prismarine.splatdotink.gear)
(deftype gear-kind () '(member :clothes :shoes :head))
(defclass gear-item ()
((name
:type string
:initarg :name
:initform (... | 2,931 | Common Lisp | .lisp | 63 | 37.968254 | 161 | 0.620942 | DrBluefall/lispdotink | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:49:53 AM (Europe/Amsterdam) | 5fa4827e3ec034a5cdbda9d669bdd5ddfd9f024887bf301d1613a330b403266f | 41,275 | [
-1
] |
41,276 | lib.lisp | DrBluefall_lispdotink/src/lib.lisp | (defpackage :co.prismarine.splatdotink
(:nicknames :splatdotink :sdi)
(:use :cl)
(:local-nicknames (:jzon :com.inuoe.jzon))
(:export
:pvp-schedules
:salmon-schedule
:merchandise))
(in-package :co.prismarine.splatdotink)
(defun pvp-schedules ()
"Return a plist of sdi.rotation:rotation with the league... | 1,891 | Common Lisp | .lisp | 39 | 40.74359 | 105 | 0.667389 | DrBluefall/lispdotink | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:49:53 AM (Europe/Amsterdam) | 89aceeb6439b59629b5e2cebbe87c6d3eee25df3cc95fb9518f7253efabec6c5 | 41,276 | [
-1
] |
41,277 | splatdotink.asd | DrBluefall_lispdotink/splatdotink.asd | (asdf:defsystem :splatdotink
:name "splatdotink"
:description "A Common Lisp library to simplify fetching data from splatoon2.ink."
:version "0.0.0"
:author "Alexander Bisono <sbisonol@gmail.com>"
:licence "LGPL-3.0-or-later"
:depends-on (:drakma :com.inuoe.jzon)
:components ((:module "src"
... | 471 | Common Lisp | .asd | 12 | 29.583333 | 84 | 0.572985 | DrBluefall/lispdotink | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:49:53 AM (Europe/Amsterdam) | 456316c26f0abfeb191593fe8f1a4918b603607e2293ec872123bc19d2035753 | 41,277 | [
-1
] |
41,296 | interactive_sum.lisp | dat-adi_the-lisperer/basics/interactive_sum.lisp | ;;;; Interactive Summation
;;;; Copyright (C) 2022 G V Datta Adithya
;;;; 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 ... | 921 | Common Lisp | .lisp | 21 | 42.714286 | 75 | 0.729097 | dat-adi/the-lisperer | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:53 AM (Europe/Amsterdam) | f4a96cf6df5cd0eced0e5028c81a1e02fa246791849978e3876c315ac732a3da | 41,296 | [
-1
] |
41,297 | setq.lisp | dat-adi_the-lisperer/basics/setq.lisp | ;;;; Setq functionality
;;;; Copyright (C) 2022 G V Datta Adithya
;;;; 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 ver... | 889 | Common Lisp | .lisp | 24 | 35.875 | 75 | 0.732869 | dat-adi/the-lisperer | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:53 AM (Europe/Amsterdam) | 1fdbe9bee6740ffe7540406e695e5900738326ae02e7c3d6470072cfcae10ab5 | 41,297 | [
-1
] |
41,298 | arithmetic.lisp | dat-adi_the-lisperer/basics/arithmetic.lisp | ;;;; Simple arithmetic operations
;;;; Copyright (C) 2022 G V Datta Adithya
;;;; 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... | 1,254 | Common Lisp | .lisp | 36 | 32.416667 | 75 | 0.689712 | dat-adi/the-lisperer | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:49:53 AM (Europe/Amsterdam) | 18082a64a401b89ef2f1f477932a1081d296771689414720f227633229a053ef | 41,298 | [
-1
] |
41,317 | factorial.lisp | texaco_Learning-Lisp/Exercices/Factorial/factorial.lisp | ; function to get factorial number
; the number must be bigger than 0 or 0
(defun factorial (x)
(if (= 0 x) 1 (* x (factorial (- x 1) )))
)
(format t "~d~%" (factorial 4))
(format t "~d~%" (factorial 5))
(format t "~d~%" (factorial 6))
(format t "~d~%" (factorial 7))
(format t "~d~%" (factorial 8))
(format t... | 376 | Common Lisp | .lisp | 12 | 29.416667 | 49 | 0.596685 | texaco/Learning-Lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | 6ee0276c266082edd01da986700ef5651aed2316cc8d7362ea6d99e9b64f593a | 41,317 | [
-1
] |
41,318 | helloworld.lisp | texaco_Learning-Lisp/Exercices/HelloWorld/helloworld.lisp | ; simple hello world in clisp
(format t "Hello, World!")
| 58 | Common Lisp | .lisp | 2 | 27.5 | 29 | 0.727273 | texaco/Learning-Lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | 76fc4e76ac7c3cd70c8a03113e90dcf9f6671d78aa5fbb77aa8bbc826c7d254c | 41,318 | [
-1
] |
41,320 | recommended-minimal-configuration.el | texaco_Learning-Lisp/Examples/recommended-minimal-configuration.el | ;;; recommended-minimal-configuration.el --- Provides minimal recommended configuration
;; Homepage: https://github.com/89453728/Learning-Lisp.git
;; Version: 0
;; Package-Requires: ((use-package "0.1"))
;;; Commentary:
;; This are recommended bare-minimal configuration. Keep in mind that
;; depends on `use-package' ... | 1,279 | Common Lisp | .l | 32 | 38.3125 | 87 | 0.760518 | texaco/Learning-Lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | 7711693eb464ee8232302e4e597c816e453444d7e26d4e1da939307d3324a627 | 41,320 | [
-1
] |
41,337 | 11.lisp | fayelee0_practical-common-lisp/11.lisp | ;;;; 11 collections
(vector)
(vector 1)
(vector 1 2)
(make-array 5 :initial-element nil)
(defparameter *x* (make-array 5 :fill-pointer 0))
(vector-push 'a *x*)
(vector-push 'b *x*)
(vector-push 'c *x*)
(vector-push 'd *x*)
(vector-push 'e *x*)
(vector-push 'f *x*)
*x*
(defparameter *y* (make-array 5 :fill-pointe... | 3,246 | Common Lisp | .lisp | 131 | 21.343511 | 88 | 0.536355 | fayelee0/practical-common-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | 6439c7152f9fb9be5fc385e7e18b3719aa89faaf5d080a0966d5b03dce1119d3 | 41,337 | [
-1
] |
41,338 | 08.lisp | fayelee0_practical-common-lisp/08.lisp | ;;;; 08 Macros
;;; Macros are part of the language to allow you to create abstractions on top of the core language and
;;; standard library that move you closer toward being able to directly express the things you want to express.
(defmacro $when (condition &rest body)
`(if ,condition (progn ,@body)))
(defun foo (... | 3,274 | Common Lisp | .lisp | 77 | 38.402597 | 270 | 0.634849 | fayelee0/practical-common-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | a77ef708f8f2a2929d99f11daa0bc5ad6663faf1acb4ac881f6be6897794389f | 41,338 | [
-1
] |
41,339 | 06.lisp | fayelee0_practical-common-lisp/06.lisp | ;;;; 06 variables
;;; CL supports two kinds of variables:
;;; 1. lexical
;;; 2. dynamic
;;; Each time a function is called, Lisp creates new *bindings* to hold the arguments passed by the function's caller.
;;; A binding is the runtime manifestation of a variable.
(macroexpand-1 '(incf x))
(macroexpand-1 '(incf x 1... | 2,407 | Common Lisp | .lisp | 90 | 24.355556 | 160 | 0.65204 | fayelee0/practical-common-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | beaeb035ef3804b98598e2980d9868ff6c5f692d78393b05ae9ba353feaf2e46 | 41,339 | [
-1
] |
41,340 | 02.lisp | fayelee0_practical-common-lisp/02.lisp | ;;;; 02 Lather, Rinse, Repeat: A Tour of the REPL
10
(+ 2 3)
"hello, world"
(format t "hello, world~%")
(defun hello-world ()
(format t "hello, world~%"))
(hello-world)
| 178 | Common Lisp | .lisp | 8 | 20.125 | 49 | 0.650307 | fayelee0/practical-common-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | 914ac65b2923e106d21dfa0a0102ca46442b3a77b169eb2e585020092b318167 | 41,340 | [
-1
] |
41,341 | 10.lisp | fayelee0_practical-common-lisp/10.lisp | ;;;; 10 number, character, and string
#x1024
#b1010110
#o1010
#36r123abf
(characterp #\世)
(char-code #\世)
| 113 | Common Lisp | .lisp | 7 | 14.142857 | 37 | 0.737374 | fayelee0/practical-common-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | ea9c557de2de9c27f51d3d4d1037c6f3898d155945145dc88944065a58a8b223 | 41,341 | [
-1
] |
41,342 | 03.lisp | fayelee0_practical-common-lisp/03.lisp | ;;;; 03 practical, a simple database
;; normal list
(list 1 2 3 4)
;; plist
(list :a 1 :b 2 :c 3 :d 4)
(getf (list :a 1 :b 2 :c 3 :d 4) :a)
(getf (list :a 1 :b 2 :c 3 :d 4) :c)
;; make cd
(defun make-cd (title artist rating ripped)
(list :title title
:artist artist
:rating rating
:ripped ri... | 4,484 | Common Lisp | .lisp | 128 | 30.4375 | 74 | 0.614023 | fayelee0/practical-common-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | e2fec025e4f8b22e89aa51f4d9f7ac86287c47d7fdfe27166e1c7fe8165c73c1 | 41,342 | [
-1
] |
41,343 | 04.lisp | fayelee0_practical-common-lisp/04.lisp | ;;;; 04 syntax and semantics
;;; A typical division is to split the processor into three phases
;;; 1. a lexical analyzer breaks up the stream of characters into tokens
;;; 2. feeds them to a parser that builds a tree representing the expressions in the program, according to the language's grammar <AST>
;;; 3. fed to ... | 2,854 | Common Lisp | .lisp | 82 | 33.439024 | 147 | 0.706783 | fayelee0/practical-common-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | 4e70e06e31d0ebae34edf546c721c2f17253c8225993ecc10a7a67ed50d7ccef | 41,343 | [
-1
] |
41,344 | 05.lisp | fayelee0_practical-common-lisp/05.lisp | ;;;; 05 functions
;;; Different flavors of parameters handle required, optional, multiple, and keyword arguments.
(defun verbose-sum (x y)
"Sum any two numbers after printing a message."
(format t "Summing ~d and ~d.~%" x y)
(+ x y))
(defun bar (a b &optional c d)
(list a b c d))
(bar 1 2)
(bar 1 2 3)
(ba... | 2,297 | Common Lisp | .lisp | 77 | 27.558442 | 136 | 0.643446 | fayelee0/practical-common-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | 4c835608a33f19b067c7a23335984ca07aecc571ccf1033b30081008ae3bb7bc | 41,344 | [
-1
] |
41,345 | 09.lisp | fayelee0_practical-common-lisp/09.lisp | ;;;; a unit test framework
(= (+ 1 2) 3)
(= (+ 1 2 3) 6)
(= (+ -1 -3) -4)
(defun test-+ ()
(and
(= (+ 1 2) 3)
(= (+ 1 2 3) 6)
(= (+ -1 -3) -4)))
(test-+)
(defun test-+ ()
(format t "~:[FAIL~;PASS~] ... ~a~%" (= (+ 1 2) 3) '(= (+ 1 2) 3))
(format t "~:[FAIL~;PASS~] ... ~a~%" (= (+ 1 2 3) 5) '(= (+ 1... | 3,065 | Common Lisp | .lisp | 125 | 20.952 | 75 | 0.488526 | fayelee0/practical-common-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | 4c52ce00547e11139ec3dbd6845686291ae37e0a5369a0ffa1c903201bfc2e94 | 41,345 | [
-1
] |
41,346 | 07.lisp | fayelee0_practical-common-lisp/07.lisp | ;;;; 07 Macros: standard control constructs
(if (> 2 3) "Yup" "Nope")
(if (> 2 3) "Yup")
(if (> 3 2) "Yup" "Nope")
(defmacro ^when (condition &rest body)
`(if ,condition (progn ,@body)))
(macroexpand-1
'(^when (spam-p current-message)
(file-in-spam-folder current-message)
(update-spam-database current-mess... | 1,374 | Common Lisp | .lisp | 58 | 20.568966 | 64 | 0.556327 | fayelee0/practical-common-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:01 AM (Europe/Amsterdam) | 481d9d9ac4e070e5bdc14dc31fbf5d7736aee28b396469c9e9945fb9c190f093 | 41,346 | [
-1
] |
41,372 | sequence-flange-bolts-lisp.org | roscoe-tw_sequence-flange-bolts-lisp/sequence-flange-bolts-lisp.org | * The license
#+begin_src text
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... | 4,197 | Common Lisp | .lisp | 115 | 28.382609 | 244 | 0.532891 | roscoe-tw/sequence-flange-bolts-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:09 AM (Europe/Amsterdam) | 2cc1986fd3f07b87c622d08c42cc85f235c739ca5ac2268353118b256c65b177 | 41,372 | [
-1
] |
41,373 | sequence-flange-bolts-lisp.lsp | roscoe-tw_sequence-flange-bolts-lisp/sequence-flange-bolts-lisp.lsp | ;;; -*- coding:big5 -*-
;;; author: Each Application Mechanical Design Studio (every.push.colin@gmail.com)
;;; version: 0.0.1
(defun c:RRR ()
(load "sequence-flange-bolts-lisp.lsp")
(alert "Loaded!"))
(defun xx:MyError (st)
(if (not (member st (list "Function cancelled" "quit/ exit abort")))
(vl... | 2,973 | Common Lisp | .lisp | 96 | 24.854167 | 83 | 0.510762 | roscoe-tw/sequence-flange-bolts-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:09 AM (Europe/Amsterdam) | d63b12d35c5c86a06388c697ffeed86f077d70074058b7db6f1423f19f997345 | 41,373 | [
-1
] |
41,392 | let-alist.lisp | zellerin_let-alist/let-alist.lisp | ;; Original copyright (C) 2014-2022 Free Software Foundation, Inc.
;; This is modified (translated from emacs lisp to Common Lisp) let-alist.el
;; file from GNU Emacs. As such, it is under GNU GPL.
(defpackage #:let-alist
(:use #:cl)
(:export #:let-alist #:let-dolist-alist))
(in-package #:let-alist)
(defun remo... | 2,778 | Common Lisp | .lisp | 65 | 37.246154 | 76 | 0.639733 | zellerin/let-alist | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:09 AM (Europe/Amsterdam) | 683072dc90f58fd80a9bc24989cf8fb9676f2f27d7786ce4234cc60f8b50e580 | 41,392 | [
-1
] |
41,393 | let-alist.asd | zellerin_let-alist/let-alist.asd | (asdf:defsystem #:let-alist
:description "Common Lisp macro let-alist modeled by Emacs lisp macro of same name."
:author "Tomáš Zellerin <tomas@zellerin.cz>"
:license "GNU GPL"
:version "0.9"
:depends-on ("split-sequence")
:components ((:file "let-alist")))
| 273 | Common Lisp | .asd | 7 | 36 | 86 | 0.712121 | zellerin/let-alist | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:09 AM (Europe/Amsterdam) | 0490e06f2a2a73e7e0472d75e52fe9b501e4735e05825f30636c2c57e33cf214 | 41,393 | [
-1
] |
41,411 | dsss-transfer.lisp | glv2_cl-dsss-transfer/dsss-transfer.lisp | ;;; This file is part of cl-dsss-transfer
;;; Copyright 2022 Guillaume LE VAILLANT
;;; Distributed under the GNU GPL v3 or later.
;;; See the file LICENSE for terms of use and distribution.
(defpackage :dsss-transfer
(:use :cl)
(:import-from :cffi
#:callback
#:defcallback
... | 18,839 | Common Lisp | .lisp | 427 | 25.35363 | 81 | 0.451429 | glv2/cl-dsss-transfer | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:09 AM (Europe/Amsterdam) | c571c3936901377b197e6500af0a401df23eb271dae3af52c77e2f3046e58558 | 41,411 | [
-1
] |
41,412 | tests.lisp | glv2_cl-dsss-transfer/tests.lisp | ;;; This file is part of cl-dsss-transfer
;;; Copyright 2022 Guillaume LE VAILLANT
;;; Distributed under the GNU GPL v3 or later.
;;; See the file LICENSE for terms of use and distribution.
(defpackage :dsss-transfer-tests
(:use :cl :fiveam :dsss-transfer)
(:import-from :uiop
#:with-temporary-file)... | 4,252 | Common Lisp | .lisp | 84 | 36.416667 | 78 | 0.548232 | glv2/cl-dsss-transfer | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:09 AM (Europe/Amsterdam) | 973b117ecfcafdea0ca6460f8a79c2b67c7f7933715cc58a6e9aded69d392e39 | 41,412 | [
-1
] |
41,413 | echo-server.lisp | glv2_cl-dsss-transfer/examples/echo-server.lisp | ;;; Example of use of cl-dsss-transfer's API to make a server receiving
;;; messages from clients and sending them back in reverse order.
;;;
;;; Copyright 2022 Guillaume LE VAILLANT
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as ... | 3,369 | Common Lisp | .lisp | 80 | 31.0625 | 73 | 0.57622 | glv2/cl-dsss-transfer | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:09 AM (Europe/Amsterdam) | e39f5a32a67c2ca4596fffc6b25470991b7dc9c9f33e77b79194fecb3242b1fc | 41,413 | [
-1
] |
41,414 | dsss-transfer.asd | glv2_cl-dsss-transfer/dsss-transfer.asd | ;;; This file is part of cl-dsss-transfer
;;; Copyright 2022 Guillaume LE VAILLANT
;;; Distributed under the GNU GPL v3 or later.
;;; See the file LICENSE for terms of use and distribution.
(defsystem "dsss-transfer"
:name "dsss-transfer"
:description "Send and receive data with SDRs using DSSS modulation"
:vers... | 1,074 | Common Lisp | .asd | 26 | 36.115385 | 70 | 0.662524 | glv2/cl-dsss-transfer | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:09 AM (Europe/Amsterdam) | b53002cce71c90e41939268b7b71c5e7c412d0bd49e97262fc9488a09f15fac6 | 41,414 | [
-1
] |
41,433 | neteng.lisp | schlesix_networkengineering-lisp/neteng.lisp | ; Funktionen für Network Engineers
;(ql:quickload "iterate")
;(use-package :iterate)
(ql:quickload "alexandria")
(defun cidr2ddn(cidr-number)
"Gibt einen CIDR-Wert im DDN-Format zurück"
(case cidr-number
(32 (return-from cidr2ddn "255.255.255.255"))
(31 (return-from cidr2ddn "255.255.255... | 8,496 | Common Lisp | .lisp | 186 | 40.290323 | 147 | 0.640644 | schlesix/networkengineering-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:18 AM (Europe/Amsterdam) | 352275afedaebfa4a660458eaa4020bc83cea477f5bb03abd39423910831dc6e | 41,433 | [
-1
] |
41,451 | c4.lsp | Boerseth_lisp/ansicl/c4.lsp | (load "headers.lsp")
(chapter 4 "SPECIALIZED DATA STRUCTURES")
(section 4 1 "Arrays")
(setf arr (make-array '(2 3) :initial-element nil))
(aref arr 0 0)
(setf (aref arr 0 0) 'b)
arr
(aref arr 0 0)
(defun arr-mult (a b)
(let ((c (make-array '(2 2) :initial-element 0)))
(dolist (i (list 0 1))
(dolist (j... | 4,846 | Common Lisp | .l | 159 | 24.320755 | 56 | 0.523401 | Boerseth/lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:26 AM (Europe/Amsterdam) | 704285351e09756f69a127e7fd2b6182019d38706e1f90ead19c5435f407b560 | 41,451 | [
-1
] |
41,452 | c2ex.lsp | Boerseth_lisp/ansicl/c2ex.lsp | (load "headers.lsp")
(section 2 "" "Exercises")
(exercise "1." "
Describe what happens when the following expressions are evaluated:")
(exercise "[a]" "(+ (- 5 1) (+ 3 7))")
(answer "The inner parens evaluate to 4 and 10, and the outer to 14:")
(+ (- 5 1) (+ 3 7))
(done)
(exercise "[b]" "(list 1 (+ 2 3))")
(answer "Af... | 4,724 | Common Lisp | .l | 150 | 28.933333 | 248 | 0.607033 | Boerseth/lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:50:26 AM (Europe/Amsterdam) | c89e8ce87732cdf5f54b7dee89ccb78eac6a755ad8aa8077d3f2553170989c4b | 41,452 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.