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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12,311 | generate-commands.lisp | informatimago_commands/generate-commands.lisp | (in-package "COMMON-LISP-USER")
(eval-when (:compile-toplevel :load-toplevel :execute)
(unless *load-truename*
(error "This script must be loaded as source.")))
;;; --------------------------------------------------------------------
(defparameter *base-directory* (make-pathname :name nil :type nil :version ... | 2,415 | Common Lisp | .lisp | 39 | 49.333333 | 134 | 0.564428 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 8ca825ff787c0a85359f049467312b901416a04d9c9c454f6da96a03851170a9 | 12,311 | [
-1
] |
12,312 | loader.lisp | informatimago_commands/loader.lisp | (in-package "COMMON-LISP-USER")
(eval-when (:compile-toplevel :load-toplevel :execute)
(unless *load-truename*
(error "This script must be loaded as source.")))
;;; --------------------------------------------------------------------
;;;
(defparameter *base-directory* (make-pathname :name nil :type nil :vers... | 1,445 | Common Lisp | .lisp | 22 | 57.454545 | 134 | 0.585452 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 6b27105effa0a6d074df425126665127771c7c0eaf65e578bf172b0a4feb5b28 | 12,312 | [
-1
] |
12,313 | generate.lisp | informatimago_commands/generate.lisp | (in-package "COMMON-LISP-USER")
;; Remove used package from CL-USER to avoid conflicts.
;; Note: this doesn't remove directly imported symbols.
(mapc (lambda (package) (unuse-package package "COMMON-LISP-USER"))
(set-difference
(copy-seq (package-use-list "COMMON-LISP-USER"))
(delete nil (list ;; A... | 11,293 | Common Lisp | .lisp | 230 | 34.073913 | 142 | 0.534675 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 1c5f89b01c0c8db5d23fd4ce0c40d8013f97c6e9964bf0ef733137377b2ca85b | 12,313 | [
-1
] |
12,314 | script.lisp | informatimago_commands/sources/script.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: script.lisp
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: CLI
;;;;DESCRIPTION
;;;;
;;;; This file defines utilities for lisp scr... | 44,838 | Common Lisp | .lisp | 965 | 35.415544 | 158 | 0.548893 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | e22aa759f8dc105366eb7b1411080536c7c0d71eda3e20c546ee6f2e688bf96a | 12,314 | [
-1
] |
12,315 | packages.lisp | informatimago_commands/sources/packages.lisp |
(defpackage "COM.INFORMATIMAGO.COMMAND.SCRIPT"
(:nicknames "SCRIPT")
(:use "COMMON-LISP"
"COM.INFORMATIMAGO.COMMON-LISP.CESARUM.STRING"
"COM.INFORMATIMAGO.COMMON-LISP.CESARUM.UTILITY"
"COM.INFORMATIMAGO.COMMON-LISP.CESARUM.VERSION")
(:export
"*VERBOSE*" "*DEBUG*"
"*DEFAULT-PROGRAM-N... | 2,098 | Common Lisp | .lisp | 51 | 35.901961 | 95 | 0.63878 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | d85537527c7a7a3fdb15982aca418adf0646771c0ca6ba8aab6c669493b8da87 | 12,315 | [
-1
] |
12,316 | svn-locate-revision.lisp | informatimago_commands/sources/commands/svn-locate-revision.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: svn-locate-revision
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Locates a revision in the svn:m... | 7,754 | Common Lisp | .lisp | 147 | 44.319728 | 127 | 0.565097 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 75ce42a506c22d3fd831c4ba1a9b14f7f63e32d4d7fc43ea3a3c28f495af7835 | 12,316 | [
-1
] |
12,317 | get-directory.lisp | informatimago_commands/sources/commands/get-directory.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: get-directory
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Search for the given directory tag in... | 3,050 | Common Lisp | .lisp | 74 | 36.945946 | 79 | 0.567139 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 0876b0328a3d60c10bb6fec9ba03d3c9ed0ebba1b2100c6c16c5182029813436 | 12,317 | [
-1
] |
12,318 | box.lisp | informatimago_commands/sources/commands/box.lisp | ;; -*- mode:lisp; coding:utf-8 -*-
(defun main (arguments)
(declare (ignore arguments))
(format t "Not implemented yet.~%")
(finish-output)
ex-usage)
;; "─═┌╔┬╦┐╗├╠┼╬┤╣│║└╚┴╩┘╝"
;;
;; ┌────────────────────────┬────────┬──────┐
;; │ │ │ │
;; ├────────────────────────┼──────... | 16,642 | Common Lisp | .lisp | 509 | 28.697446 | 107 | 0.301567 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 3c0f3e310aceca2c45b07d68b58da473cec9c95b9196afad408ebf9a6335f0f6 | 12,318 | [
-1
] |
12,319 | random.lisp | informatimago_commands/sources/commands/random.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
(defun random-elt (list)
(elt list (random (length list))))
(defun main (arguments)
(setf *random-state* (make-random-state t))
(cond ((null arguments)
(prin1 (random #x100000000)))
((and (null (rest arguments))
(ignore-errors (realp (let ((*re... | 640 | Common Lisp | .lisp | 18 | 27 | 78 | 0.533118 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 85a1f992d83456badc8de13651ca87677722f4019ff7ab297ffb2dea499bf2c7 | 12,319 | [
-1
] |
12,320 | departement.lisp | informatimago_commands/sources/commands/departement.lisp | ;; -*- mode:lisp;coding:utf-8 -*-
(defparameter *departements*
;; (numero département préfecture sous-préfectures région)
'(("01" "Ain" "Bourg-en-Bresse" ("Belley" "Gex" "Nantua") "Auvergne-Rhône-Alpes")
("02" "Aisne" "Laon" ("Château-Thierry" "Saint-Quentin" "Soissons" "Vervins")
"Nord-Pas-de-Calais-Pica... | 10,804 | Common Lisp | .lisp | 186 | 51.77957 | 93 | 0.637077 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 4a3d8e9d6dfc330e8ae4d52ba79c067dba46a50428378516aa4edac1865333e3 | 12,320 | [
-1
] |
12,321 | lc.lisp | informatimago_commands/sources/commands/lc.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
(command :use-systems (:com.informatimago.common-lisp.cesarum)
:use-packages ("COMMON-LISP"
"SCRIPT"
"COM.INFORMATIMAGO.COMMON-LISP.CESARUM.FILE"
"COM.INFORMATIMAGO.COMMON-LISP.CESARUM.STREAM"))
(in-p... | 3,353 | Common Lisp | .lisp | 74 | 31.756757 | 85 | 0.493888 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 37eb13df59d3a43133e3ed58c813548466359d17c76eee0f984561296978b458 | 12,321 | [
-1
] |
12,322 | buzzword.lisp | informatimago_commands/sources/commands/buzzword.lisp | ;; -*- mode:lisp;coding:utf-8 -*-
(defun main (arguments)
(declare (ignore arguments))
(setf *random-state* (make-random-state t))
(let ((a (random 10))
(b (random 10))
(c (random 10))
(w (make-array '(10 3) :initial-contents
#((integrated management ... | 1,176 | Common Lisp | .lisp | 23 | 37.173913 | 80 | 0.439618 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 9bb3eac03f8c00eb8176449027bdace08fd23459da93b2a7de51f5e0659657f3 | 12,322 | [
-1
] |
12,323 | capitalize.lisp | informatimago_commands/sources/commands/capitalize.lisp | ;; -*- mode:lisp; coding:utf-8 -*-
;; Replaces any sequences of non alphanumeric or dot character in the
;; arguments by a single dash.
(defun split-string-if (predicate string &key remove-empty-subseqs)
"
NOTE: current implementation only accepts as separators
a string containing literal characters.
"
... | 1,198 | Common Lisp | .lisp | 31 | 32.580645 | 77 | 0.607081 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 219ba69386609eb4e1f8bd5dba2e263698f2a1d2085bcdad08093dfaeca5126f | 12,323 | [
-1
] |
12,324 | ansi-test.lisp | informatimago_commands/sources/commands/ansi-test.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: ansi-test
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Prints a test page for ANSI codes (ECMA-0... | 9,466 | Common Lisp | .lisp | 232 | 33.659483 | 85 | 0.609158 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 3bbe3073ff7fa0d41ca50f8853fc2c3c084ef463e2baaf6737f759e4caa2e91e | 12,324 | [
-1
] |
12,325 | entropy.lisp | informatimago_commands/sources/commands/entropy.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
(defun entropy (histogram total)
(let ((entropy 0)
(base (length histogram)))
(map nil (lambda (count)
(let ((p (/ count total)))
(when (plusp p)
(decf entropy (* p (log p base))))))
histogram)
entropy))
(d... | 1,474 | Common Lisp | .lisp | 42 | 27.333333 | 77 | 0.529783 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | a3f76336588e268bb366419770681a9edf3eccf81ff471c92e05f1606a4ec5a3 | 12,325 | [
-1
] |
12,326 | programmer.lisp | informatimago_commands/sources/commands/programmer.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
(defparameter *sentences*
'("It works on my machine."
"It’s not a bug, it’s a feature."
"How hard can it be?"
"How did that even work in the first place?"
"I don’t see anything in the logs."
"I’m guessing it’s an issue on their side."
"Probably some kind o... | 1,493 | Common Lisp | .lisp | 50 | 24.78 | 52 | 0.62955 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | c5639c0ca9603b39ee31abd76cc8f92608d361b2f2c4dae521d95a804f696500 | 12,326 | [
-1
] |
12,327 | news-to-mbox.lisp | informatimago_commands/sources/commands/news-to-mbox.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: news-to-mbox
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Converts a news job file as produced ... | 12,456 | Common Lisp | .lisp | 278 | 33.460432 | 104 | 0.511563 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 7336eb12f46263750aef3f863ed3a0874ee28069fd5d9dc697d1043b99937b92 | 12,327 | [
-1
] |
12,328 | check-surface.lisp | informatimago_commands/sources/commands/check-surface.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;****************************************************************************
;;;;FILE: check-surface
;;;;LANGUAGE: common lisp (clisp)
;;;;SYSTEM: UNIX
;;;;USER-INTERFACE: UNIX
;;;;DESCRIPTION
;;;;
;;;; This script tests a block device, bloc... | 23,961 | Common Lisp | .lisp | 524 | 31.700382 | 88 | 0.500406 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 43d93ec62d637b45a502078ac49b78ec72f637292626a1ebeb4c2ba8e97e831f | 12,328 | [
-1
] |
12,329 | edit-comments-of-ogg.lisp | informatimago_commands/sources/commands/edit-comments-of-ogg.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;*****************************************************************************
;;;;FILE: edit-comments-of-ogg.lisp
;;;;LANGUAGE: common lisp (clisp)
;;;;SYSTEM: UNIX
;;;;USER-INTERFACE: UNIX
;;;;DESCRIPTION
;;;; This script helps editing ogg... | 16,722 | Common Lisp | .lisp | 415 | 27.424096 | 102 | 0.455257 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 8ae8dec0ae65b4796f856d45f82e86121459428fb34675f69d407c9e44727cc0 | 12,329 | [
-1
] |
12,330 | dedup.lisp | informatimago_commands/sources/commands/dedup.lisp | ;; -*- mode:lisp;coding:utf-8 -*-
(in-package "SCRIPT")
(command :use-systems (:com.informatimago.common-lisp.cesarum)
:use-packages ("COMMON-LISP"
"SCRIPT"
"COM.INFORMATIMAGO.COMMON-LISP.CESARUM.STREAM"
"COM.INFORMATIMAGO.COMMON-LISP.CES... | 1,116 | Common Lisp | .lisp | 29 | 26.241379 | 72 | 0.493075 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 3330e31e411c1b77119f65311c7016fc81587c2ced81053ff10516659dfee469 | 12,330 | [
-1
] |
12,331 | nls.lisp | informatimago_commands/sources/commands/nls.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
(defun 1+/if-you-can (n)
(if (numberp n) (1+ n) n))
(defun cut-index (name)
(let* ((dot (position #\. name :from-end t))
(digit (position-if (function digit-char-p) name :from-end t :end dot)))
(subseq name 0
(1+/if-you-can (position-if-not
... | 1,353 | Common Lisp | .lisp | 32 | 29.71875 | 82 | 0.478327 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 9a873e7743cfe3dba2549f04c2c2ffee284b7f37dc2f52a39bd4d4d67797ae26 | 12,331 | [
-1
] |
12,332 | columnify.lisp | informatimago_commands/sources/commands/columnify.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;****************************************************************************
;;;;FILE: columnify
;;;;LANGUAGE: text
;;;;SYSTEM: POSIX
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Columnify the input.
;;;;
;;;; By default, colum... | 4,109 | Common Lisp | .lisp | 87 | 33.885057 | 104 | 0.465122 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 66b96121f2ce3471bd4e1160b8eea728ef95c857ded9fc17af8303047bbce8e4 | 12,332 | [
-1
] |
12,333 | cddb-to-tag.lisp | informatimago_commands/sources/commands/cddb-to-tag.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: cddb-to-tag
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Reads cddb.txt, rename .flac or .mp3 fi... | 22,733 | Common Lisp | .lisp | 544 | 33.264706 | 110 | 0.550222 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 10fed086b9d5325772ebfa81ff2f2d5e92883448b9d11c28ec114ab8f1b3e15a | 12,333 | [
-1
] |
12,334 | menu.lisp | informatimago_commands/sources/commands/menu.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
(defparameter *program-version* "0.0.2")
(defun main (arguments)
(declare (ignore arguments))
(format *error-output* "~2%Not implemented yet.~2%")
(exit ex-usage))
#|
(defun usage ()
(format t "~%~
~A usage:~%~
~%~
~& ~:*~A [-h|--... | 1,024 | Common Lisp | .lisp | 35 | 23.228571 | 82 | 0.520367 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 05ad9f86856d18a7db7d63ff43e004b2e311a4766d785f6a6ff789789bd64930 | 12,334 | [
-1
] |
12,335 | insulte.lisp | informatimago_commands/sources/commands/insulte.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
(defparameter *shakespear*
'(("Thou")
("artless" "bawdy" "beslubbering" "bootless" "churlish"
"cockered" "clouted" "craven" "currish" "dankish" "dissembling"
"droning" "errant" "fawning" "fobbing" "froward" "frothy"
"gleeking" "goatish" "gorbellied" ... | 10,087 | Common Lisp | .lisp | 310 | 25.851613 | 95 | 0.53516 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | a0ed9f008bf1634b29cc29e99455a5fd1e8b2feacd778cc49a6bfbf551631381 | 12,335 | [
-1
] |
12,336 | surveille-host.lisp | informatimago_commands/sources/commands/surveille-host.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;*****************************************************************************
;;;;FILE: surveille-host
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: CLISP
;;;;USER-INTERFACE: Common-Lisp
;;;;DESCRIPTION
;;;;
;;;; This scripts pings regularly an... | 7,257 | Common Lisp | .lisp | 177 | 32.231638 | 105 | 0.56081 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | e38c941609b1f2633f0c24392cb0fb7cb6f2712de911b267dec9f170dd3608b2 | 12,336 | [
-1
] |
12,337 | clar.lisp | informatimago_commands/sources/commands/clar.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;*****************************************************************************
;;;;FILE: clar
;;;;LANGUAGE: common lisp (clisp)
;;;;SYSTEM: UNIX
;;;;USER-INTERFACE: CLI
;;;;DESCRIPTION
;;;; This script joins or splits lisp sources between a s... | 6,457 | Common Lisp | .lisp | 151 | 33 | 89 | 0.516139 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | dacfe3b983903d400320f4b0b8b423968c4a21b33af1407b8cc703be97c5576a | 12,337 | [
-1
] |
12,338 | lrev.lisp | informatimago_commands/sources/commands/lrev.lisp | ;;;; -*- mode:lisp; coding:iso-8859-1 -*-
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;
;; Warning: processes iso-8859-1 not utf-8 arguments! ;;
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;
(defun slurp (stream)
(loop
:for line := (read-line stream nil nil)
:while line :collect line))... | 549 | Common Lisp | .lisp | 16 | 31.625 | 61 | 0.522727 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 830e70790271dcfbf34e8006d84082ff54e0d8ee7eda2cc5005ed4ceb2deefc3 | 12,338 | [
-1
] |
12,339 | cookie-merge.lisp | informatimago_commands/sources/commands/cookie-merge.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
(command :use-systems (:com.informatimago.common-lisp.cesarum
:split-sequence)
:use-packages ("COMMON-LISP"
"SCRIPT"
"SPLIT-SEQUENCE"
"COM.INFORMATIMAGO.COMMON-LISP.CESARUM.FILE"
... | 2,104 | Common Lisp | .lisp | 50 | 30.48 | 78 | 0.54185 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | da5dc1a0e19110a755089e052cddc844c775350d97735152ae5c7584a53621a6 | 12,339 | [
-1
] |
12,340 | new-password.lisp | informatimago_commands/sources/commands/new-password.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: new-password
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: Unix Command Line
;;;;DESCRIPTION
;;;;
;;;; Generate a random passwo... | 9,541 | Common Lisp | .lisp | 213 | 39.638498 | 90 | 0.478691 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 7a0febd5713f105779f670d7ef77b3913809a3a5ea3280ccc5b1cfb27607bd2f | 12,340 | [
-1
] |
12,341 | diss.lisp | informatimago_commands/sources/commands/diss.lisp | ;; -*- mode:lisp;coding:utf-8 -*-
(defun split-string (string &optional (separators " ") (remove-empty nil))
"
STRING: A sequence.
SEPARATOR: A sequence.
RETURN: A list of subsequence of STRING, split upon any element of SEPARATORS.
Separators are compared to elements of the ST... | 4,484 | Common Lisp | .lisp | 80 | 46.9 | 153 | 0.597117 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 46cddf27747ff27abef29562f83198e175cce67ddddb66730fedc4ee8b9ee06e | 12,341 | [
-1
] |
12,342 | euronews.lisp | informatimago_commands/sources/commands/euronews.lisp | ;;;; -*- mode: lisp; coding:utf-8 -*-
;;;;******************************************************************************
;;;;FILE: eurnews
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: UNIX
;;;;USER-INTERFACE: UNIX
;;;;DESCRIPTION
;;;; Note: we compile on load only to check syntax errors ... | 7,572 | Common Lisp | .lisp | 165 | 34.181818 | 236 | 0.498038 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 9dc8432d7791e25d2155db3b369d9785dfcb550674f25c6383dcd1a69a42a713 | 12,342 | [
-1
] |
12,343 | cookie-diff.lisp | informatimago_commands/sources/commands/cookie-diff.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
(in-package "SCRIPT")
(command :use-systems (:split-sequence :cl-ppcre)
:use-packages ("COMMON-LISP"
"SCRIPT"
"SPLIT-SEQUENCE"
"COM.INFORMATIMAGO.COMMON-LISP.CESARUM.FILE"))
;;;;;;;;;;;;;;;;;;;;;;;;;;... | 1,821 | Common Lisp | .lisp | 44 | 31.477273 | 75 | 0.529977 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 799e02b27d92e6a7d73dcc023bde1d2cc13bd12786c737e9d402c42f7153399b | 12,343 | [
-1
] |
12,344 | hexbin.lisp | informatimago_commands/sources/commands/hexbin.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
(defun main (arguments)
(declare (ignore arguments))
(setf *read-base* 16.)
(loop
:with buffer = (make-array 8 :element-type '(unsigned-byte 8) :fill-pointer 0 :adjustable t)
:for byte = (read *standard-input* nil nil)
:while byte
:do (vector-push-extend by... | 795 | Common Lisp | .lisp | 18 | 32.222222 | 97 | 0.527132 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | aaef7348624d39cc5988739fa62755dff1deb30963fe3d28ecf3fa2620724983 | 12,344 | [
-1
] |
12,345 | cpcd.lisp | informatimago_commands/sources/commands/cpcd.lisp | ;; -*- mode:lisp;coding:utf-8 -*-
(defun main (arguments)
(declare (ignore arguments))
(error "Not implemented yet.")
ex-usage)
#|
(in-package "COMMON-LISP-USER")
(load (make-pathname :name "script" :type "lisp" :version NIL :case :local :defaults *load-pathname*))
(use-package "SCRIPT")
(defparameter *program... | 3,232 | Common Lisp | .lisp | 99 | 27.59596 | 108 | 0.582099 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 705fa8df5dd24375fc794d515a8a3557d93d81ea0a9595dd827a98d85bb0d33c | 12,345 | [
-1
] |
12,346 | clean-name.lisp | informatimago_commands/sources/commands/clean-name.lisp | ;; -*- mode:lisp;coding:utf-8 -*-
;; Replaces any sequences of non alphanumeric or dot character in the
;; arguments by a single dash.
(defun split-string-if (predicate string &key remove-empty-subseqs)
(declare (ignore remove-empty-subseqs))
"
NOTE: current implementation only accepts as separators
a ... | 6,600 | Common Lisp | .lisp | 150 | 30.106667 | 104 | 0.455179 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | f267f2c9318b3c67618f970f5893bfcb27250e87a85d25917b826981bba54338 | 12,346 | [
-1
] |
12,347 | sleep-schedule.lisp | informatimago_commands/sources/commands/sleep-schedule.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
(defvar *schedule-file*)
(defconstant 24h (* 24 60 60))
(defun days (d) (* d 24h))
(defun date- (d1 d2) (- d1 d2))
(defun date= (d1 d2) (= d1 d2))
(defun date>= (d1 d2) (>= d1 d2))
(defun date<= (d1 d2) (<= d1 d2))
(defun sunday-p (dt)
(= 6 (nth-value 6 (decode-uni... | 7,093 | Common Lisp | .lisp | 153 | 33.464052 | 90 | 0.501882 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | bc27bfc80352509c8a5c9101a5efa28c7834684bf5c0f3130cc808c08636a8b0 | 12,347 | [
-1
] |
12,348 | when.lisp | informatimago_commands/sources/commands/when.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: When
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Prints a random reason when you know you've be... | 7,860 | Common Lisp | .lisp | 153 | 48.986928 | 78 | 0.720563 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 26f5debe87a0f6277eb440eb756e110fdc6439153698ca946e34860b09c75db0 | 12,348 | [
-1
] |
12,349 | script-test.lisp | informatimago_commands/sources/commands/script-test.lisp | ;; -*- mode:lisp; coding:utf-8 -*-
(command :use-systems (:cffi))
(cffi:defcvar (environ "environ") :pointer)
(defun environment ()
(loop
:for i :from 0
:for s := (print (cffi:mem-aref environ :pointer i))
:until (cffi:null-pointer-p s)
:collect (cffi:foreign-string-to-lisp s)))
;;;;--------------... | 929 | Common Lisp | .lisp | 26 | 32.230769 | 72 | 0.565996 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | c77db469100d027017d54d5e2fbbc156c18205545b6078c6e96a2adbe3fb5334 | 12,349 | [
-1
] |
12,350 | text.lisp | informatimago_commands/sources/commands/text.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;***************************************************************************
;;;;FILE: text
;;;;LANGUAGE: Common Lisp (clisp)
;;;;SYSTEM: UNIX
;;;;USER-INTERFACE: UNIX
;;;;DESCRIPTION
;;;; This script filters out non ASCII characters.
;;; ... | 2,887 | Common Lisp | .lisp | 63 | 38.190476 | 99 | 0.545004 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 08d2f0e94ad36b110a24d46c54ae8c8f267b5e60884b2e9f8d39771373b8cf2e | 12,350 | [
-1
] |
12,351 | rotate.lisp | informatimago_commands/sources/commands/rotate.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;*****************************************************************************
;;;;FILE: rotate
;;;;LANGUAGE: common lisp (clisp)
;;;;SYSTEM: UNIX
;;;;USER-INTERFACE: CLI
;;;;DESCRIPTION
;;;; This script rotates lines vs. columns.
;;;;USAGE
... | 11,572 | Common Lisp | .lisp | 240 | 38.204167 | 136 | 0.536115 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 793517a51188e22040ee03b9690d4755c70f8f8a6c3f2e17344615064a554431 | 12,351 | [
-1
] |
12,352 | batch-emerge.lisp | informatimago_commands/sources/commands/batch-emerge.lisp | ;; -*- mode:lisp;coding:utf-8 -*-
;; emerge all the packages specified in /home/pjb/portage-packages.txt, in batch(1).
(defun main (arguments)
(declare (ignore arguments))
#-(or ccl sbcl) (error "This command can only work when compiled with ccl or sbcl.")
#+(or ccl sbcl)
(let ((rt (copy-readtable nil)))
(... | 989 | Common Lisp | .lisp | 20 | 40.25 | 107 | 0.58635 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 22205348d71f0fe5b5348b971c14e8674f53267bf38c57733db190f465d5b43c | 12,352 | [
-1
] |
12,353 | add-cookie.lisp | informatimago_commands/sources/commands/add-cookie.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: addcookie
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Add a cookie to a cookie file.
;;;;
;;;;S... | 2,304 | Common Lisp | .lisp | 61 | 33.42623 | 78 | 0.556102 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | d6a5b100c5ff05755175531b84681deb20698c95703a45dc44dbfa47bd53daef | 12,353 | [
-1
] |
12,354 | split-dir.lisp | informatimago_commands/sources/commands/split-dir.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;****************************************************************************
;;;;FILE: split-dir
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Make hard-links from a source director... | 9,124 | Common Lisp | .lisp | 219 | 35.16895 | 99 | 0.523387 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | d31edf2a96dda01fc6a04c8299eb10546b94098d1098106789251190544014ce | 12,354 | [
-1
] |
12,355 | shell.lisp | informatimago_commands/sources/commands/shell.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;******************************************************************************
;;;;FILE: shell
;;;;LANGUAGE: emacs lisp
;;;;SYSTEM: UNIX
;;;;USER-INTERFACE: UNIX
;;;;DESCRIPTION
;;;; This script emulates a shell such as can be seen in movie... | 85,614 | Common Lisp | .lisp | 2,388 | 29.13526 | 220 | 0.554148 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 9f7b0a8d1157573972a5bd0824b5fb0640732e4cefa6856f23ed434d6c8b09f5 | 12,355 | [
-1
] |
12,356 | merge.lisp | informatimago_commands/sources/commands/merge.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: merge
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Merge the files.
;;;;
;;;;AUTHORS
;;;; <P... | 4,041 | Common Lisp | .lisp | 114 | 30.447368 | 80 | 0.594021 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 442a8716770f7acd95f5101534418fdcbba739fe37cab4eb3d0c0acf772e02ef | 12,356 | [
-1
] |
12,357 | remove-duplicate-files.lisp | informatimago_commands/sources/commands/remove-duplicate-files.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
(command :documentation "Delete duplicate files.")
(defvar *base* nil)
(defun main (arguments)
(when (null arguments)
(error "Usage: ~A directory~%" *program-name*))
(dolist (*base* arguments)
(when (and (stringp *base*)
(char/= #\/ (char *base* (1- (le... | 1,787 | Common Lisp | .lisp | 38 | 28.552632 | 79 | 0.418485 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 2e9c14fbf380c33407a1414177e09c42e48ad2c95bebb1981e0e29be6eaa0a13 | 12,357 | [
-1
] |
12,358 | html-make-image-index.lisp | informatimago_commands/sources/commands/html-make-image-index.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
(command :use-systems (:com.informatimago.common-lisp.cesarum
:com.informatimago.common-lisp.html-generator)
:use-packages ("COMMON-LISP"
"SCRIPT"
"COM.INFORMATIMAGO.COMMON-LISP.CESARUM.UTILITY"
... | 2,487 | Common Lisp | .lisp | 53 | 32.396226 | 95 | 0.470346 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | ca2d8d49d1a4c3944e478096e25796a6f433caf3f7b203c2d4b3c66e9569ad52 | 12,358 | [
-1
] |
12,359 | pic-resize.lisp | informatimago_commands/sources/commands/pic-resize.lisp |
;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;******************************************************************************
;;;;FILE: resize
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Clisp
;;;;USER-INTERFACE: None
;;;;DESCRIPTION
;;;; This script is a driver for the GIMP scheme script resize.scm.
;;;;USAGE
;;;; resize ... | 8,150 | Common Lisp | .lisp | 187 | 29.721925 | 140 | 0.459089 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | e2cc421dd445543e303760639509e2379878000cb629d394162cd343f498c2bc | 12,359 | [
-1
] |
12,360 | cookie.lisp | informatimago_commands/sources/commands/cookie.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;****************************************************************************
;;;;FILE: cookie
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; This program search a cookie in the cooki... | 8,839 | Common Lisp | .lisp | 183 | 33.377049 | 119 | 0.477602 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | d916a83381e7c3b3ad5bae90dd46e08c7eabb25e85aec79661153c97314d127c | 12,360 | [
-1
] |
12,361 | pseudo-pop.lisp | informatimago_commands/sources/commands/pseudo-pop.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: pseudo-pop.lisp
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; This is a POP-3 server that allows... | 5,631 | Common Lisp | .lisp | 148 | 29.594595 | 82 | 0.526007 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 0d65787012a203f0f07a9787f511aab575e2ee3ee4d8d00e198b62e73a49aac6 | 12,361 | [
-1
] |
12,362 | downcase.lisp | informatimago_commands/sources/commands/downcase.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: downcase
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Prints its arguments downcased.
;;;;
;;;;A... | 1,551 | Common Lisp | .lisp | 42 | 35.47619 | 78 | 0.579681 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | c35bec5909287c38850c25513a4c1345dc77a9537730cb37ebb2e362d7150093 | 12,362 | [
-1
] |
12,363 | group-files.lisp | informatimago_commands/sources/commands/group-files.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: group-files
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: CLI
;;;;DESCRIPTION
;;;;
;;;; Group files by name.
;;;;
;;;; Examp... | 2,788 | Common Lisp | .lisp | 64 | 35.75 | 143 | 0.512688 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 424a9dff17f33ee8c4e32832e14b0a24fc6d2f0478de3cef22fbc745d23fdc66 | 12,363 | [
-1
] |
12,364 | one-of.lisp | informatimago_commands/sources/commands/one-of.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: one-of
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Choose an argument randomly.
;;;;
;;;; Wi... | 6,456 | Common Lisp | .lisp | 146 | 32.561644 | 125 | 0.499046 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 4e7bbd2e7d962b44b96baebb4405cbeda3ff1aefe1981bd6b9f5a5d5f158f4c9 | 12,364 | [
-1
] |
12,365 | extend-identifiers.lisp | informatimago_commands/sources/commands/extend-identifiers.lisp | ;;;; -*- mode:lisp; coding:utf-8 -*-
;; Converts a utf-8 C++ source into an ASCII one using extended characters.
(defun extend-characters (line)
(with-output-to-string (*standard-output*)
(loop
:for ch :across line
:do (if (< (char-code ch) 128)
(princ ch)
(format t "\\u~... | 556 | Common Lisp | .lisp | 17 | 27.705882 | 75 | 0.605607 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | b0cc7226de1f080ade64aaa7c76df698b7e1e1512351ae6604741f03e130521f | 12,365 | [
-1
] |
12,366 | revlines.lisp | informatimago_commands/sources/commands/revlines.lisp | ;;;; -*- mode:lisp; coding:iso-8859-1 -*-
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;
;; Warning: processes iso-8859-1 not utf-8 arguments! ;;
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;
(defun slurp (stream)
(loop
:for line := (read-line stream nil nil)
:while line :collect line)... | 568 | Common Lisp | .lisp | 16 | 32.75 | 79 | 0.531136 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | acd04b9ada511d401c6dc450315978a3fec6ba669ae29292397394aeb0197ed1 | 12,366 | [
-1
] |
12,367 | com.informatimago.command.asd | informatimago_commands/sources/com.informatimago.command.asd | (asdf:defsystem "com.informatimago.command"
;; system attributes:
:description "This system gathers command utilities."
:long-description "
"
:author "Pascal J. Bourguignon <pjb@informatimago.com>"
:maintainer "Pascal J. Bourguignon <pjb@informatimago.com>"
:licence "AGPL3"
;; component attributes:
... | 1,431 | Common Lisp | .asd | 34 | 31.5 | 80 | 0.518996 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | bc87fdbbc8c4f4fd1b66a39264ba85ab9243f2f314324684f1f736a2568873dc | 12,367 | [
-1
] |
12,370 | Makefile | informatimago_commands/Makefile | FUTURE_PROGRAMS= \
box \
ALL_PROGRAMS= \
add-cookie \
add-paths \
ansi-test \
batch-emerge \
bin-to-c-array \
buzzword \
capitalize \
cddb-to-tag \
check-surface \
clar \
clash \
clean-bd-archive \
clean-name \
clean-paths \
columnify \
cookie-diff \
cookie-loop \
cookie-merge \
cookie \
cpcd \
... | 2,304 | Common Lisp | .l | 113 | 18.513274 | 119 | 0.675837 | informatimago/commands | 8 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 335cd81db4cd322eace3e84fbc73248991da86b09a5a4e52500c5df2385dd314 | 12,370 | [
-1
] |
12,441 | validation.lisp | willijar_cl-data-format-validation/validation.lisp | ;; API definition and implementation of data validation for numerous data types.
;; Copyright (C) 2009 Dr. John A.R. Williams
;; Author: Dr. John A.R. Williams <J.A.R.Williams@jarw.org.uk>
;;; Copying:
;; This file is part of the DATA-FORMAT-VALIDATION Common Lisp library
;; This program is free software: you can r... | 42,955 | Common Lisp | .lisp | 944 | 34.896186 | 99 | 0.568091 | willijar/cl-data-format-validation | 8 | 2 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 933e91ab5d5c23e9c50363e4b6e3c7a53ffa1a0a6a80c31a0c1cd8ea49ebad43 | 12,441 | [
-1
] |
12,442 | parse-time.lisp | willijar_cl-data-format-validation/parse-time.lisp | ;; **********************************************************************
;;; This code was written as part of the CMU Common Lisp project at
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
;;; It was subsequently borrowed and modified slightly by Daniel
;;; Barlow <dan@telent.net> to bec... | 27,997 | Common Lisp | .lisp | 568 | 39.911972 | 86 | 0.594462 | willijar/cl-data-format-validation | 8 | 2 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 64038fe651167c7a7c15828e1567dac83bee65090fea9c6887cd70dac36f8842 | 12,442 | [
-1
] |
12,443 | parse-number.lisp | willijar_cl-data-format-validation/parse-number.lisp | ;;;; -*- Mode: Lisp -*-
;;;; Defines functions to parse any number type, without using the reader
;;;; Version: 1.0
;;;; Author: Matthew Danish -- mrd.debian.org
;;;;
;;;; Copyright 2002 Matthew Danish.
;;;; All rights reserved.
;;;;
;;;; Repackaged as part of general validation library by J.A.R.Williams
;;;; Changes C... | 14,733 | Common Lisp | .lisp | 294 | 31.302721 | 191 | 0.456852 | willijar/cl-data-format-validation | 8 | 2 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 27db1b1bf4a95cb81827aa9d0f5d07afdbc41ba341ea6af90ca49e54f67ebdc9 | 12,443 | [
-1
] |
12,444 | defpackage.lisp | willijar_cl-data-format-validation/defpackage.lisp | ;; Package definition
;; Copyright (C) 2009 Dr. John A.R. Williams
;; Author: Dr. John A.R. Williams <J.A.R.Williams@jarw.org.uk>
;;; Copying:
;; This file is part of the DATA-FORMAT-VALIDATION Common Lisp library
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the G... | 1,763 | Common Lisp | .lisp | 35 | 47.914286 | 76 | 0.746069 | willijar/cl-data-format-validation | 8 | 2 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 37c79350d93e9e8b67d244e85fd9737032974b263b136ef81194fbd5a862ad83 | 12,444 | [
-1
] |
12,445 | data-format-validation.asd | willijar_cl-data-format-validation/data-format-validation.asd | ;;;; -*- lisp -*-
;; System definition
;; Copyright (C) 2009 Dr. John A.R. Williams
;; Author: Dr. John A.R. Williams <J.A.R.Williams@jarw.org.uk>
;;; Copying:
;; This file is part of the DATA-FORMAT-VALIDATION Common Lisp library
;; This program is free software: you can redistribute it and/or modify
;; it under t... | 1,469 | Common Lisp | .asd | 33 | 41.666667 | 80 | 0.714586 | willijar/cl-data-format-validation | 8 | 2 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 65c51aa3f777a8394ded63a74aff84e4838139595651b86a274f355d6002a778 | 12,445 | [
-1
] |
12,466 | demo.lisp | lambdamikel_DLMAPS/src/demo.lisp | ;;; -*- Mode: LISP; Syntax: Common-Lisp; Package: CL-USER -*-
(in-package :cl-user)
(defun dlmaps-demo ()
(when (probe-file "q-queries.lisp")
(let ((*package* (find-package :spatial-substrate)))
(load "q-queries.lisp")))
(dlmaps::map-viewer)
(dlmaps::result-inspector))
| 293 | Common Lisp | .lisp | 8 | 32.75 | 61 | 0.651079 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | d119ea5cd4e57f8ad6478187ff01caecb11bf1d47c6e3f38df9caa53fc2b635d | 12,466 | [
-1
] |
12,467 | dlmaps-sysdcl.lisp | lambdamikel_DLMAPS/src/dlmaps-sysdcl.lisp | ;;; -*- Mode: LISP; Syntax: Common-Lisp; Package: CL-USER -*-
(in-package :cl-user)
(eval-when (:compile-toplevel :load-toplevel :execute)
(declaim
(optimize
(safety 0) ; Run time error checking level
(speed 3) ; Speed of the compiled code
(compilation-speed 0) ; Speed of compilati... | 6,529 | Common Lisp | .lisp | 300 | 17.826667 | 67 | 0.652032 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 34b9604afbf1e76b34fe33414270756de8c6f4edc85dce01e963235ee4b20e09 | 12,467 | [
-1
] |
12,469 | ontology.lisp | lambdamikel_DLMAPS/src/ontology.lisp | (IN-TBOX OEJENDORF)
(DEFINE-PRIMITIVE-ROLE EC)
(DEFINE-PRIMITIVE-ROLE DC)
(DEFINE-PRIMITIVE-ROLE EQ)
(DEFINE-PRIMITIVE-ROLE PO)
(DEFINE-PRIMITIVE-ROLE TPP)
(DEFINE-PRIMITIVE-ROLE NTPP)
(DEFINE-PRIMITIVE-ROLE TPPI)
(DEFINE-PRIMITIVE-ROLE NTPPI)
;;;
;;;
;;;
(DEFINE-PRIMITIVE-ROLE DR)
(DEFINE-PRIMITIVE-ROLE PP)
... | 17,017 | Common Lisp | .lisp | 321 | 51.146417 | 120 | 0.81858 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 571e73488bc1e6c55307f8a5890adebab59573ca1ab9aa9c3834cc61fc49034d | 12,469 | [
-1
] |
12,470 | dlmaps-packages4.lisp | lambdamikel_DLMAPS/src/dlmaps-packages4.lisp | ;;; -*- MODE: LISP; SYNTAX: ANSI-COMMON-LISP; PACKAGE: CL-USER; BASE: 10 -*-
(IN-PACKAGE :CL-USER)
;;;
;;; DEFINE PACKAGES
;;;
(DEFPACKAGE heap
(:USE
common-lisp)
(:EXPORT
create-heap
heap-count
heap-empty-p
heap-clear
loop-over-heap-items
heap-insert
heap-items
heap-find
heap-... | 22,773 | Common Lisp | .lisp | 1,161 | 14.778639 | 76 | 0.717614 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 4ebb6312fdfa9128e580d328a5998e56f70d5446136c99bd86ad9b1e01e0e55c | 12,470 | [
-1
] |
12,471 | box-relations.lisp | lambdamikel_DLMAPS/src/geometry/box-relations.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defgeneric point-truly-inside-box-p (point box)
(:documentation "Determine if point is contained by box. If point lies on the border of the box,
returns NIL."))
(defgeneric point-inside-box-p (point box)
(:docum... | 7,216 | Common Lisp | .lisp | 203 | 30.118227 | 102 | 0.615015 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | f5dc266898577eeb4ff810ad1cb138ff683cee3e77253117ac256febc35cc1e8 | 12,471 | [
-1
] |
12,472 | predicates.lisp | lambdamikel_DLMAPS/src/geometry/predicates.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
;;;
;;; Basis-Prädikate
;;;
(defun intersects-p* (xs1 ys1 xe1 ye1
xs2 ys2 xe2 ye2)
(let* ((a (ccw* xs1 ys1
xe1 ye1
xs2 ys2))
(b (ccw* xs1 ys1
xe1 ye1
xe2 ye2))
(c (ccw* xs2 ys... | 19,343 | Common Lisp | .lisp | 516 | 28.837209 | 108 | 0.53709 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 99a296a119d21179299cecd99c90ba3f94231a1d1389deb31cbc37e42bae30be | 12,472 | [
-1
] |
12,473 | polygons.lisp | lambdamikel_DLMAPS/src/geometry/polygons.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defconstant +granularity+ 20)
(defmethod make-arc ((pfrom geom-point)
(pto geom-point)
xc yc &key (granularity +granularity+))
(multiple-value-bind (radius from)
(distance-and-orientation* xc y... | 1,213 | Common Lisp | .lisp | 28 | 34.107143 | 77 | 0.530508 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 96a4db7fb0eb7efbe96c87c4afa44960851004ac154eb1d57765acf05f920e43 | 12,473 | [
-1
] |
12,474 | rcc-predicates.lisp | lambdamikel_DLMAPS/src/geometry/rcc-predicates.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
;;;
;;; Achtung - das sind Axproximationen!
;;; Für konvexe Polygone lassen sich einfacherere und
;;; korrekte Algorithmen angeben, die ohne die wichtigsten
;;; Funktionen "one-part-is-inside/outside-p*" auskommen
;;;... | 5,808 | Common Lisp | .lisp | 143 | 35.307692 | 83 | 0.641067 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 7a5da88ace2a3e9f484481facfd36ddae666bf0c6f5f09b65e7d8a2970bfe04c | 12,474 | [
-1
] |
12,475 | tree-structure.lisp | lambdamikel_DLMAPS/src/geometry/tree-structure.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defgeneric primary-p (obj)
(:documentation "Returns T, if obj is no part of any other object."))
(defgeneric component-p (obj1 obj2)
(:documentation "If obj1 is a direct or indirect part of obj2, returns T."))
(... | 4,748 | Common Lisp | .lisp | 159 | 25.566038 | 86 | 0.654778 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 49c65f3fc642c8ae3e2a0cd8f11464a19466aaef4fe179605daacd189737060d | 12,475 | [
-1
] |
12,476 | epsilon2.lisp | lambdamikel_DLMAPS/src/geometry/epsilon2.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defgeneric inside-epsilon-p (obj1 obj2 radius &key epsilon-a epsilon-b)
(:documentation "Determine whether obj1 lies inside the epsilon-enclosure
of radius of object obj2."))
;;;
;;; Achtung! Diese Relation ist *ni... | 3,986 | Common Lisp | .lisp | 77 | 46.532468 | 132 | 0.641059 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 6081eec91b512c38d4c5ed06d0a14dd37e694fd12f635f503365bedc23c1c223 | 12,476 | [
-1
] |
12,477 | relations.lisp | lambdamikel_DLMAPS/src/geometry/relations.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defgeneric calculate-relation (obj1 obj2 &rest rest)
(:documentation "Recognizes various spatial relationships between obj1 and obj2."))
;;;
;;;
;;;
(defconstant +rcc8-relationships+
'(:po :eq :dc :ec :ntpp :nt... | 26,894 | Common Lisp | .lisp | 633 | 20.595577 | 118 | 0.325901 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 35a3c3b973815b938a63d6b6e5f4146d672dc103f657b966aa2cd015cbfbc0b3 | 12,477 | [
-1
] |
12,478 | geometry.lisp | lambdamikel_DLMAPS/src/geometry/geometry.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defgeneric mark-obj (obj value)
(:documentation "Mark object with value."))
(defgeneric x (point)
(:documentation "Returns the x position of point with respect to *matrix*"))
(defgeneric y (point)
(:documenta... | 47,403 | Common Lisp | .lisp | 1,329 | 26.920993 | 110 | 0.542852 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 8f4d185674636b91d34be7de3230b65f84ab4b6031b9e5b79074aaf6e0f3c7d0 | 12,478 | [
-1
] |
12,480 | persistence3.lisp | lambdamikel_DLMAPS/src/persistence/persistence3.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: PERSISTENCE-MANAGER; Base: 10 -*-
(in-package persistence-manager)
;;;
;;; Achtung! Diese Version unterstützt KEIN Struktur-Sharing für Listen!
;;; Daher nicht verwendet, nur für Racer!
;;;
(defun print-persistence-manager-info (&optional (stream t))
(format... | 41,556 | Common Lisp | .lisp | 990 | 31.345455 | 112 | 0.585712 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 82be28790238236391a81d06e0444dcbd4d5bbc37822b4a5d8c2bda1b6d89019 | 12,480 | [
-1
] |
12,481 | lracer-sysdcl.lisp | lambdamikel_DLMAPS/src/lracer/lracer-sysdcl.lisp | ;;; -*- Mode: LISP; Syntax: Common-Lisp; Package: CL-USER -*-
(in-package :cl-user)
(defparameter *lracer-filenames*
'("nrql-symbols-1-9-0"
"lracer-package-1-9-0"
"lracer-1-9-0"
#-:nrql-dev "lracer-nrql-stubs-1-9-0"
"lracer-test-support-1-9-0"))
(defun compile-load-lracer (&optional (directory "dl... | 664 | Common Lisp | .lisp | 1 | 661 | 664 | 0.582831 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | deadaf21878b2a9df322ae6bcd78a7ac37c69642661507cbbeef161763417de1 | 12,481 | [
-1
] |
12,482 | lracer-test-support-1-9-0.lisp | lambdamikel_DLMAPS/src/lracer/lracer-test-support-1-9-0.lisp | (in-package cl-user)
(defmacro with-timeout ((seconds . timeout-forms) &body body)
#+:ALLEGRO
`(let ((timeout-fn #'(lambda () ,@timeout-forms)))
(unwind-protect
(restart-case
(mp:with-timeout (,seconds (funcall timeout-fn))
,@body)
(abort-execution ()
... | 9,384 | Common Lisp | .lisp | 1 | 9,384 | 9,384 | 0.522272 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | c02ce3157ebf469069b9ab0b4bde8116d802541e37ee1b84a40a02b2e2e95c2b | 12,482 | [
-1
] |
12,483 | lracer-package-1-9-0.lisp | lambdamikel_DLMAPS/src/lracer/lracer-package-1-9-0.lisp | (in-package cl-user)
#+:mcl
(eval-when (:compile-toplevel :load-toplevel :execute)
(require :opentransport))
#+:lispworks
(eval-when (:compile-toplevel :load-toplevel :execute)
(require "comm"))
(defpackage racer
(:use common-lisp nrql-symbols #+:allegro excl)
(:export "+TOP-SYMBOL+"
"+BOTTOM-SYMB... | 13,290 | Common Lisp | .lisp | 1 | 13,285 | 13,290 | 0.495937 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 1c33fb79d92a2f3b0e4f350ff2b4197708d733541c6847ad87dc8f490c471384 | 12,483 | [
-1
] |
12,484 | nrql-symbols-1-9-0.lisp | lambdamikel_DLMAPS/src/lracer/nrql-symbols-1-9-0.lisp | (in-package cl-user)
;;;
;;;--------------------------------------------
;;; Automatically Generated nRQL Symbol List
;;; Version: 1.9.0
;;;--------------------------------------------
;;;
(DEFPACKAGE NRQL-SYMBOLS
(:EXPORT
"QUERY"
"WITH-NRQL-STANDARD-SETTINGS"
... | 26,883 | Common Lisp | .lisp | 1 | 26,883 | 26,883 | 0.381431 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 4c14aeff1102cf5918e684632955a611fbcd4ac1bfaaf65ff3c435d18106c0d2 | 12,484 | [
-1
] |
12,485 | qbox-browser.lisp | lambdamikel_DLMAPS/src/tools/qbox-browser.lisp | (in-package :TOOLS)
(defvar *node* nil)
(define-application-frame qbox-browser ()
((qbox :initarg :qbox
:accessor qbox)
(show-equivalents-p :initform t)
(variable-vectors-p :initform t)
(show-top-p :initform t)
(show-bottom-p :initform t)
(app-stream :initform nil :accessor app-stre... | 6,030 | Common Lisp | .lisp | 155 | 26.709677 | 96 | 0.554726 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 1b87f5bb889b14aed30155269b813496e34fa513ab49faffbe2e448ff0ce029c | 12,485 | [
-1
] |
12,486 | gui-tools.lisp | lambdamikel_DLMAPS/src/tools/gui-tools.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI-TOOLS; Base: 10 -*-
(in-package gui-tools)
#+:mcl
(defun file-selector (title directory pattern &key save)
(declare (ignore title))
(loop
(let ((pathname
(ccl:catch-cancel
(if (not save)
(ccl:choose-file-dialog ... | 6,500 | Common Lisp | .lisp | 170 | 24.529412 | 103 | 0.475428 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | bbbd0f03fb29a194c356d8dc24ebf000b2756f4152b06a38b90a3bb23c11b3d1 | 12,486 | [
-1
] |
12,487 | dag3.lisp | lambdamikel_DLMAPS/src/tools/dag3.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: DAG; Base: 10 -*-
(in-package :DAG)
;;;
;;;
;;;
(defvar *node* nil)
(defvar *type* :directed-acyclic-graph)
#+:RACER
(defmacro defpersistentclass (&rest rest)
`(progn ,@(let ((name (first rest)))
(list
`(PERSISTENCE-MANAGER:DEFCLASS ,@rest)
... | 22,918 | Common Lisp | .lisp | 558 | 28.249104 | 99 | 0.517706 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 273d4ae355a0831c2190c6d65d5cd1fa6e57e1f178189feaa2ad5a94e491fc96 | 12,487 | [
-1
] |
12,488 | racer-dag.lisp | lambdamikel_DLMAPS/src/tools/racer-dag.lisp | ;; -*- Mode: LISP; Syntax: Common-Lisp; Package: RACER-DAG -*-
(in-package :RACER-DAG)
;;;
;;;
;;;
(defclass racer-taxonomy (dag)
((dag::tprinter :initform 'equivalent-nodes)))
(defclass racer-taxonomy-node (dag-node)
((equivalent-nodes :accessor equivalent-nodes :initarg :equivalent-nodes)))
(defun get-race... | 2,521 | Common Lisp | .lisp | 54 | 30.5 | 85 | 0.507744 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 0c2a4f4b157203794cdfe3180cd09fda55b896331e40a5af21d66cb254c97be4 | 12,488 | [
-1
] |
12,489 | fonts.lisp | lambdamikel_DLMAPS/src/tools/fonts.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI-TOOLS; Base: 10 -*-
(cl:in-package gui-tools)
;;;
;;;
;;;
(eval-when (:compile-toplevel :load-toplevel :execute)
(defparameter *y-to-x* 1.5)
(defparameter *char-to-font-function*
(make-array 256))
(defparameter *char-to-font-def*
(make-array... | 18,270 | Common Lisp | .lisp | 156 | 104.205128 | 991 | 0.38413 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 3a8cc7de0eb45dd41271791d2d14e10f554fdda3446b871e088adf803f1bf764 | 12,489 | [
-1
] |
12,490 | heap-test.lisp | lambdamikel_DLMAPS/src/tools/heap-test.lisp | ;;;
;;; $Header: /home/gene/library/website/docsrc/lisp-heap/RCS/test.lisp,v 201.1 2004/08/31 06:49:54 gene Exp $
;;;
;;; Copyright (c) 2002 by Gene Michael Stover.
;;; All rights reserved.
;;; Permission to copy, store, & view this document unmodified &
;;; in its entirety is granted.
;;;
(require "heap" '("heap.lisp... | 7,526 | Common Lisp | .lisp | 193 | 35.103627 | 109 | 0.655031 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 95c271ccec5288d9089cf135071823a2c6146ba68cc405b0fbe67da2bf89afdd | 12,490 | [
-1
] |
12,491 | tools.lisp | lambdamikel_DLMAPS/src/tools/tools.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: TOOLS; Base: 10 -*-
(in-package tools)
(defconstant +pi/2+ (/ pi 2))
(defconstant +2pi+ (* 2 pi))
;;;
;;;
;;;
(defun subclass-responsibility (method)
(error "~A: Subclasses must implement!" method))
(defun to-be-implemented (method)
(error "~A: To be imple... | 36,116 | Common Lisp | .lisp | 1,034 | 21.181818 | 121 | 0.415525 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | b7157a4d3afdd76d9a8df0cf3c8ca08311b79fe72b97dc8a2520cb2425027181 | 12,491 | [
-1
] |
12,492 | heap.lisp | lambdamikel_DLMAPS/src/tools/heap.lisp | ;; -*- Mode: LISP; Syntax: Common-Lisp; Package: HEAP -*-
;;;
;;; $Header: /home/gene/library/website/docsrc/lisp-heap/RCS/heap.lisp,v 201.1 2004/08/31 06:49:54 gene Exp $
;;;
;;; Copyright (c) 2002, 2003 Gene Michael Stover.
;;;
;;; This library is free software; you can redistribute it
;;; and/or modify it under the... | 6,405 | Common Lisp | .lisp | 159 | 35.289308 | 109 | 0.634229 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | d8dab8117f1854b8dd37766f6ae24560553b60a08edee070ace93b911b17bcfb | 12,492 | [
-1
] |
12,493 | logic-tools.lisp | lambdamikel_DLMAPS/src/tools/logic-tools.lisp | ;;; -*- Mode: LISP; Syntax: Common-Lisp; Package: TOOLS -*-
(in-package :tools)
(defmethod macroreldef ((obj symbol))
nil)
(defun nnf (concept &optional negate-p)
(if (consp concept)
(let ((op (first concept)))
(if (eq op 'not)
(nnf (second concept) (not negate-p))
(case op
... | 14,614 | Common Lisp | .lisp | 326 | 21.263804 | 123 | 0.315584 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | bd6e76f8e62b9236bf6c9ca34dceb43414d190bcad792d60789e2576f5f66c01 | 12,493 | [
-1
] |
12,494 | heap-simple-test.lisp | lambdamikel_DLMAPS/src/tools/heap-simple-test.lisp | ;;;
;;; $Header: /home/gene/library/website/src/htdocs/lisp-heap/RCS/test.lisp,v 1.3 2003/03/21 15:30:58 gene Exp gene $
;;;
;;; Copyright (c) 2003 by Gene Michael Stover.
;;; All rights reserved.
;;; Permission to copy, store, & view this document unmodified &
;;; in its entirety is granted.
;;;
(require "heap" '("he... | 1,288 | Common Lisp | .lisp | 39 | 30.25641 | 116 | 0.622441 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 2ef4e62e30ae2603370f7e8adb041160d5543d85bad5ed95ef2795fc99d8472b | 12,494 | [
-1
] |
12,495 | class-browser.lisp | lambdamikel_DLMAPS/src/tools/class-browser.lisp | (in-package :TOOLS)
(defun make-postscript-file (application-frame filename)
(with-open-file (stream filename
:direction :output
:if-exists :supersede)
(clim:with-output-to-postscript-stream (ps-stream stream
... | 3,287 | Common Lisp | .lisp | 65 | 29.369231 | 75 | 0.460962 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | fd7ec2ac7eb67e33d98f59295b7cf03acc7ebe7ba4a6fcbaaca358d65a1c9a16 | 12,495 | [
-1
] |
12,496 | grapher.lisp | lambdamikel_DLMAPS/src/tools/grapher.lisp | ;;; -*- Mode: Lisp; Package: CL-USER -*-
;;;
;;; ****************************************************************
;;; PostScript DAG Grapher *****************************************
;;; ****************************************************************
;;; Written by Joseph Bates, CMU CSD, March 1988. jbates+@cs.cmu.edu... | 18,420 | Common Lisp | .lisp | 480 | 33.575 | 86 | 0.627702 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | b8837d4c9832c348f043b935a739ff129b048fa40b57ccb7a0efedcc9d0813f4 | 12,496 | [
-1
] |
12,497 | heap-sort.lisp | lambdamikel_DLMAPS/src/tools/heap-sort.lisp | ;;;
;;; $Header: /home/gene/library/website/docsrc/lisp-heap/RCS/ex11.lisp,v 201.1 2004/08/31 06:49:54 gene Exp $
;;;
;;; Copyright (c) 2003 by Gene Michael Stover.
;;; All rights reserved.
;;; Permission to copy, store, & view this document unmodified &
;;; in its entirety is granted.
;;;
(require "heap" '("heap.lisp... | 1,248 | Common Lisp | .lisp | 30 | 38.033333 | 109 | 0.648805 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | ed5c8932b083d1a43824d126438a40091eedf60f94237ee68b4e3eecef2c1b7f | 12,497 | [
-1
] |
12,498 | qbox-browser2.lisp | lambdamikel_DLMAPS/src/tools/qbox-browser2.lisp | (in-package :TOOLS)
(defvar *node* nil)
(define-application-frame qbox-browser (dag-browser)
((show-equivalents-p :initform t)
(variable-vectors-p :initform t)))
(defmethod accept-options ((frame qbox-browser) stream)
(with-slots (show-equivalents-p
variable-vectors-p
show-to... | 3,086 | Common Lisp | .lisp | 73 | 29 | 77 | 0.552835 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 2293f20e6990df9aa22f9d744b0f3af78ada285ae50f3f2546676c162f578ba9 | 12,498 | [
-1
] |
12,499 | q-queries.lisp | lambdamikel_DLMAPS/src/map-viewer/q-queries.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: SPATIAL-SUBSTRATE; Base: 10 -*-
(in-package spatial-substrate)
(defun q1 ()
(let ((q '(?*x wohngebiet))
(v '(?*x)))
(inspector-answer-query q v
"Zeige mir alle Wohngebiete.")))
(defun q2 ()
(let ((q '(?*x park))
... | 7,239 | Common Lisp | .lisp | 192 | 26.911458 | 103 | 0.497079 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 88811c120090344c91e71525883a57391112d135a91dec23534eefa4ef3e1964 | 12,499 | [
-1
] |
12,500 | result-inspector2.lisp | lambdamikel_DLMAPS/src/map-viewer/result-inspector2.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: SPATIAL-SUBSTRATE; Base: 10 -*-
(in-package spatial-substrate)
(defconstant +x-no-of-thumbnails+ 6)
(defconstant +y-no-of-thumbnails+ 6)
(defconstant +spacing+ 10)
(defconstant +offset-radius+ 100)
(defconstant +light-blue+ (make-rgb-color 0.5 0.5 1))
(defco... | 39,951 | Common Lisp | .lisp | 1,022 | 28.784736 | 103 | 0.579292 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 6129fb63b426f47dda6f6c8cdf508a20bdedca7b74850b32c9fd9af88908a31e | 12,500 | [
-1
] |
12,501 | interface.lisp | lambdamikel_DLMAPS/src/map-viewer/interface.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: SPATIAL-SUBSTRATE; Base: 10 -*-
(in-package spatial-substrate)
;;;
;;;
;;;
(defparameter *show-in-inspector-p* t)
(defmethod prepare-substrate-for-query-execution ((substrate map*) (query query))
t)
;;;
;;;
;;;
(defmethod querying-started ((map map*) (query... | 29,724 | Common Lisp | .lisp | 549 | 29.810565 | 134 | 0.395533 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | d9278279bc71a4c975508fd3bb178fe8d714de6def371dc742bbb82456b71a3b | 12,501 | [
-1
] |
12,502 | map-viewer3.lisp | lambdamikel_DLMAPS/src/map-viewer/map-viewer3.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: SPATIAL-SUBSTRATE; Base: 10 -*-
(in-package spatial-substrate)
(defvar *map-viewer-frame*)
(defvar *selected-object*)
;(defvar *kind-of-map* 'basic-explicit-racer-explicit-relations-map)
(defvar *kind-of-map* 'midelora-explicit-relations-map)
#+(or mcl lispwo... | 74,015 | Common Lisp | .lisp | 1,879 | 29.051623 | 139 | 0.57298 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | decc4899f644e88a335090fb0ae0c469afe437ff7db1ce525ffa09b6c8fb475d | 12,502 | [
-1
] |
12,503 | tables.lisp | lambdamikel_DLMAPS/src/tables/tables.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: THEMATIC-SUBSTRATE; Base: 10 -*-
(in-package :THEMATIC-SUBSTRATE)
(eval-when (:compile-toplevel :load-toplevel :execute)
(defun swap-first-args (entry)
`(,(second entry) ,(first entry) ,@(cddr entry)))
(defconstant +rcc1-roles+ '(sr))
(defconstant +rc... | 7,782 | Common Lisp | .lisp | 165 | 21.666667 | 87 | 0.28735 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | f2aac1355a268b61373807041db0347136c26ee4b08542ab5d6a5f36035c1116 | 12,503 | [
-1
] |
12,504 | tables2.lisp | lambdamikel_DLMAPS/src/tables/tables2.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: THEMATIC-SUBSTRATE; Base: 10 -*-
(in-package :THEMATIC-SUBSTRATE)
(defun swap-first-args (entry)
`(,(second entry) ,(first entry) ,@(cddr entry)))
(defparameter +rcc1-roles+ '(sr))
(defparameter +rcc1-rolebox+
(create-rbox 'rcc1-rolebox
+rcc... | 7,410 | Common Lisp | .lisp | 164 | 21.52439 | 87 | 0.297891 | lambdamikel/DLMAPS | 8 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | ce21040b185450ad88de8987f35349e2e72b459c9b006fe29812d05dd7ee81fc | 12,504 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.