commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
1f7b9cbaab50cd8fabe1e20a06fae10845d38ac6 | redirecting-jump.lisp | redirecting-jump.lisp | (in-package #:jumpotron)
(defclass redirecting-jump (jump)
((target :initarg :target
:initform (error "A jump needs a target")
:reader target
:documentation "FORMAT-string that will consume the words in the
query to construct a url to redirect the user to.")))
(defmethod jump ((jump... | (in-package #:jumpotron)
(defclass redirecting-jump (jump)
((target :initarg :target
:initform (error "A jump needs a target")
:reader target
:documentation "FORMAT-string that will consume the words in the
query to construct a url to redirect the user to.")))
(defmethod jump ((jump... | Add some rough error handling to REDIRECTING-JUMP | Add some rough error handling to REDIRECTING-JUMP
| Common Lisp | mit | jorams/jumpotron |
996e151f1424a30f3c2ea82714e48e2281419643 | src/method-combination-expand.lisp | src/method-combination-expand.lisp | (in-package #:method-combination-utilities)
(defun method-combination-expander-function (method-combination)
#+ccl (cdr (ccl::method-combination-expander method-combination))
#-ccl (error "this function is not available on ~A"
(lisp-implementation-type)))
(defun method-combination-options (method-c... | (in-package #:method-combination-utilities)
(defun method-combination-expander-function (method-combination)
#+ccl (cdr (ccl::method-combination-expander method-combination))
#+clisp (clos::method-combination-expander method-combination)
#-(or ccl clisp)
(error "this function is not available on ~A" (lisp-impl... | Add CLISP support to METHOD-COMBINATION-EXPAND. | Add CLISP support to METHOD-COMBINATION-EXPAND.
| Common Lisp | mit | sellout/method-combination-utilities |
2f175e3c4d86b4c4309d99c2800781ba34fdf22d | slime-helper.lisp | slime-helper.lisp | ;;;; slime-helper.lisp
(defpackage #:quicklisp-slime-helper
(:use #:cl)
(:export #:install)
(:shadowing-import-from #:alexandria
#:copy-file)
(:shadowing-import-from #:ql-setup
#:qmerge))
(in-package #:quicklisp-slime-helper)
(defun install ()
(let ((sour... | ;;;; slime-helper.lisp
(defpackage #:quicklisp-slime-helper
(:use #:cl)
(:export #:install)
(:shadowing-import-from #:alexandria
#:copy-file)
(:shadowing-import-from #:ql-dist
#:ensure-installed
#:find-system)
(:shadowing-import-fr... | Use QL-DIST:ENSURE-INSTALLED to make sure quicklisp's slime is installed regardless of whether another swank is visible. | Use QL-DIST:ENSURE-INSTALLED to make sure quicklisp's slime is
installed regardless of whether another swank is visible.
| Common Lisp | mit | quicklisp/quicklisp-slime-helper |
02aeea0ff5d660dbb6796473ac7bda999a468dd2 | Code/Boot/create-bridge-classes.lisp | Code/Boot/create-bridge-classes.lisp | (cl:in-package #:sicl-boot)
(defun create-bridge-classes (boot)
(let ((c (c1 boot))
(r (r2 boot)))
(ld "../CLOS/t-defclass.lisp" c r)
(ld "../CLOS/standard-object-defclass.lisp" c r)
(ld "../CLOS/metaobject-defclass.lisp" c r)
(ld "../CLOS/specializer-defclass.lisp" c r)
(ld "../CLOS/class-defcl... | (cl:in-package #:sicl-boot)
(defun create-bridge-classes (boot)
(let ((c (c1 boot))
(r (r2 boot)))
(ld "../CLOS/t-defclass.lisp" c r)
(ld "../CLOS/standard-object-defclass.lisp" c r)
(ld "../CLOS/metaobject-defclass.lisp" c r)
(ld "../CLOS/specializer-defclass.lisp" c r)
(ld "../CLOS/class-defcl... | Load a file containing the definition of the class REAL-CLASS. | Load a file containing the definition of the class REAL-CLASS.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
cb11e0f79e88b7f3ba66be6f461ca6120f20ff6e | Code/Conditionals/sicl-conditionals.asd | Code/Conditionals/sicl-conditionals.asd | ;;;; Copyright (c) 2008 - 2013
;;;;
;;;; Robert Strandh (robert.strandh@gmail.com)
;;;;
;;;; all rights reserved.
;;;;
;;;; Permission is hereby granted to use this software for any
;;;; purpose, including using, modifying, and redistributing it.
;;;;
;;;; The software is provided "as-is" with no warranty. The u... | ;;;; Copyright (c) 2008 - 2013
;;;;
;;;; Robert Strandh (robert.strandh@gmail.com)
;;;;
;;;; all rights reserved.
;;;;
;;;; Permission is hereby granted to use this software for any
;;;; purpose, including using, modifying, and redistributing it.
;;;;
;;;; The software is provided "as-is" with no warranty. The u... | Define ASDF system in package ASDF-USER. | Define ASDF system in package ASDF-USER.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL |
2ef9b430f9cda7658f12645245a41923ae36fd74 | Code/Cleavir/Intermediate-representation/HIR-to-MIR/general.lisp | Code/Cleavir/Intermediate-representation/HIR-to-MIR/general.lisp | (cl:in-package #:cleavir-ir)
(defgeneric specialize (instruction implementation processor os))
(defun hir-to-mir (initial-instruction implementation processor os)
;; Gather up all instructions in a table
(let ((table (make-hash-table :test #'eq)))
(labels ((traverse (instruction)
(unless (gethash inst... | (cl:in-package #:cleavir-ir)
(defgeneric specialize (instruction implementation processor os))
(defun hir-to-mir (initial-instruction implementation processor os)
(let ((all-instructions '()))
;; Gather up all instructions in a list.
(map-instructions
(lambda (instruction)
(push instruction all-... | Make use of iterative mapping function. | Make use of iterative mapping function.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL |
d956dada445e3029d70ce29cc4dbd708b8075111 | code/ir/petalisp.ir.asd | code/ir/petalisp.ir.asd | (defsystem "petalisp.ir"
:author "Marco Heisig <marco.heisig@fau.de>"
:license "AGPLv3"
:depends-on
("alexandria"
"ucons"
"priority-queue"
"petalisp.utilities"
"petalisp.core")
:serial t
:components
((:file "packages")
(:file "device")
(:file "ir")
(:file "ir-checker")
(:file "ir... | (defsystem "petalisp.ir"
:author "Marco Heisig <marco.heisig@fau.de>"
:license "AGPLv3"
:depends-on
("alexandria"
"ucons"
"priority-queue"
"split-sequence"
"petalisp.utilities"
"petalisp.core")
:serial t
:components
((:file "packages")
(:file "device")
(:file "ir")
(:file "ir-che... | Introduce missing dependency on split-sequence. | Introduce missing dependency on split-sequence.
| Common Lisp | agpl-3.0 | marcoheisig/Petalisp,marcoheisig/Petalisp |
41a495eb5a2dc6023ed34fffcad7a94512abc50d | Code/Cleavir/AST-interpreter/interpreter.lisp | Code/Cleavir/AST-interpreter/interpreter.lisp | (cl:in-package #:cleavir-ast-interpreter)
(defgeneric interpret-ast (ast static-env dynamic-env))
(defun interpret (ast)
(let ((static-env (list (make-hash-table :test #'eq)))
(dynamic-env '()))
(interpret-ast ast static-env dynamic-env)))
| (cl:in-package #:cleavir-ast-interpreter)
(defgeneric interpret-ast (ast static-env dynamic-env))
(defun interpret (ast)
(let ((static-env (list (make-hash-table :test #'eq)))
(dynamic-env '()))
(interpret-ast ast static-env dynamic-env)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;... | Define method on INTERPRET-AST specialized to CONSTANT-AST. | Define method on INTERPRET-AST specialized to CONSTANT-AST.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
2e44f8ac97d70c2381f82dd42450afae10114f1b | src/md5.lisp | src/md5.lisp | ;;;; Depends on the MD5 library
(in-package :cleric)
(defun calculate-digest (challenge cookie)
(md5:md5sum-string (format nil "~a~a" cookie challenge)))
| ;;;; Depends on the MD5 library
(in-package :cleric)
(defun calculate-digest (challenge cookie)
(let ((input (format nil "~a~a" cookie challenge)))
#+(or :cmu :sbcl (and :lispworks (not :lispworks4)) :ccl :allegro)
(md5:md5sum-string input)
#-(or :cmu :sbcl (and :lispworks (not :lispworks4)) :ccl :alleg... | Make CALCULATE-DIGEST work for all CL implementations. | Make CALCULATE-DIGEST work for all CL implementations.
| Common Lisp | mit | flambard/CLERIC |
e337631f5d469c6e68e39c0379b3d26390990df7 | source/addstr.lisp | source/addstr.lisp | (in-package :de.anvi.croatoan)
(defun add-string (window string &key y x n)
"Add the unrendered string to the window.
If n is given, write at most n chars from the string. If n is -1, as
many chars will be added that will fit on the line.
If the coordinates y and x are given, move to the destination first
and then... | (in-package :de.anvi.croatoan)
;; first attempt to create add-string with attributes and colors
;; without adding a complex-string type first.
(defun add-string (window string &key attributes color-pair y x n)
"Add the unrendered string to the window.
If n is given, write at most n chars from the string. If n is -1... | Modify add-string to accept attributes and colors | Modify add-string to accept attributes and colors
Prelimitary change, uses %chgat internally, and cant display
attributes after a string is line wrapped.
| Common Lisp | mit | McParen/croatoan |
8eb47cb7e18e9921c20d22f03ad26f184e68e862 | Code/Cleavir/HIR-transformations/Simple-value-numbering/simple-value-numbering.lisp | Code/Cleavir/HIR-transformations/Simple-value-numbering/simple-value-numbering.lisp | (cl:in-package #:cleavir-simple-value-numbering)
;;; We attribute a unique number to each value designator. That way,
;;; we can keep the value designators in a partition sorted by the
;;; unique number which makes operations on partitions faster.
;;;
;;; This variable should be bound to some small integer at the
;;;... | (cl:in-package #:cleavir-simple-value-numbering)
;;; We use instances of this class to designate values.
(defclass value-designator ()
())
;;; This variable holds and EQ hash table mapping constants to value
;;; designators.
(defvar *constant-designators*)
(defun constant-designator (constant)
(let ((result (get... | Remove unique number. We will use a different technique. | Remove unique number. We will use a different technique.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
3615ec2328b6f60db1ef8d3832648a83cc471220 | cl-singleton-mixin.lisp | cl-singleton-mixin.lisp | ;;;; cl-singleton-mixin.lisp
;;;;
;;;; Copyright 2015 hipeta (rhipeta@gmail.com)
;;;;
;;;; This software is released under the MIT License.
;;;; http://opensource.org/licenses/mit-license.php
(in-package :cl-user)
(defpackage cl-singleton-mixin
(:use :cl)
(:export :singleton-class
:singleton-mixin
... | ;;;; cl-singleton-mixin.lisp
;;;;
;;;; Copyright 2015 hipeta (rhipeta@gmail.com)
;;;;
;;;; This software is released under the MIT License.
;;;; http://opensource.org/licenses/mit-license.php
(in-package :cl-user)
(defpackage cl-singleton-mixin
(:use :cl)
(:export :singleton-class
:singleton-mixin
... | Add method remove-singleton-instance (class symbol) | Add method remove-singleton-instance (class symbol)
| Common Lisp | mit | hipeta/cl-singleton-mixin |
ad0957a706c00857c8f0078ddf04456720fc8d61 | packagedef.lisp | packagedef.lisp | ;;;; packagedef.lisp
;;;; Author: Elliot Penson
(defpackage :knight-owl
(:use :common-lisp))
| ;;;; packagedef.lisp
;;;; Author: Elliot Penson
(ql:quickload "cl-ppcre")
(defpackage :knight-owl
(:use :common-lisp :cl-ppcre))
| Use cl-ppcre in the knight-owl package | Use cl-ppcre in the knight-owl package
| Common Lisp | mit | ElliotPenson/knight-owl |
a5fe95a4b7c1cdc9802987f35a6c530b8e12dc58 | quickproject.asd | quickproject.asd | ;;;; quickproject.asd
(asdf:defsystem #:quickproject
:serial t
:components ((:file "package")
(:file "quickproject")))
| ;;;; quickproject.asd
(asdf:defsystem #:quickproject
:description "Creates the skeleton of a new Common Lisp project"
:serial t
:components ((:file "package")
(:file "quickproject")))
| Add :description to system definition. | Add :description to system definition.
| Common Lisp | mit | xach/quickproject |
87e9717340d97dffe164edd204973b8ce7671975 | src/deb-package.lisp | src/deb-package.lisp | (in-package #:deb-package)
(ftype get-item list symbol list)
(defun get-item (list keyword)
(rest
(find-if #'(lambda (item)
(getf item keyword))
list)))
(defmacro define-deb-package (name &body forms)
`(let ((name (string-downcase (symbol-name ',name)))
(changelog-entries
... | (in-package #:deb-package)
(ftype get-item list symbol list)
(defun get-item (list keyword)
(rest
(find-if #'(lambda (item)
(getf item keyword))
list)))
(defmacro define-deb-package (name &body forms)
`(let ((changelog-entries
(make-array
,(length (get-item form... | Create the "generate" function and use it. | Create the "generate" function and use it.
| Common Lisp | mit | ralt/deb-packager,ralt/deb-packager |
edceb33ee98aa0b320f2a73443c24cf32247920f | Code/Boot/fill.lisp | Code/Boot/fill.lisp | (cl:in-package #:sicl-boot)
(defun fill-boot (boot)
(customize-c1 boot)
(customize-r1 boot)
(phase1 boot)
(customize-r2 boot)
(customize-c2 boot)
(phase2 boot)
(phase3 boot))
(defmethod initialize-instance :after ((boot boot) &key &allow-other-keys)
(fill-boot boot))
| (cl:in-package #:sicl-boot)
(defun fill-boot (boot)
(customize-c1 boot)
(customize-r2 boot)
(phase1 boot)
(phase2 boot)
(phase3 boot))
(defmethod initialize-instance :after ((boot boot) &key &allow-other-keys)
(fill-boot boot))
| Reorder calls and remove calls that are no longer needed. | Reorder calls and remove calls that are no longer needed.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL |
bcce6a38605a7bc1d60cd6b9fd3f9a1c68264ad8 | environment/transpiler/targets/javascript/main.lisp | environment/transpiler/targets/javascript/main.lisp | ;;;; tré - Copyright (c) 2005-2010,2012 Sven Michael Klose <pixel@copei.de>
(env-load "transpiler/targets/javascript/config.lisp")
(env-load "transpiler/targets/javascript/expand.lisp")
;(env-load "transpiler/targets/javascript/class.lisp")
(env-load "transpiler/targets/javascript/codegen.lisp")
;(env-load "transpiler... | ;;;; tré - Copyright (c) 2005-2010,2012 Sven Michael Klose <pixel@copei.de>
(env-load "transpiler/targets/javascript/config.lisp")
(env-load "transpiler/targets/javascript/expand.lisp")
(env-load "transpiler/targets/javascript/class.lisp")
(env-load "transpiler/targets/javascript/codegen.lisp")
;(env-load "transpiler/... | Use class macros in this directory. | Use class macros in this directory.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
4bd6f2444099642a878924dd7138316c214dda50 | named-readtables/named-readtables.asd | named-readtables/named-readtables.asd |
(defsystem :named-readtables
:description "Library that creates a namespace for named readtable akin to the namespace of packages."
:author "Tobias C. Rittweiler <trittweiler@common-lisp.net>"
:version "1.0"
:licence "BSD"
:serial t
:components
((:file "package")
(:file "destructure-case")
(:file "... |
(defsystem :named-readtables
:description "Library that creates a namespace for named readtable akin to the namespace of packages."
:author "Tobias C. Rittweiler <trittweiler@common-lisp.net>"
:version "1.0 (unpublished so far)"
:licence "BSD"
:serial t
:components
((:file "package")
(:file "utils" ... | Add dependencies to DEFSYSTEM definition. | Add dependencies to DEFSYSTEM definition.
darcs-hash:20090426170432-f5546-a9312c05b5c28d26e1326659b4deccc02c7059ca.gz
| Common Lisp | bsd-3-clause | kmizumar/named-readtables |
31946db9fcf971e476d7b2c9ccc3aea04a52f4c6 | environment/stage5/concat-stringtree.lisp | environment/stage5/concat-stringtree.lisp | ;;;;; TRE environment
;;;;; Copyright (c) 2008-2009 Sven Klose <pixel@copei.de>
(defun concat-stringtree (&rest x)
(apply #'string-concat (tree-list x)))
| ; tré – Copyright (c) 2008–2009,2016 Sven Klose <pixel@copei.de>
(defun %concat-stringtree (x)
(& x
(? (string? x)
x
(apply #'string-concat (@ #'%concat-stringtree x)))))
(defun concat-stringtree (&rest x)
(%concat-stringtree x))
| Concatenate from leaves to root to use less heap. | CONCAT-STRINGTREE: Concatenate from leaves to root to use less heap.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
66f0cb5a4a0e359162359ea763775ead7159f62c | test-case-qsort.lisp | test-case-qsort.lisp | (test-case 'test-case-qsort
'((test test-qsort
((assert-equal '() (qsort '()))
(assert-equal '(1) (qsort '(1)))
(assert-equal '(1 2) (qsort '(1 2)))
(assert-equal '(1 2 3) (qsort '(3 1 2)))
(assert-equal '(1 2 ... | (test-case 'test-case-qsort
'((test test-qsort-without-getter
((assert-equal '() (qsort '()))
(assert-equal '(1) (qsort '(1)))
(assert-equal '(1 2) (qsort '(1 2)))
(assert-equal '(1 2 3) (qsort '(3 1 2)))
(asse... | Test qsort with and without getter | Test qsort with and without getter
| Common Lisp | mit | adjl/PolynomialArithmetic,adjl/PolynomialArithmetic |
34b6fcd712f291f1835d9c98ece4336a3f24f08f | Code/Loop/Test/sicl-loop-test.asd | Code/Loop/Test/sicl-loop-test.asd | (in-package #:cl-user)
(asdf:defsystem :sicl-loop-test
:depends-on (:sicl-loop-support)
:serial t
:components
((:file "test-packages")
(:file "loop-defmacro")
(:file "loop-test")
(:file "simple-loop")
(:file "loop1")
(:file "loop2")
(:file "loop3")
(:file "loop4")
(:file "loop5")
(:f... | (in-package #:asdf-user)
(defsystem :sicl-loop-test
:depends-on (:sicl-loop-support)
:serial t
:components
((:file "test-packages")
(:file "loop-defmacro")
(:file "loop-test")
(:file "simple-loop")
(:file "loop1")
(:file "loop2")
(:file "loop3")
(:file "loop4")
(:file "loop5")
(:file... | Define system in package ASDF-USER. | Define system in package ASDF-USER.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
9a46023d766d61d2b254ab75eba943c14f952ac0 | plugins/restructured-text.lisp | plugins/restructured-text.lisp | (eval-when (:compile-toplevel :load-toplevel)
(ql:quickload 'docutils))
(defpackage :coleslaw-rst
(:use :cl)
(:import-from :coleslaw #:render-content)
(:import-from :cl-docutils #:read-rst
#:write-html)
(:export #:enable))
(in-package :coleslaw-rst)
(defmethod render-content (t... | (eval-when (:compile-toplevel :load-toplevel)
(ql:quickload 'docutils))
(defpackage :coleslaw-rst
(:use :cl)
(:import-from :coleslaw #:render-content)
(:import-from :docutils #:read-rst
#:write-html)
(:export #:enable))
(in-package :coleslaw-rst)
(defmethod render-content (text (f... | Package fix to rst plugin. | Package fix to rst plugin.
| Common Lisp | bsd-2-clause | redline6561/coleslaw,superjudge/coleslaw,6x13/coleslaw,kingcons/coleslaw,Ferada/coleslaw |
1ee2d7ff466816a6ce3934a2a674545ed15731c6 | Code/Environment/constants.lisp | Code/Environment/constants.lisp | (in-package #:sicl-global-environment)
(defconstant nil 'nil)
(defconstant t 't)
| (cl:in-package #:sicl-global-environment)
(defconstant nil 'nil)
(defconstant t 't)
| Use explicit package marker with IN-PACKAGE. | Use explicit package marker with IN-PACKAGE.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL |
c408e1d3d6238baf347ca26790c6e5142b780000 | Binary-tree/rotation.lisp | Binary-tree/rotation.lisp | (cl:in-package #:clump-binary-tree)
(defgeneric rotate-left (tree))
(defgeneric rotate-right (tree))
| (cl:in-package #:clump-binary-tree)
(defgeneric rotate-left (tree))
(defgeneric rotate-right (tree))
(defmethod rotate-left ((tree node))
(when (null (right tree))
(error 'right-subtree-must-be-non-nil :tree tree))
| Add method on ROTATE-LEFT specialized to NODE. | Add method on ROTATE-LEFT specialized to NODE.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
92816756bf8060af5ac9e46f6b9c3788bf4978a9 | Code/Cleavir/Code-utilities/cleavir-code-utilities.asd | Code/Cleavir/Code-utilities/cleavir-code-utilities.asd | (in-package #:common-lisp-user)
(asdf:defsystem cleavir-code-utilities
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "argcount")
(:file "form")
(:file "general")
(:file "declarations")
(:file "lambda-lists")
(:file "destructuring")))
| (in-package #:common-lisp-user)
(asdf:defsystem cleavir-code-utilities
:depends-on (:cleavir-internationalization)
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "argcount")
(:file "form")
(:file "general")
(:file "declarations")
(:file "lambda-lists")
(:file "destru... | Make the system depend on the internationalization system. | Make the system depend on the internationalization system.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL |
18a314354561bf1f35a9ec0138aec1b32231e114 | environment/platforms/shared/url/url-path.lisp | environment/platforms/shared/url/url-path.lisp | ;;;;; tré – Copyright (c) 2009–2014 Sven Michael Klose <pixel@copei.de>
(defun butlast-path-component (x)
(apply #'+ (pad (butlast (path-pathlist x)) "/")))
(defun url-without-filename (x)
(? x
(butlast-path-component x)
""))
(defun url-schema (x)
(car (split #\/ x)))
(defun url-has-schema? (x)
(alet... | ; tré – Copyright (c) 2009–2014,2016 Sven Michael Klose <pixel@copei.de>
(defun butlast-path-component (x)
(pathlist-path (pad (butlast (path-pathlist x)) "/")))
(defun url-without-filename (x)
(? x
(butlast-path-component x)
""))
(defun url-schema (x)
(car (path-pathlist x)))
(defun url-has-schema? (x... | Use PATHLIST-PATH to deal with empty names. | Use PATHLIST-PATH to deal with empty names.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
2b9b04ba2c427feddf5740477399342dcad356ba | Code/Boot/customize-r2.lisp | Code/Boot/customize-r2.lisp | (cl:in-package #:sicl-boot)
(defun customize-r2 (boot)
(let ((c (c1 boot))
(r (r2 boot)))
(define-make-instance boot)
(define-direct-slot-definition-class boot)
(define-find-class boot)
(ld "../CLOS/ensure-generic-function-using-class-support.lisp" c r)))
| (cl:in-package #:sicl-boot)
(defun define-validate-superclass (boot)
(setf (sicl-genv:fdefinition 'sicl-clos:validate-superclass (r2 boot))
(constantly t)))
(defun customize-r2 (boot)
(let ((c (c1 boot))
(r (r2 boot)))
(define-make-instance boot)
(define-direct-slot-definition-class boot)
(define-fi... | Define function VALIDATE-SUPERCLASS in run-time environment R2, always returning true. | Define function VALIDATE-SUPERCLASS in run-time environment R2, always returning true.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
4d51c103d097b52c7ec2b475512b003c8fff33d4 | Code/Types/Additional/sicl-additional-types.asd | Code/Types/Additional/sicl-additional-types.asd | (in-package #:asdf-user)
(defsystem #:sicl-additional-types
:components
((:file "packages")
(:file "types" :depends-on ("packages"))))
| (cl:in-package #:asdf-user)
(defsystem #:sicl-additional-types
:components
((:file "packages")
(:file "types" :depends-on ("packages"))))
| Use explicit package prefix for IN-PACKAGE. | Use explicit package prefix for IN-PACKAGE.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
49445ee964b1bd2ee769832067402c76b131d622 | Code/Boot/create-bridge-class-accessors.lisp | Code/Boot/create-bridge-class-accessors.lisp | (cl:in-package #:sicl-boot)
(defun create-bridge-class-accessors (boot)
(let ((c (c2 boot))
(r (r3 boot)))
(ld "../CLOS/method-function-defgeneric.lisp" c r)))
| (cl:in-package #:sicl-boot)
(defun create-bridge-class-accessors (boot)
(let ((c (c2 boot))
(r (r3 boot)))
(ld "../CLOS/method-function-defgeneric.lisp" c r)
(ld "../CLOS/method-generic-function-defgeneric.lisp" c r)
(ld "../CLOS/method-lambda-list-defgeneric.lisp" c r)
(ld "../CLOS/method-qualifiers-defgen... | Load more files containing definitions of class accessors. | Load more files containing definitions of class accessors.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
03d14f54b77e5af93c4c8eccc222927429cdd9a9 | Code/Cons-high/sicl-cons-high.asd | Code/Cons-high/sicl-cons-high.asd | (in-package #:asdf-user)
;;;; Copyright (c) 2008 - 2015
;;;;
;;;; Robert Strandh (robert.strandh@gmail.com)
;;;;
;;;; all rights reserved.
;;;;
;;;; Permission is hereby granted to use this software for any
;;;; purpose, including using, modifying, and redistributing it.
;;;;
;;;; The software is provided "as-is... | (cl:in-package #:asdf-user)
;;;; Copyright (c) 2008 - 2015
;;;;
;;;; Robert Strandh (robert.strandh@gmail.com)
;;;;
;;;; all rights reserved.
;;;;
;;;; Permission is hereby granted to use this software for any
;;;; purpose, including using, modifying, and redistributing it.
;;;;
;;;; The software is provided "as... | Use explicit package marker with IN-PACKAGE. | Use explicit package marker with IN-PACKAGE.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL |
351a3be2df71779c581399fc6bfeac5c36293611 | all.lisp | all.lisp | (in-package :cl-user)
(uiop/package:define-package :clutils/all
(:nicknames :clutils)
(:use :cl)
(:use-reexport
:clutils/functional
:clutils/math
:clutils/strings
:clutils/macros
:clutils/lists
:clutils/sequences
:clutils/packages
:clutils/project))
| (in-package :cl-user)
(uiop/package:define-package :clutils/all
(:nicknames :clutils :clu)
(:use :cl)
(:use-reexport
:clutils/functional
:clutils/math
:clutils/strings
:clutils/macros
:clutils/lists
:clutils/sequences
:clutils/packages
:clutils/project))
| Add package nickname :clu as shortcut. | Add package nickname :clu as shortcut.
| Common Lisp | mit | rudolfochrist/clutils |
fb642fd846fc68035763fec47dc3d0cfa7a63dca | Code/Backends/Processors/x86/64/HIR-to-MIR/sicl-hir-to-mir.asd | Code/Backends/Processors/x86/64/HIR-to-MIR/sicl-hir-to-mir.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem #:sicl-hir-to-mir
:depends-on (:cleavir-hir-to-mir
:cleavir-processor-x86-64
:sicl-target-sicl)
:serial t
:components
((:file "packages")
(:file "general")
(:file "cons")
(:file "integer")
(:file "environment-related-instructions"))... | (cl:in-package #:asdf-user)
(defsystem #:sicl-hir-to-mir
:depends-on (:cleavir-hir-to-mir
:cleavir-processor-x86-64
:sicl-target-sicl)
:serial t
:components
((:file "packages")
(:file "general")
(:file "cons")
(:file "integer")
(:file "environment-related-instructions")))
| Define system in package ASDF-USER. | Define system in package ASDF-USER.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL |
d7e621a43b0eb0a96e966fc2663d1d34026e1cd3 | glop.asd | glop.asd | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; indent-tabs-mode: nil -*-
(asdf:defsystem glop
:license "MIT"
:version "git"
:description "Direct FFI bindings for OpenGL window and context management"
:author "Morgan Veyret <patzy at appart kicks-ass net>"
:depends-on (:cffi)
:components
((:modu... | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; indent-tabs-mode: nil -*-
(asdf:defsystem glop
:license "MIT"
:version "0.1.0"
:description "Direct FFI bindings for OpenGL window and context management"
:author "Morgan Veyret <patzy at oxyde dot org>"
:depends-on (:cffi)
:components
((:module "s... | Fix invalid asdf version string and contact email | Fix invalid asdf version string and contact email
| Common Lisp | mit | lispgames/glop,patzy/glop,3b/glop,Ralith/glop,johnfredcee/glop |
a221e68f78b6e50e5e26ef320410158d027e2515 | 2-3-tree/2-3-tree.lisp | 2-3-tree/2-3-tree.lisp | (cl:in-package #:clump-2-3-tree)
(defclass tree ()
((%contents :initform nil :accessor contents)))
(defclass node ()
((%parent :initarg :parent :accessor parent)))
(defclass leaf (node)
((%contents :initarg :contents :accessor contents)))
(defclass 2-node (node)
((%left :initarg :left :accessor left)
(%r... | (cl:in-package #:clump-2-3-tree)
(defclass tree ()
((%contents :initform nil :accessor contents)))
(defclass node ()
((%parent :initarg :parent :accessor parent)))
(defclass leaf (node)
((%contents :initarg :contents :accessor contents)))
(defclass 2-node (node)
((%left :initarg :left :accessor left)
(%r... | Define new class 3-NODE for the nodes with 3 children of the 2-3 tree. | Define new class 3-NODE for the nodes with 3 children of the 2-3 tree.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
4ed92134a64e42496f39c0eadab462bf3e596ce7 | Code/CLOS/slot-definition-defclass.lisp | Code/CLOS/slot-definition-defclass.lisp | (cl:in-package #:sicl-clos)
(defclass slot-definition (metaobject)
((%name
:initarg :name
:reader slot-definition-name)
(%allocation
:initarg :allocation
:initform :instance
:reader slot-definition-allocation)
(%type
:initarg :type
:initform t
:reader slot-definition-type)
... | ;;;; Copyright (c) 2013 - 2015
;;;;
;;;; Robert Strandh (robert.strandh@gmail.com)
;;;;
;;;; All rights reserved.
;;;;
;;;; Redistribution and use in source and binary forms, with or
;;;; without modification, are permitted provided that the following
;;;; conditions are met:
;;;;
;;;; 1. Redistributions of source ... | Add copyright dates and license statement. | Add copyright dates and license statement.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL |
7c1c8844bc1c9504391b79e900ea0d0dfc7cda70 | libraries/download-manager/tests/tests.lisp | libraries/download-manager/tests/tests.lisp | ;;;; SPDX-FileCopyrightText: Atlas Engineer LLC
;;;; SPDX-License-Identifier: BSD-3-Clause
(in-package :cl-user)
(uiop:define-package download-manager/tests
(:use #:common-lisp #:prove)
(:import-from #:download-manager))
(in-package :download-manager/tests)
(plan nil)
(subtest "Simple HTTP/HTTPS downloads"
(le... | ;;;; SPDX-FileCopyrightText: Atlas Engineer LLC
;;;; SPDX-License-Identifier: BSD-3-Clause
(in-package :cl-user)
(uiop:define-package download-manager/tests
(:use #:common-lisp #:prove)
(:import-from #:download-manager))
(in-package :download-manager/tests)
(plan nil)
(subtest "Simple HTTP/HTTPS downloads"
(le... | Use Nyxt specific site instead of Atlas. | libraries/download-manager: Use Nyxt specific site instead of Atlas.
It's more frequently used, so in case the certificate expires, we are more
likely to notice it.
Plus it's more related to Nyxt.
| Common Lisp | bsd-3-clause | jmercouris/NeXT,jmercouris/NeXT |
935121274d9de60a72489faaefaf2b950572b656 | Code/CLOS/method-initialization-defmethods.lisp | Code/CLOS/method-initialization-defmethods.lisp | (cl:in-package #:sicl-clos)
;;; The method defined here is meant to implement the behavior
;;; described in "Initialization of Method Metaobjects" in the AMOP.
;;; FIXME: Here, I specialize on METHOD, but check whether the
;;; specialization should be reserved for STANDARD-METHOD instead.
(defmethod initialize-insta... | (cl:in-package #:sicl-clos)
;;; The method defined here is meant to implement the behavior
;;; described in "Initialization of Method Metaobjects" in the AMOP.
;;; FIXME: Here, I specialize on METHOD, but check whether the
;;; specialization should be reserved for STANDARD-METHOD instead.
(defmethod initialize-insta... | Allow for :SLOT-DEFINITION initarg by adding &allow-other-keys. | Allow for :SLOT-DEFINITION initarg by adding &allow-other-keys.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
9b52d2610bf3bfcd3428ef8818384e599afb80a2 | Code/CLOS/additional-classes.lisp | Code/CLOS/additional-classes.lisp | (in-package #:sicl-clos)
(define-built-in-class sequence (t)
())
(define-built-in-class list (sequence)
())
(define-built-in-class symbol ()
((%name :initarg :name :reader symbol-name)
(%package :initarg :package :reader symbol-package)))
(define-built-in-class null (symbol list)
())
| (in-package #:sicl-clos)
;;; We need for funcallable standard objects and standard functions to
;;; be called the same way. There is a slight difficulty in order for
;;; that to happen, though. When a funcallable standard object is
;;; allocated, since it is a standard object, two additional cells are
;;; allocated ... | Define STANDARD-FUNCTION and explain why it is defined that way in comment. | Define STANDARD-FUNCTION and explain why it is defined that way in comment.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
6376c3599bbaea540b2d602d73ba2b665f1c2b23 | Code/Types/sicl-type.asd | Code/Types/sicl-type.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :sicl-type
:components
((:file "packages")))
| (cl:in-package #:asdf-user)
(defsystem :sicl-type
:components
((:file "packages")))
| Define system in package ASDF-USER. | Define system in package ASDF-USER.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL |
ee4d81082b0ee373fe87259ecd18e8a4ded36a0d | src/package.lisp | src/package.lisp | ;;;; package.lisp
(defpackage #:sdl2
(:use #:cl #:alexandria #:cffi)
(:export :sys-video
:sys-audio
:sys-timer
:sys-joystick
:sys-gamecontroller ; implies joystick
:noparachute
:everything
:init
:quit
:create-window
... | ;;;; package.lisp
(defpackage #:sdl2
(:use #:cl #:alexandria #:cffi)
(:export ;; API
#:init
#:quit
#:create-window
#:destroy-window
;; Conditions
#:sdl-error))
(defpackage #:sdl2-ffi)
| Remove some now-spurious exports, export conditions, use uninterned symbols | Remove some now-spurious exports, export conditions, use uninterned symbols
| Common Lisp | mit | lispgames/cl-sdl2,zombie-raptor/cl-sdl2,lispgames/cl-sdl2,zombie-raptor/cl-sdl2 |
8f3893126893bfdf07708d017b78e0dc8349e424 | Code/Reader/Fast/sicl-read.asd | Code/Reader/Fast/sicl-read.asd | (in-package #:common-lisp-user)
(asdf:defsystem :sicl-read
:components
((:file "packages" :depends-on ())
(:file "float" :depends-on ("packages"))
(:file "read" :depends-on ("packages" "float"))))
| (in-package #:asdf-user)
(defsystem :sicl-read
:components
((:file "packages" :depends-on ())
(:file "float" :depends-on ("packages"))
(:file "read" :depends-on ("packages" "float"))))
| Define ASDF system in package ASDF-USER. | Define ASDF system in package ASDF-USER.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
151994278915227777610605f2d61db88d179ecb | monkeylib-markup-xml.asd | monkeylib-markup-xml.asd | ;;
;; Copyright (c) 2010, Peter Seibel. All rights reserved.
;;
(defsystem monkeylib-markup-xml
:name "monkeylib-markup-xml"
:components
((:file "packages")
(:file "xml" :depends-on ("packages")))
:depends-on
(:com.gigamonkeys.macro-utilities
:com.gigamonkeys.utilities
:com.gigamonkeys.foo))
| ;;
;; Copyright (c) 2010, Peter Seibel. All rights reserved.
;;
(defsystem monkeylib-markup-xml
:name "monkeylib-markup-xml"
:description "Library for generating XML from Markup-formatted text."
:components
((:file "packages")
(:file "xml" :depends-on ("packages")))
:depends-on
(:com.gigamonkeys.macro-u... | Add description to .asd file. | Add description to .asd file.
| Common Lisp | bsd-3-clause | gigamonkey/monkeylib-markup-xml |
3208a53b4c8fbcd549dd063a5339a98636d0f9e3 | Code/Compiler/Extrinsic-environment/load-file-defun.lisp | Code/Compiler/Extrinsic-environment/load-file-defun.lisp | (cl:in-package #:sicl-extrinsic-environment)
(defun load-file (filename environment)
(load-source-with-environments
(asdf:system-relative-pathname :sicl-extrinsic-hir-compiler filename)
environment
environment))
| (cl:in-package #:sicl-extrinsic-environment)
(defun load-file (filename environment)
(load-source-with-environments
(asdf:system-relative-pathname :sicl-extrinsic-environment filename)
environment
environment))
| Replace ASDF system used for relative pathnames. | Replace ASDF system used for relative pathnames.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
5f8e003f48b56dd204b25ed4eb35c708b75d5474 | environment/transpiler/targets/common-lisp/toplevel.lisp | environment/transpiler/targets/common-lisp/toplevel.lisp | ; tré – Copyright (c) 2005–2014 Sven Michael Klose <pixel@copei.de>
(defun tre-expansions (x)
(backquote-expand (quasiquote-expand (macroexpand (dot-expand x)))))
(defun expr2cl (x) (make-lambdas (tre-expansions x)))
(defun file2cl (pathname) (expr2cl (read-file pathname)))
(defun files2cl (... | ; tré – Copyright (c) 2005–2014 Sven Michael Klose <pixel@copei.de>
(defun cl-expex-initializer (ex)
(= (expex-argument-filter ex) #'identity
(expex-setter-filter ex) #'identity))
(defun cl-frontend (x)
(aprog1 (transpiler-macroexpand (quasiquote-expand (dot-expand x)))
(fake-expression-expand (fake-pl... | Make lambda exoression in (POSTPROCESSOR). | Make lambda exoression in (POSTPROCESSOR).
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
a31c333b8eabf448467eb907893967442dd2c29a | Code/Boot/create-bridge-classes.lisp | Code/Boot/create-bridge-classes.lisp | (cl:in-package #:sicl-boot)
(defun create-bridge-classes (boot)
(let ((c (c1 boot))
(r (r2 boot)))
(ld "../CLOS/t-defclass.lisp" c r)
(ld "../CLOS/standard-object-defclass.lisp" c r)
(ld "../CLOS/metaobject-defclass.lisp" c r)
(ld "../CLOS/method-combination-defclass.lisp" c r)
(ld "../CLOS/spec... | (cl:in-package #:sicl-boot)
(defun create-bridge-classes (boot)
(let ((c (c1 boot))
(r (r2 boot)))
(ld "../CLOS/t-defclass.lisp" c r)
(ld "../CLOS/standard-object-defclass.lisp" c r)
(ld "../CLOS/metaobject-defclass.lisp" c r)
(ld "../CLOS/method-combination-defclass.lisp" c r)
(ld "../CLOS/slot... | Load a file containing the definition of SLOT-DEFINITION. | Load a file containing the definition of SLOT-DEFINITION.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
903fdb69aadeb249f31fcb37f9e5c8ea28ef7c21 | Code/Backends/Extrinsic-HIR-compiler/load-files.lisp | Code/Backends/Extrinsic-HIR-compiler/load-files.lisp | (cl:in-package #:sicl-extrinsic-hir-compiler)
(defun rp (filename)
(asdf:system-relative-pathname :sicl-extrinsic-hir-compiler filename))
(load (rp "../../Evaluation-and-compilation/lambda.lisp"))
(load (rp "../../Environment/multiple-value-bind.lisp"))
(load (rp "../../Data-and-control-flow/setf.lisp"))
(load (rp ... | (cl:in-package #:sicl-extrinsic-hir-compiler)
(defun rp (filename)
(asdf:system-relative-pathname :sicl-extrinsic-hir-compiler filename))
(load (rp "../../Evaluation-and-compilation/lambda.lisp"))
(load (rp "../../Environment/multiple-value-bind.lisp"))
(load (rp "../../Data-and-control-flow/setf.lisp"))
(load (rp ... | Load new file with definition of ENSURE-GENERIC-FUNCTION. | Load new file with definition of ENSURE-GENERIC-FUNCTION.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
5b4635e5a891aaab2cd07790256367ee145ab202 | locales/pt-br.lisp | locales/pt-br.lisp | (in-package :local-time-locale)
(defmethod make-locale ((class (eql :pt-bz)))
(make-instance 'locale-pt
:first-day-of-week 0)) | (in-package :local-time-locale)
(defmethod make-locale ((class (eql :pt-br)))
(make-instance 'locale-pt
:first-day-of-week 0)) | Complete the renameing of brazilian portuguese | Complete the renameing of brazilian portuguese
| Common Lisp | mit | webcheckout/local-time-locale |
409e0237f5660de1db210da76b8885dd896c8289 | cl-singleton-mixin.lisp | cl-singleton-mixin.lisp | ;;;; cl-singleton-mixin.lisp
;;;;
;;;; Copyright 2015 hipeta (rhipeta@gmail.com)
;;;;
;;;; This software is released under the MIT License.
;;;; http://opensource.org/licenses/mit-license.php
(in-package :cl-user)
(defpackage cl-singleton-mixin
(:use :cl)
(:export :singleton-class
:singleton-mixin
... | ;;;; cl-singleton-mixin.lisp
;;;;
;;;; Copyright 2015 hipeta (rhipeta@gmail.com)
;;;;
;;;; This software is released under the MIT License.
;;;; http://opensource.org/licenses/mit-license.php
(in-package :cl-user)
(defpackage cl-singleton-mixin
(:use :cl)
(:export :singleton-class
:singleton-mixin
... | Modify some code for metap changed | Modify some code for metap changed
| Common Lisp | mit | hipeta/cl-singleton-mixin |
4522ecfd97d94194fdae745f18c07099d1a9ddcd | cl-markdown-test.asd | cl-markdown-test.asd | ;;; -*- Mode: Lisp; package: CL-USER; Syntax: Common-lisp; Base: 10 -*-
#|
|#
(in-package #:common-lisp-user)
(defpackage #:cl-markdown-test-system (:use #:cl #:asdf))
(in-package #:cl-markdown-test-system)
(defsystem cl-markdown-test
:version "0.1"
:author "Gary Warren King <gwking@metabang.com>"
:maintaine... | ;;; -*- Mode: Lisp; package: CL-USER; Syntax: Common-lisp; Base: 10 -*-
(in-package #:common-lisp-user)
(defpackage #:cl-markdown-test-system (:use #:cl #:asdf))
(in-package #:cl-markdown-test-system)
(defsystem cl-markdown-test
:version "0.1"
:author "Gary Warren King <gwking@metabang.com>"
:maintainer "Gary ... | Split tests into tests and create comparison report | Split tests into tests and create comparison report
darcs-hash:20060925005623-3cc5d-c1498fe15c016b82881c0ab84c821ed053b3d098.gz
| Common Lisp | mit | gwkkwg/cl-markdown |
1eaca8500caf5201f2c92aeba197b208e98a721c | code/utilities/petalisp.utilities.asd | code/utilities/petalisp.utilities.asd | (defsystem "petalisp.utilities"
:author "Marco Heisig <marco.heisig@fau.de>"
:license "AGPLv3"
:depends-on ()
:serial t
:components
((:file "packages")
(:file "identical")
(:file "memoization")
(:file "extended-euclid")
(:file "define-method-pair")
(:file "define-class-predicate")
(:file... | (defsystem "petalisp.utilities"
:author "Marco Heisig <marco.heisig@fau.de>"
:license "AGPLv3"
:depends-on ("alexandria")
:serial t
:components
((:file "packages")
(:file "identical")
(:file "memoization")
(:file "extended-euclid")
(:file "define-method-pair")
(:file "define-class-predicate... | Make petalisp.utilties depend on alexandria. | Make petalisp.utilties depend on alexandria.
| Common Lisp | agpl-3.0 | marcoheisig/Petalisp,marcoheisig/Petalisp |
3d45b9230b0a03303e5692f68c2001c3529cf585 | environment/version.lisp | environment/version.lisp | ;;;;; tré – Copyright (c) 2009,2011–2012 Sven Michael Klose <pixel@copei.de>
(defvar *tre-revision*
,(with-open-file in (open "_current-version" :direction 'input)
(let l (string-list (read-line in))
(list-string (subseq l
(!? (position #\: l)
... | ;;;;; tré – Copyright (c) 2009,2011–2012 Sven Michael Klose <pixel@copei.de>
(defvar *tre-revision*
,(with-open-file in (open "_current-version" :direction 'input)
(let l (string-list (read-line in))
(list-string
(alet (subseq l
(!? (position #\: l)
... | Remove "M" from revision number. | Remove "M" from revision number.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
ac2baf7773c4d96b09bc202fd0d2ea13a46dfd33 | alists.lisp | alists.lisp | (in-package :cl-user)
(defpackage :nellie.alists
(:use :cl)
(:nicknames #:alists)
(:export #:alist-get
#:alist-get-str
#:alist-set
#:alist-update
#:alist-merge))
(in-package :nellie.alists)
(defun alist-get (key alist)
(cdr (assoc key alist)))
(defun alist-get-str ... | (in-package :cl-user)
(defpackage :nellie.alists
(:use :cl)
(:nicknames #:alists)
(:export #:alist-get
#:alist-get-str
#:alist-set
#:alist-update
#:alist-merge))
(in-package :nellie.alists)
(defun alist-get (alist key &key (test #'eql))
(cdr (assoc key alist :test t... | Make `alist` the first parameter of all the alist handling functions | Make `alist` the first parameter
of all the alist handling functions
| Common Lisp | mit | mikeivanov/nellie,mikeivanov/nellie |
8cd0f2313319a74e32dcfe3a0963e807c199fa18 | Code/Boot/Phase1/fill.lisp | Code/Boot/Phase1/fill.lisp | (cl:in-package #:sicl-boot-phase1)
(defun ld (filename environment)
(format *trace-output* "Loading file ~a~%" filename)
(finish-output *trace-output*)
(sicl-extrinsic-environment:load-source-with-environments
filename (compilation-environment environment) environment))
(defun fill-environment (environment)
... | (cl:in-package #:sicl-boot-phase1)
(defun ld (filename environment)
(format *trace-output* "Loading file ~a~%" filename)
(finish-output *trace-output*)
(sicl-extrinsic-environment:load-source-with-environments
filename (compilation-environment environment) environment))
(defun fill-environment (environment)
... | Load file containing definition of class METAOBJECT. | Load file containing definition of class METAOBJECT.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL |
bffda2348a74a4bac684a083227a3445f5d54efb | tutorial-builder.asd | tutorial-builder.asd | ;;;; tutorial-builder.asd
(asdf:defsystem #:tutorial-builder
:serial t
:description "A library for presenting md files as tutorials."
:author "Matt Niemeir <matt.niemeir@gmail.com>"
:license "BSD 2-clause"
:depends-on (#:lazy-susan
#:dishes
#:uiop
#:alexandria
... | ;;;; tutorial-builder.asd
(asdf:defsystem #:tutorial-builder
:serial t
:description "A library for presenting md files as tutorials."
:author "Matt Niemeir <matt.niemeir@gmail.com>"
:license "BSD 2-clause"
:depends-on (#:lazy-susan
#:dishes
#:uiop
#:alexandria
... | Fix name of utils.lisp in the asd | Fix name of utils.lisp in the asd
| Common Lisp | bsd-2-clause | m-n/rundown |
d7092efa7bbac7d3421d1eee272f07b84318c6ce | cl-rfc3339.asd | cl-rfc3339.asd | (asdf:defsystem cl-rfc3339
:author "Gregory Tod <lisp@gtod.net>"
:version "0.1.0"
:license "MIT"
:description "Canonicalize time formats to a specifc RFC 3339 compliant string."
:depends-on (#:local-time)
:components ((:file "package")
(:file "rfc3339")))
| (asdf:defsystem cl-rfc3339
:author "Gregory Tod <lisp@gtod.net>"
:version "0.1.0"
:license "MIT"
:description "Canonicalize time formats to a specific RFC 3339 compliant string."
:depends-on (#:local-time)
:components ((:file "package")
(:file "rfc3339")))
| Fix typo in system description | Fix typo in system description
| Common Lisp | mit | gtod/cl-rfc3339 |
1ba3bb478488d4b7656b9e9d8a95a15ef23e8a50 | Code/Boot/customize-r1.lisp | Code/Boot/customize-r1.lisp | (cl:in-package #:sicl-boot)
(defun define-ensure-generic-function-r1 (boot)
(setf (sicl-genv:fdefinition 'ensure-generic-function (r1 boot))
(lambda (function-name &rest arguments)
(let ((args (copy-list arguments)))
(loop while (remf args :environment))
(if (sicl-genv:fboundp function-name (r1 boot))
... | (cl:in-package #:sicl-boot)
;;; We define a special version of ENSURE-GENERIC-FUNCTION in the
;;; run-time environment R1. While the function is defined in the
;;; run-time environment R1, it operates on the run-time environment
;;; R2. This version checks whether there is already a function named
;;; FUNCTION-NAME ... | Define function in R1, but operate on R2. | Define function in R1, but operate on R2.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
56b1ed84a1d52a63667955ac0dafe62936d132fa | bit-smasher.asd | bit-smasher.asd | ;;;; bit-smasher.asd
;;;; Copyright (c) 2014--2015, "the Phoeron" Colin J.E. Lupton <//thephoeron.com>
;;;; See LICENSE for additional information.
(in-package :cl-user)
(defpackage bit-smasher-asd
(:use :cl :asdf)
(:export #:*bit-smasher-version*))
(in-package :bit-smasher-asd)
(defparameter *bit-smasher-vers... | ;;;; bit-smasher.asd
;;;; Copyright (c) 2014--2015, "the Phoeron" Colin J.E. Lupton <//thephoeron.com>
;;;; See LICENSE for additional information.
(in-package :cl-user)
(defpackage bit-smasher-asd
(:use :cl :asdf)
(:export #:*bit-smasher-version*))
(in-package :bit-smasher-asd)
(defparameter *bit-smasher-vers... | Remove Ironclad from system def | Remove Ironclad from system def | Common Lisp | mit | thephoeron/bit-smasher |
011a1893c7bdc95289b1742ebe3787056006a257 | Code/Cleavir/Type-inference/transfer.lisp | Code/Cleavir/Type-inference/transfer.lisp | (cl:in-package #:cleavir-type-inference)
(defgeneric transfer (instruction input-bag))
(defmethod transfer (instruction input-bag)
(loop with result = input-bag
for output in (cleavir-ir:outputs instruction)
when (typep output 'cleavir-ir:lexical-location)
do (setf result (update output t result))
finally (re... | (cl:in-package #:cleavir-type-inference)
(defgeneric one-successor-transfer (instruction input-bag))
(defmethod one-successor-transfer (instruction input-bag)
(loop with result = input-bag
for output in (cleavir-ir:outputs instruction)
when (typep output 'cleavir-ir:lexical-location)
do (setf result (update ou... | Rename in preparation for a TWO-SUCCESSORS-TRANSFER function. | Rename in preparation for a TWO-SUCCESSORS-TRANSFER function.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
9379a4ba0b9da00b7199dcf20e6267dae810df8f | environment/transpiler/targets/javascript/environment/function-source.lisp | environment/transpiler/targets/javascript/environment/function-source.lisp | ;;;; tré - Copyright (c) 2011 Sven Klose <pixel@copei.de>
(defun function-arguments (fun)
(awhen fun.__source
!.))
(defun function-body (fun)
(awhen fun.__source
.!))
| ;;;; tré - Copyright (c) 2011 Sven Klose <pixel@copei.de>
(defun function-arguments (fun)
(? fun
(aif fun.__source
!.
'(&rest unknown-args))
'(&rest unknown-args)))
(defun function-body (fun)
(awhen fun.__source
.!))
| Allow calls to unknown functions. | Allow calls to unknown functions.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
b517e93c20fc4d10cd9c81a90be89f078c123470 | 2-3-tree/deletion.lisp | 2-3-tree/deletion.lisp | (cl:in-package #:clump-2-3-tree)
(defgeneric delete (leaf))
(defgeneric delete-child (parent child))
(defgeneric replace-and-shrink (parent child))
(defmethod delete ((leaf leaf))
(delete-child (parent leaf) leaf))
| (cl:in-package #:clump-2-3-tree)
(defgeneric delete (leaf))
(defgeneric delete-child (parent child))
(defgeneric replace-and-shrink (parent child))
(defmethod delete ((leaf leaf))
(delete-child (parent leaf) leaf))
(defmethod delete-child ((tree tree) child)
(declare (ignore child))
(setf (contents tree) nil... | Define method on DELETE-CHILD specialized to TREE. | Define method on DELETE-CHILD specialized to TREE.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
902b26244bdbedbb2cf5b3968ecd1984bd606c41 | tests/tests.lisp | tests/tests.lisp | (in-package :magicffi-test)
(defun do-test (testfile resultfile)
(with-open-magic (cookie '(:none))
(format t ";;; Loading ~A...~%" *magic-database*)
(magic-load cookie)
(format t ";;; Determining ~A...~%" testfile)
(let* ((result (magic-file cookie testfile))
(desired (read-file-into-stri... | (in-package :magicffi-test)
(defun do-test (testfile resultfile)
(with-open-magic (cookie '(:none))
(format t ";;; Loading ~A...~%" *magic-database*)
(magic-load cookie)
(format t ";;; Determining ~A...~%" testfile)
(let* ((result (magic-file cookie testfile))
(desired (read-file-into-stri... | Add test code for MAGIC-BUFFER. | Add test code for MAGIC-BUFFER.
| Common Lisp | bsd-2-clause | dochang/magicffi |
5292e54140b90b4da535696b474ec54631b71f88 | nellie.asd | nellie.asd | (in-package :cl-user)
(defpackage :nellie.asd
(:use :cl :asdf))
(in-package :nellie.asd)
(asdf:defsystem #:nellie
:serial t
:description "Away from the circus"
:version "0.1"
:author "Mike Ivanov"
:license "LGPLv3"
:depends-on (:iterate :drakma :flexi-streams :cl-ppcre :cl-json
:getopt :... | (in-package :cl-user)
(defpackage :nellie.asd
(:use :cl :asdf))
(in-package :nellie.asd)
(asdf:defsystem #:nellie
:serial t
:description "Away from the circus"
:version "0.1"
:author "Mike Ivanov"
:license "LGPLv3"
:depends-on (:iterate :drakma :flexi-streams :cl-ppcre :cl-json
:getopt :... | Remove the hcat.lisp reference (for now). | Remove the hcat.lisp reference (for now).
| Common Lisp | mit | mikeivanov/nellie,mikeivanov/nellie |
2b77eb1ca3f619fb2e62d2d0176383dd49a31407 | examples/defglobal.lisp | examples/defglobal.lisp | #|
This file is a part of cl-cuda project.
Copyright (c) 2012 Masayuki Takagi (kamonama@gmail.com)
|#
(in-package :cl-user)
(defpackage cl-cuda-examples.defglobal
(:use :cl :cl-cuda)
(:export :main))
(in-package :cl-cuda-examples.defglobal)
(setf cl-cuda:*show-messages* nil)
;;
;; Globals
(defglobal foo in... | #|
This file is a part of cl-cuda project.
Copyright (c) 2012 Masayuki Takagi (kamonama@gmail.com)
|#
(in-package :cl-user)
(defpackage cl-cuda-examples.defglobal
(:use :cl :cl-cuda)
(:export :main))
(in-package :cl-cuda-examples.defglobal)
(setf cl-cuda:*show-messages* nil)
;;
;; Globals
(defglobal foo in... | Add qualifiers to DEFGLOBAL example. | Add qualifiers to DEFGLOBAL example.
| Common Lisp | lgpl-2.1 | takagi/cl-cuda,takagi/cl-cuda |
20745c5b439e8e86de727c7ae3e40e7e7ee695bc | src/protocol.lisp | src/protocol.lisp | (in-package :kit.gl)
;;; Protocol for everyone
(defgeneric gl-delete-object (gl-object)
(:documentation "Call the appropriate gl* function to free the resource
`GL-OBJECT`."))
(defun gl-delete (&rest gl-objects)
"Delete `GL-OBJECTS` by calling `GL-DELETE-OBJECT` on each."
(map nil #'gl-delete-object gl-objects... | (in-package :kit.gl)
;;; Protocol for everyone
(defgeneric gl-delete-object (gl-object)
(:documentation "Call the appropriate gl* function to free the resource
`GL-OBJECT`."))
(defmethod gl-delete-object ((gl-objects list))
(map nil #'gl-delete-object gl-objects))
(defmethod gl-delete-object ((gl-objects vector... | Allow vectors and lists of objects to be passed to GL-DELETE(-OBJECT) | Allow vectors and lists of objects to be passed to GL-DELETE(-OBJECT)
| Common Lisp | mit | lispgames/glkit |
4586259468fa42f82940b08d7fc03e6247c4425c | source/insch.lisp | source/insch.lisp | (in-package :de.anvi.croatoan)
(defun insert-char (window char &key attributes color-pair y x)
"Insert char into window before the character currently under the cursor.
Chars right of the cursor are moved one position to the right.
The rightmost character on the line may be lost. The position of the
cursor is not c... | (in-package :de.anvi.croatoan)
(defun insert-char (window char &key attributes color-pair y x)
"Insert char into window before the character currently under the cursor.
Chars right of the cursor are moved one position to the right.
The rightmost character on the line may be lost. The position of the
cursor is not c... | Refactor insert-char to use char2chtype | Refactor insert-char to use char2chtype
| Common Lisp | mit | McParen/croatoan |
37c951ec2617e9137d97bcbd77a0abff570407ec | tests/macro-tools.lisp | tests/macro-tools.lisp | (in-package :serapeum.tests)
(def-suite macro-tools :in serapeum)
(in-suite macro-tools)
(test read-only-var
(let ((x 1))
(with-read-only-vars (x)
(is (eql x 1)))))
(test read-only-var-warning
(if (can-introspect-environment?)
(signals warning
(compile nil
'(lambda ()
... | (in-package :serapeum.tests)
(def-suite macro-tools :in serapeum)
(in-suite macro-tools)
(test read-only-var
(let ((x 1))
(with-read-only-vars (x)
(is (eql x 1)))))
(test read-only-var-warning
(if (can-introspect-environment?)
(signals warning
(compile nil
'(lambda ()
... | Test for eval-if-constant in an environment. | Test for eval-if-constant in an environment.
| Common Lisp | mit | TBRSS/serapeum |
659e20b34029254b03d1564b858bdec26b886acb | Code/Environment/defun.lisp | Code/Environment/defun.lisp | (cl:in-package #:sicl-global-environment)
(defmacro defun (name lambda-list &body body)
(multiple-value-bind (declarations documentation forms)
(cleavir-code-utilities:separate-function-body body)
;; FIXME: handle documentation
(declare (ignore documentation))
(let ((definition `(lambda ,lambda-lis... | (cl:in-package #:sicl-global-environment)
(defmacro defun (&environment env name lambda-list &body body)
(multiple-value-bind (declarations documentation forms)
(cleavir-code-utilities:separate-function-body body)
(let ((global-env (cleavir-env:global-environment env))
(arg-type
(cleavir-code-utili... | Set function type at compile time. | Set function type at compile time.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
2d40af6f0a70ca53f15110a7a64886af0e5ac2e7 | packages.lisp | packages.lisp | (in-package :cl-user)
(defpackage :manifest
(:use :cl :toot :split-sequence :closer-mop :monkeylib-html :monkeylib-text-output)
(:shadowing-import-from :closer-mop
:defmethod
:defgeneric
:standard-generic-function)
(:export :start
... | (in-package :cl-user)
(defpackage :manifest
(:use :closer-common-lisp
:monkeylib-html
:monkeylib-text-output
:toot
:split-sequence)
(:export :start
:stop))
| Fix defpackage for proper use of Closer MOP | Fix defpackage for proper use of Closer MOP
| Common Lisp | bsd-2-clause | gigamonkey/manifest,gigamonkey/manifest |
a32c3d576ccb4dd51da203185a7c91a8ce1f0cdc | src/brreg.lisp | src/brreg.lisp | (in-package :brreg)
(push (cons "application" "json") drakma:*text-content-types*)
(defun get-jsonhash (orgnummer)
(when (and (every #'digit-char-p orgnummer)
(= (length orgnummer) 9))
(multiple-value-bind (response status)
(drakma:http-request
(format nil "http://data.brreg.no/en... | (in-package :brreg)
(push (cons "application" "json") drakma:*text-content-types*)
(defun get-jsonhash (orgnummer)
(when (and (every #'digit-char-p orgnummer)
(= (length orgnummer) 9))
(multiple-value-bind (response status)
(drakma:http-request
(format nil "http://data.brreg.no/en... | Fix problem with get-name and empty hash. | Fix problem with get-name and empty hash.
| Common Lisp | mit | torhenrik/cl-brreg |
c3d3f89f0fe876b2549e28aa1c67a5aa5f6d6b69 | clinenoise.asd | clinenoise.asd | ;;;; clinenoise.asd
(cl:eval-when (:load-toplevel :execute)
(asdf:operate 'asdf:load-op 'cffi-grovel))
(asdf:defsystem #:clinenoise
:serial t
:description "Describe clinenoise here"
:author "Your Name <your.name@example.com>"
:license "Specify license here"
:depends-on (#:cffi
#:alexandria
... | ;;;; clinenoise.asd
(asdf:defsystem #:clinenoise
:serial t
:description "Describe clinenoise here"
:author "Your Name <your.name@example.com>"
:license "Specify license here"
:defsystem-depends-on ("cffi-grovel")
:depends-on (#:cffi
#:alexandria
#:split-sequence
#:cffi-... | Update how the CFFI groveller is invoked | Update how the CFFI groveller is invoked
Fixes #1
| Common Lisp | bsd-2-clause | jasom/clinenoise |
a4a1858ac6649a89ffb50511b6c8b34bc74250e7 | configuration.lisp | configuration.lisp | (in-package :ratatoskr)
(default-targmaxes
((cmd-join . 4)
(cmd-part . 4)
(cmd-mode . 100)
(cmd-names . 1)
(cmd-privmsg . 4)
(cmd-notice . 4)
(cmd-whois . 4)))
(defparameter *targmaxes*
(alist-hash-table +default-targmaxes+ :test 'eq))
(defconstant +max-params+ 10)
(defvar *targma... | (in-package :ratatoskr)
(default-targmaxes
((cmd-join . 4)
(cmd-part . 4)
(cmd-mode . 100)
(cmd-names . 1)
(cmd-privmsg . 4)
(cmd-notice . 4)
(cmd-whois . 4)
(cmd-userhost . 5)))
(defparameter *targmaxes*
(alist-hash-table +default-targmaxes+ :test 'eq))
(defconstant +max-par... | Enlarge default *targmax*, configure constructors | Enlarge default *targmax*, configure constructors
| Common Lisp | bsd-2-clause | heddwch/ratatoskr |
b8138094e7e5855d2f37118f8f9ecacbf5caafec | Code/Cleavir/Code-utilities/cleavir-code-utilities.asd | Code/Cleavir/Code-utilities/cleavir-code-utilities.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem cleavir-code-utilities
:depends-on (:cleavir-internationalization)
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "condition-reporters-english")
(:file "argcount")
(:file "form")
(:file "list-structure")
(:file "declara... | (cl:in-package #:asdf-user)
(defsystem cleavir-code-utilities
:depends-on (:cleavir-internationalization)
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "condition-reporters-english")
(:file "argcount")
(:file "form")
(:file "list-structure")
(:file "declarations")
(... | Define system in package ASDF-USER. | Define system in package ASDF-USER.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL |
56ab4a1a7f6c32c536f6eef80a47fd2f57ff65d1 | Code/Cleavir/Abstract-syntax-tree/cleavir-ast.asd | Code/Cleavir/Abstract-syntax-tree/cleavir-ast.asd | (cl:in-package #:asdf-user)
(defsystem :cleavir-ast
:depends-on (:cleavir-io
:cleavir-meter)
:serial t
:components
((:file "packages")
(:file "general-purpose-asts")
(:file "fixnum-related-asts")
(:file "float-related-asts")
(:file "cons-related-asts")
(:file "standard-object-related-ast... | (cl:in-package #:asdf-user)
(defsystem :cleavir-ast
:depends-on (:cleavir-io
:cleavir-meter)
:serial t
:components
((:file "packages")
(:file "general-purpose-asts")
(:file "fixnum-related-asts")
(:file "float-related-asts")
(:file "cons-related-asts")
(:file "standard-object-related-ast... | Add new component to system definition. | Add new component to system definition.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL |
c2c070452c58c698e0fc3401c2e057a4637d3a31 | Code/CLOS/make-built-in-instance-support.lisp | Code/CLOS/make-built-in-instance-support.lisp | (cl:in-package #:sicl-clos)
;;; We use the reader DEFAULT-INITARGS rather than
;;; CLASS-DEFAULT-INITARGS, because the AMOP stipulates that
;;; CLASS-DEFAULT-INITARGS must return the empty list for built-in
;;; classes. However, our built-in classes do have default initargs.
;;; The solution to this problem is to use... | (cl:in-package #:sicl-clos)
;;; The function in this file implements the action of the default
;;; method on the generic function MAKE-BUILT-IN-INSTANCE, i.e. the
;;; one specialized to BUILT-IN-CLASS.
;;;
;;; We use the reader DEFAULT-INITARGS rather than
;;; CLASS-DEFAULT-INITARGS, because the AMOP stipulates that
;... | Rename function and add more comments. | Rename function and add more comments.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
b4793c60e3d60d447462e8f24b030983deee0d6b | environment/stage1/tests-stage0.lisp | environment/stage1/tests-stage0.lisp | ;;;;; TRE environment
;;;;; Copyright (c) 2009 Sven Klose <pixel@copei.de>
;;;;;
;;;;; Testing stage 0 functions
;(define-test "%NCONC"
; ((%nconc '(1 2) '(3 4)))
; '(1 2 3 4))
(define-test "%NCONC with NIL first"
((%nconc nil '(3 4)))
'(3 4))
(define-test "%NCONC with NIL second"
((%nconc '(1 2) nil))
'(1... | ;;;;; TRE environment
;;;;; Copyright (c) 2009 Sven Klose <pixel@copei.de>
;;;;;
;;;;; Testing stage 0 functions
;(define-test "%NCONC"
; ((%nconc '(1 2) '(3 4)))
; '(1 2 3 4))
(define-test "NOT 0 is NIL"
((not 0))
nil)
(define-test "%NCONC with NIL first"
((%nconc nil '(3 4)))
'(3 4))
(define-test "%NCON... | Test if (NOT 0) returns T. | Test if (NOT 0) returns T.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
68dfa80152ba5ae192ea89ed6e4ac189560ced97 | Code/Boot/Phase2/define-variables.lisp | Code/Boot/Phase2/define-variables.lisp | (cl:in-package #:sicl-boot-phase2)
(defvar *t*
(find-bridge-class 't))
(defvar *standard-reader-method*
(find-bridge-class 'standard-reader-method))
(defvar *standard-writer-method*
(find-bridge-class 'standard-writer-method))
(defvar *standard-object*
(find-bridge-class 'standard-object))
(defvar *funcall... | (cl:in-package #:sicl-boot-phase2)
(define-symbol-macro *t*
(find-target-class 't))
(defvar *standard-reader-method*
(find-bridge-class 'standard-reader-method))
(defvar *standard-writer-method*
(find-bridge-class 'standard-writer-method))
(defvar *standard-object*
(find-bridge-class 'standard-object))
(de... | Define *T* as a symbol macro for finding target class. | Define *T* as a symbol macro for finding target class.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
d8ceeb74421f0772ffd1e0e7d5f0a8d02e926739 | xcvb-utils.lisp | xcvb-utils.lisp | ;;;;; XCVB-Utils. Mix and match utilities from xcvb, asdf, alexandria, fare-utils
#+xcvb
(module
(:build-depends-on ((:asdf "alexandria")
(:asdf "fare-utils")
(:asdf "asdf-utils")
"/xcvb/driver")))
(asdf/package:define-package :xcvb-utils
(:mix :fare-u... | ;;;;; XCVB-Utils. Mix and match utilities from xcvb, asdf, alexandria, fare-utils
#+xcvb
(module
(:build-depends-on ((:asdf "alexandria")
(:asdf "fare-utils")
(:asdf "asdf-utils")
"/xcvb/driver")))
(asdf/package:define-package :xcvb-utils
(:mix :asdf/d... | Use asdf-driver, not asdf-utils anymore. | Use asdf-driver, not asdf-utils anymore.
| Common Lisp | mit | fare/xcvb |
feab726c82e7c9291aa778b9e8a77d9d62251857 | Code/Compiler/compile-file.lisp | Code/Compiler/compile-file.lisp | (in-package #:sicl-compiler)
(defun compile-file (input-file &key
(output-file nil output-file-p)
(verbose *compile-verbose*)
(print *compile-print*)
(external-format :default))
(with-open-file (stream input-file
:direction :input
:external-format external-format)
(let* ((*compile-fi... | (in-package #:sicl-compiler)
(defun compile-file (input-file &key
(output-file nil output-file-p)
(verbose *compile-verbose*)
(print *compile-print*)
(external-format :default))
(with-open-file (stream input-file
:direction :input
:external-format external-format)
(let* ((*compile-fi... | Use the SICL reader in COMPILE-FILE. | Use the SICL reader in COMPILE-FILE.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
206b2739984faf7bd86e11d790135e54960d7404 | Code/CLOS/Boot/Phase3/defgeneric-defmacro.lisp | Code/CLOS/Boot/Phase3/defgeneric-defmacro.lisp | (cl:in-package #:sicl-clos)
(eval-when (:compile-toplevel :load-toplevel :execute)
(fmakunbound 'defgeneric))
(defmacro defgeneric (name parameters)
`(progn
(let* ((class (find-bridge-class 'standard-generic-function))
(fun (make-instance-default class
:name ',name
:lambda-list ',parameters
... | (cl:in-package #:sicl-clos)
(eval-when (:compile-toplevel :load-toplevel :execute)
(fmakunbound 'defgeneric))
(defmacro defgeneric (name parameters)
`(progn
(let* ((class (find-bridge-class 'standard-generic-function))
(fun (make-instance class
:name ',name
:lambda-list ',parameters
:meth... | Use MAKE-INSTANCE instead of MAKE-INSTANCE-DEFAULT. | Use MAKE-INSTANCE instead of MAKE-INSTANCE-DEFAULT.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
5a0c4f30dd135e9e2da21826acb459e15692f1f4 | Test/test-splay.lisp | Test/test-splay.lisp | (cl:in-package #:clump-test)
(defun in-order-traversal (tree)
(let ((result '()))
(clump-binary-tree:recursive-traversal
tree
;; Function PRE. Do nothing.
(constantly t)
;; Function IN.
(lambda (node)
(push (data node) result)
t)
;; Function POST. Do nothing.
#'... | (cl:in-package #:clump-test)
;;; We know that the SPLAY operation preserves an in-order traversal
;;; of the tree. Therefore, we test the SPLAY operation by the
;;; following steps:
;;;
;;; 1. Generate a random tree
;;; 2. Make an in-order traversal of that tree, saving the result
;;; 3. Select a random node of th... | Add comment explaining how we test the SPLAY operation. | Add comment explaining how we test the SPLAY operation.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
92cedaba49f34b9dde3eb95c3e1de8d9d5e58ec1 | Code/Boot/Phase2/fill.lisp | Code/Boot/Phase2/fill.lisp | (cl:in-package #:sicl-boot-phase2)
(defun ld (filename environment)
(format *trace-output* "Loading file ~a~%" filename)
(finish-output *trace-output*)
(sicl-extrinsic-environment:load-source-with-environments
filename
(sicl-boot-phase1:compilation-environment (phase1-environment environment))
environme... | (cl:in-package #:sicl-boot-phase2)
(defun ld (filename environment)
(format *trace-output* "Loading file ~a~%" filename)
(finish-output *trace-output*)
(sicl-extrinsic-environment:load-source-with-environments
(asdf:system-relative-pathname :sicl-boot-phase2 filename)
(sicl-boot-phase1:compilation-environm... | Make loading relative to ASDF system location. | Make loading relative to ASDF system location.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
54c2c2d85b7c5c3073b8c678ea080653a35b22d2 | yason.asd | yason.asd | ;; This file is part of yason, a Common Lisp JSON parser/encoder
;;
;; Copyright (c) 2008 Hans Hbner
;; All rights reserved.
;;
;; Please see the file LICENSE in the distribution.
;;;; -*- Mode: LISP -*-
(in-package :cl-user)
(defpackage :yason.system
(:use :cl :asdf))
(in-package :yason.system)
(defsystem :yaso... | ;; This file is part of yason, a Common Lisp JSON parser/encoder
;;
;; Copyright (c) 2008 Hans Hbner
;; All rights reserved.
;;
;; Please see the file LICENSE in the distribution.
;;;; -*- Mode: LISP -*-
(in-package :cl-user)
(defpackage :yason.system
(:use :cl :asdf))
(in-package :yason.system)
(defsystem :yaso... | Add missing dependency on alexandria | Add missing dependency on alexandria
| Common Lisp | bsd-3-clause | Publitechs/yason,Publitechs/yason,Publitechs/yason,mcna/yason,gschjetne/yason,hanshuebner/yason,hanshuebner/yason,mcna/yason,gschjetne/yason,hanshuebner/yason |
644dd60a79e6ef1f2d1f838d177669fa133d17ac | environment/stage3/terpri.lisp | environment/stage3/terpri.lisp | ;;;;; tré – Copyright (c) 2013 Sven Michael Klose <pixel@copei.de>
(defvar *terpri* (format nil "~%"))
| ;;;;; tré – Copyright (c) 2013–2014 Sven Michael Klose <pixel@copei.de>
(defvar *terpri* (string (code-char 10)))
| Use CODE-CHAR instead of FORMAT. | Use CODE-CHAR instead of FORMAT.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
18543f01600cd229e3935f1aa77dcc503609273f | cqlcl.asd | cqlcl.asd | (ql:quickload :fiveam)
(defsystem :cqlcl
:author "Aaron France"
:version "0.0.1"
:license "BSD"
:description "CQLv2 binary protocol"
:serial t
:components ((:file "package")
(:file "util")
(:file "constants")
(:file "types")
(:file "headers")
... | (defsystem :cqlcl
:author "Aaron France"
:version "0.0.1"
:license "BSD"
:description "CQLv2 binary protocol"
:serial t
:components ((:file "package")
(:file "util")
(:file "constants")
(:file "types")
(:file "headers")
(:file "proto... | Comment out the testing related things until they work properly | Comment out the testing related things until they work properly
| Common Lisp | bsd-2-clause | AeroNotix/cqlcl |
bae964e8156dddb91dd1c49b88b699a72e0fd030 | util.lisp | util.lisp | (in-package :cqlcl)
(defmacro rev-hash (ht)
(let ((ht-sym (gensym "hash-table"))
(ht-orig (gensym "hash-table-orig"))
(k (gensym))
(v (gensym)))
`(let* ((,ht-orig ,ht)
(,ht-sym (make-hash-table :size (hash-table-count ,ht) :test #'equal)))
(maphash (lambda (,k ,v)
... | (in-package :cqlcl)
(defmacro rev-hash (ht)
(let ((ht-sym (gensym "hash-table"))
(ht-orig (gensym "hash-table-orig"))
(k (gensym))
(v (gensym)))
`(let* ((,ht-orig ,ht)
(,ht-sym (make-hash-table :size (hash-table-count ,ht) :test #'equal)))
(maphash (lambda (,k ,v)
... | Add some helper methods for debugging streams | Add some helper methods for debugging streams
| Common Lisp | bsd-2-clause | AeroNotix/cqlcl |
d4454cb3e3e76db527deb6ab09336d75d7b50c2e | tests/tests.lisp | tests/tests.lisp | (cl:defpackage #:bubble-operator-upwards_tests
(:use #:cl #:parachute)
(:import-from #:bubble-operator-upwards #:bubble-operator-upwards #:cartesian-product))
(cl:in-package #:bubble-operator-upwards_tests)
(define-test "featured-examples"
(is equal
(bubble-operator-upwards 'and '(plate (and ham eggs) bea... | (cl:defpackage #:bubble-operator-upwards_tests
(:use #:cl #:parachute)
(:import-from #:bubble-operator-upwards #:bubble-operator-upwards #:cartesian-product))
(cl:in-package #:bubble-operator-upwards_tests)
(define-test "featured-examples"
(is equal '(and (plate ham beans) (plate eggs beans))
(bubble-oper... | Use proper argument order for IS. | Tests: Use proper argument order for IS.
| Common Lisp | unlicense | Hexstream/bubble-operator-upwards |
7925be83260a01076d32f5491d11ddf0f27de306 | clim-examples.asd | clim-examples.asd | ;;; -*- lisp -*-
(defpackage :clim-examples.system
(:use :cl :asdf))
(in-package :clim-examples.system)
;;; CLIM-Examples depends on having at least one backend loaded.
(defsystem :clim-examples
:depends-on (:mcclim)
:components
((:module "Examples"
:components
((:file "calc... | ;;; -*- lisp -*-
(defpackage :clim-examples.system
(:use :cl :asdf))
(in-package :clim-examples.system)
;;; CLIM-Examples depends on having at least one backend loaded.
(defsystem :clim-examples
:depends-on (:mcclim)
:components
((:module "Examples"
:components
((:file "calc... | Add border and misc tests to examples system. | Add border and misc tests to examples system.
| Common Lisp | lgpl-2.1 | onixie/mcclim,antifuchs/mcclim,slyrus/mcclim,swflint/McCLIM,swflint/McCLIM,swflint/McCLIM,onixie/mcclim,onixie/mcclim,slyrus/mcclim,antifuchs/mcclim |
d1c0bda3a3cb81b075d13148e112ecb3f168a833 | clim-examples.asd | clim-examples.asd | ;;; -*- lisp -*-
(defpackage :clim-examples.system
(:use :cl :asdf))
(in-package :clim-examples.system)
;;; CLIM-Examples depends on having at least one backend loaded.
(defsystem :clim-examples
:depends-on (:mcclim)
:components
((:module "Examples"
:components
((:file "calc... | ;;; -*- lisp -*-
(defpackage :clim-examples.system
(:use :cl :asdf))
(in-package :clim-examples.system)
;;; CLIM-Examples depends on having at least one backend loaded.
(defsystem :clim-examples
:depends-on (:mcclim)
:components
((:module "Examples"
:components
((:file "calc... | Add border and misc tests to examples system. | Add border and misc tests to examples system.
| Common Lisp | lgpl-2.1 | quek/mcclim,informatimago/mcclim,quek/mcclim,informatimago/mcclim |
22e908976d7f3e2318b7168909f911b4a00963ee | com.gigamonkeys.binary-data.asd | com.gigamonkeys.binary-data.asd | ;;
;; Copyright (c) 2005-2010, Peter Seibel. All rights reserved.
;;
(asdf:defsystem com.gigamonkeys.binary-data
:name "binary-data"
:author "Peter Seibel <peter@gigamonkeys.com>"
:components
((:file "packages")
(:file "binary-data" :depends-on ("packages"))
(:file "common-datatypes" :depends-on ("packag... | ;;
;; Copyright (c) 2005-2011, Peter Seibel. All rights reserved.
;;
(defsystem com.gigamonkeys.binary-data
:name "binary-data"
:description "Library for reading and writing binary data."
:author "Peter Seibel <peter@gigamonkeys.com>"
:components
((:file "packages")
(:file "binary-data" :depends-on ("pack... | Add description to .asd file. | Add description to .asd file.
| Common Lisp | bsd-3-clause | gigamonkey/monkeylib-binary-data |
a04f37f1be6257fe1ecae6e50f905258b24e635a | Code/Sequences/sicl-sequence-support.asd | Code/Sequences/sicl-sequence-support.asd | (cl:in-package #:asdf-user)
(defsystem :sicl-sequence-support
:serial t
:components
((:file "packages")
(:file "find")
(:file "position")))
| (cl:in-package #:asdf-user)
(defsystem :sicl-sequence-support
:serial t
:components
((:file "packages")
(:file "utilities")
(:file "find")
(:file "position")))
| Add existing component utilities to system definition. | Add existing component utilities to system definition.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
d60ace112a5a31f1d4b6c8c541d9adf32a446832 | Code/Boot/customize-c1.lisp | Code/Boot/customize-c1.lisp | (cl:in-package #:sicl-boot)
(defun define-defgeneric-c1 (boot)
(setf (sicl-genv:macro-function 'defgeneric (c1 boot))
(lambda (form environment)
(declare (ignore environment))
`(progn (sicl-genv:fmakunbound ',(car form) ,(r1 boot))
(ensure-generic-function
',(car form)
:name ',(car form)
:l... | (cl:in-package #:sicl-boot)
(defun define-defgeneric-c1 (boot)
(setf (sicl-genv:macro-function 'defgeneric (c1 boot))
(lambda (form environment)
(declare (ignore environment))
`(progn (sicl-genv:fmakunbound ',(second form) ,(r1 boot))
(ensure-generic-function
',(second form)
:name ',(second form... | Select appropriate elements of the DEFGENERIC form. | Select appropriate elements of the DEFGENERIC form.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
7007e4633cf6f8ccb54cf52ee8b130ff42d9dd56 | Code/Backends/Extrinsic-HIR-compiler/load-files.lisp | Code/Backends/Extrinsic-HIR-compiler/load-files.lisp | (cl:in-package #:sicl-extrinsic-hir-compiler)
(defun rp (filename)
(asdf:system-relative-pathname :sicl-extrinsic-hir-compiler filename))
(load (rp "../../Environment/lambda.lisp"))
(load (rp "../../Environment/multiple-value-bind.lisp"))
| (cl:in-package #:sicl-extrinsic-hir-compiler)
(defun rp (filename)
(asdf:system-relative-pathname :sicl-extrinsic-hir-compiler filename))
(load (rp "../../Environment/lambda.lisp"))
(load (rp "../../Environment/multiple-value-bind.lisp"))
(load (rp "../../Environment/setf.lisp"))
| Load a file containing the SETF macro. | Load a file containing the SETF macro.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
6336ddeba2a6335bab7cc1fa02993c2a56a3478d | place-modifiers.asd | place-modifiers.asd | (asdf:defsystem #:place-modifiers
:author "Jean-Philippe Paradis <hexstream@gmail.com>"
;; See the UNLICENSE file for details.
:license "Public Domain"
:description "Essentially gives access to hundreds of modify macros with one single symbol: MODIFY."
:depends-on (#:map-bind)
:version "2.0"
:serial ... | (asdf:defsystem #:place-modifiers
:author "Jean-Philippe Paradis <hexstream@gmail.com>"
;; See the UNLICENSE file for details.
:license "Public Domain"
:description "Essentially gives access to hundreds of modify macros with one single symbol: MODIFY."
:depends-on (#:map-bind
#:cartesian-pr... | Fix broken build due to undeclared dependency on cartesian-product-switch. | Fix broken build due to undeclared dependency on cartesian-product-switch.
While doing my big refactoring I removed an instance of cartesian-product-switch which I thought was the only one in the codebase. But even if that had been true, I forgot to remove the dependency in package.lisp.
I guess it's only fair that I... | Common Lisp | unlicense | Hexstream/place-modifiers |
f38c192e122d192bcf30d3d1b8cd80dbed53ed18 | Code/CLOS/additional-classes.lisp | Code/CLOS/additional-classes.lisp | (in-package #:sicl-clos)
(define-built-in-class sequence (t))
(define-built-in-class list (sequence))
(defclass symbol ()
((%name :initarg :name :reader symbol-name)
(%package :initarg :package :reader symbol-package)
(%plist :initform '() :accessor symbol-plist)))
(define-built-in-class null (symbol list))... | (in-package #:sicl-clos)
(define-built-in-class sequence (t)
())
(define-built-in-class list (sequence)
())
(define-built-in-class symbol ()
((%name :initarg :name :reader symbol-name)
(%package :initarg :package :reader symbol-package)))
(define-built-in-class null (symbol list)
())
| Change syntax to include slot specs. | Change syntax to include slot specs.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL |
81c9dffa08216f53bbb048d951b6a8d61aedcf02 | Code/Package/SICL-Specific/package-class.lisp | Code/Package/SICL-Specific/package-class.lisp | (in-package #:sicl-package)
(defclass package (t)
((%name
:initarg :name
:accessor name)
(%nicknames
:initarg :nicknames
:initform '()
:accessor nicknames)
(%use-list
:initarg :use-list
:initform '()
:accessor use-list)
(%used-by-list
:initarg :used-by-list
:initform ... | (cl:in-package #:sicl-package)
(defclass package (t)
((%name
:initarg :name
:accessor name)
(%nicknames
:initarg :nicknames
:initform '()
:accessor nicknames)
(%use-list
:initarg :use-list
:initform '()
:accessor use-list)
(%used-by-list
:initarg :used-by-list
:initfo... | Use explicit package prefix for IN-PACKAGE. | Use explicit package prefix for IN-PACKAGE.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
21835b0a11fb8bac53f5113408ea455ea66657f6 | Code/CLOS/class-initialization-defmethods.lisp | Code/CLOS/class-initialization-defmethods.lisp | (cl:in-package #:sicl-clos)
(defmethod initialize-instance :after
((class regular-class) &rest initargs &key &allow-other-keys)
(apply #'initialize-instance-after-regular-class-default
class initargs))
(defmethod shared-initialize :around
((class real-class)
slot-names
&rest initargs
&key
... | (cl:in-package #:sicl-clos)
(defmethod shared-initialize :around
((class real-class)
slot-names
&rest initargs
&key
&allow-other-keys)
(apply #'shared-initialize-around-real-class-default
#'call-next-method
class
slot-names
initargs))
| Remove :AFTER methods. What they did is now in the :AROUND method. | Remove :AFTER methods. What they did is now in the :AROUND method.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
e6c40fc62e2db34cf032f5039199c56f46edbf55 | mcclim-gif-bitmaps.asd | mcclim-gif-bitmaps.asd | ;;; -*- Mode: Lisp -*-
;;; (c) copyright 2008 by
;;; Troels Henriksen (athas@sigkill.dk)
;;;
;;; This library is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU Library General Public
;;; License as published by the Free Software Foundation; either
;;; version 2 of th... | ;;; -*- Mode: Lisp -*-
;;; (c) copyright 2008 by
;;; Troels Henriksen (athas@sigkill.dk)
;;;
;;; This library is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU Library General Public
;;; License as published by the Free Software Foundation; either
;;; version 2 of th... | Define system in package ASDF-USER. | Define system in package ASDF-USER.
| Common Lisp | lgpl-2.1 | onixie/mcclim,slyrus/mcclim,onixie/mcclim,onixie/mcclim,slyrus/mcclim |
441f8388a759a145879a32a44d4e4062dd2b68dd | Code/Sequences/Small/sicl-sequences-small.asd | Code/Sequences/Small/sicl-sequences-small.asd | (in-package #:cl-user)
(asdf:defsystem :sicl-sequences-small
:depends-on ("sicl-additional-types"
"sicl-additional-conditions"
"cleavir-code-utilities")
:components
((:file "packages" :depends-on ())
(:file "sequences" :depends-on ("packages"))))
| (cl:in-package #:asdf-user)
(defsystem :sicl-sequences-small
:depends-on ("sicl-additional-types"
"sicl-additional-conditions"
"cleavir-code-utilities")
:components
((:file "packages" :depends-on ())
(:file "sequences" :depends-on ("packages"))))
| Use explicit package prefix for IN-PACKAGE, and define system in package ASDF-USER. | Use explicit package prefix for IN-PACKAGE, and define system in package ASDF-USER.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL |
cf1baac52c9d90662078131cee58077139db47db | Code/Sequences/Small/sicl-sequences-small.asd | Code/Sequences/Small/sicl-sequences-small.asd | (cl:in-package #:asdf-user)
(defsystem :sicl-sequences-small
:depends-on (:sicl-additional-types
:sicl-additional-conditions
:cleavir-code-utilities)
:components
((:file "packages" :depends-on ())
(:file "sequences" :depends-on ("packages"))))
| (cl:in-package #:asdf-user)
(defsystem :sicl-sequences-small
:depends-on (:sicl-additional-types
:sicl-additional-conditions
:cleavir-code-utilities)
:serial t
:components
((:file "packages")
(:file "sequences")))
| Define system with option :SERIAL T. | Define system with option :SERIAL T.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
bc4ed48df13a0277d807a137e3465729ce79beb1 | Binary-tree/iterative-traversal.lisp | Binary-tree/iterative-traversal.lisp | (cl:in-package #:clump-binary-tree)
(defgeneric iterative-traversal (tree enter leave))
(defmethod iterative-traversal ((tree node-with-parent) enter leave)
(let ((current-node tree))
(loop do (if (or (not (funcall enter current-node))
(and (null (left current-node))
(null (right current-node))))
... | (cl:in-package #:clump-binary-tree)
(defgeneric iterative-traversal (tree pre in post))
(defmethod iterative-traversal ((tree node-with-parent) pre in post)
(let ((current-node tree))
(tagbody
pre
(if (funcall pre current-node)
(let ((left (left current-node)))
(if (null left)
(go in)
... | Complete rewrite using a state machine. | Complete rewrite using a state machine.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.