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 |
|---|---|---|---|---|---|---|---|---|---|
7c95688e11b040a76ef50d6f460a68e30f6e953e | Code/Compiler/compiler-macros.lisp | Code/Compiler/compiler-macros.lisp | (in-package #:sicl-global-environment)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Macro DEFINE-COMPILER-MACRO.
(defmacro define-compiler-macro (name lambda-list &body body)
`(eval-when (:compile-toplevel :load-toplevel :execute)
(setf (compiler-macro-function ',name)
,(c... | (cl:in-package #:sicl-global-environment)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Macro DEFINE-COMPILER-MACRO.
(defmacro define-compiler-macro (name lambda-list &body body)
`(eval-when (:compile-toplevel :load-toplevel :execute)
(setf (compiler-macro-function ',name)
... | Use explicit package marker with IN-PACKAGE. | Use explicit package marker with IN-PACKAGE.
| 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 |
df9f168fa4bfa6af372a2c788de9e3ff6db4fc60 | Test/test-2-3-tree.lisp | Test/test-2-3-tree.lisp | (cl:in-package #:clump-test)
| (cl:in-package #:clump-test)
(defclass size-mixin ()
((%size :initarg :size :reader size)))
(defclass leaf-size (size-mixin clump-2-3-tree:leaf)
()
(:default-initargs :size 1))
(defclass 2-node-size (size-mixin clump-2-3-tree:2-node)
())
(defclass 3-node-size (size-mixin clump-2-3-tree:3-node)
())
(defcl... | Define subclasses of 2-3 tree classes for testing purposes. | Define subclasses of 2-3 tree classes for testing purposes.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
1bb99bd0457adbc41180d4e55375fcfd1ef0e6f3 | Code/Cons/packages.lisp | Code/Cons/packages.lisp | (cl:in-package #:common-lisp-user)
(defpackage #:sicl-common-lisp
(:nicknames #:sicl-cl #:scl)
(:export
. #.(loop for symbol being each external-symbol of '#:common-lisp
collect (symbol-name symbol))))
(defpackage #:sicl-cons
(:use #:sicl-common-lisp)
(:export
;; The symbols LOAD-CAR, LOAD-CDR, S... | (cl:in-package #:common-lisp-user)
(defpackage #:sicl-cons
(:use #:common-lisp)
(:export
;; The symbols LOAD-CAR, LOAD-CDR, STORE-CAR, and STORE-CDR name
;; special operators. The operators LOAD-CAR and LOAD-CDR are
;; similar to the functions CAR and CDR, except that they require
;; that the argument... | Use the normal CL package. | Use the normal CL package.
| 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 |
048802040b2a8796c8f8b1c0b3dc81a387b8e63f | Code/Cleavir/Liveness/cleavir-liveness.asd | Code/Cleavir/Liveness/cleavir-liveness.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :cleavir-liveness
:depends-on (:cleavir-utilities)
:components
((:file "packages")
(:file "liveness" :depends-on ("packages"))))
| (cl:in-package #:asdf-user)
(defsystem :cleavir-liveness
:depends-on (:cleavir-utilities)
:components
((:file "packages")
(:file "liveness" :depends-on ("packages"))))
| 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,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
31f5d71f81750cb7d74b9eb1e5a4c6fb4c9648ab | environment/transpiler/environment/equality.lisp | environment/transpiler/environment/equality.lisp | (defun eql (x y)
(| x (setq x nil))
(| y (setq y nil))
(| (eq x y)
(?
(& (number? x)
(number? y)) (== x y)
(& (string? x)
(string? y)) (string== x y)
(& (character? x)
(character? y)) (character== x y))))
| (defun eql (a b)
(| a (setq a nil))
(| b (setq b nil))
(| (eq a b)
(?
(& (number? a)
(number? b)) (== a b)
(& (string? a)
(string? b)) (string== a b)
(& (character? a)
(character? b)) (character== a b))))
(defmacro eql (a b)
(? (| (string? a)
... | Convert EQL to STRING== on literal string arguments. | Convert EQL to STRING== on literal string arguments.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
db9e7163a9aef3f41af2e71f074611dae0f5ac39 | lispkit.lisp | lispkit.lisp | (defpackage lispkit
(:use :gtk :gdk :gdk-pixbuf :gobject
:drakma :cl-webkit
:glib :gio :pango :cairo :common-lisp)
(:export #:main))
(in-package :lispkit)
(defparameter *current-tab* nil)
(defun handle-key (window event)
(declare (ignore window))
(print event)
nil)
(defun main (&rest args)... | (defpackage lispkit
(:use :gtk :gdk :gdk-pixbuf :gobject
:drakma :cl-webkit
:glib :gio :pango :cairo :common-lisp)
(:export #:main))
(in-package :lispkit)
(defparameter *current-tab* nil)
(defun load-url (url &optional view)
(webkit.foreign:webkit-web-view-load-uri
(or view *current-tab*) ur... | Put load-url into a function | Put load-url into a function
| Common Lisp | bsd-2-clause | AeroNotix/lispkit,AeroNotix/lispkit |
d3b4fb1e58e88580833db676a4f0402ce7033fbc | lisp-chat.asd | lisp-chat.asd | ;; Common Lisp Script
;; Manoel Vilela
(asdf/defsystem:defsystem :lisp-chat
:author "Manoel Vilela"
:description "An experimental chat irc-like"
:version "0.1"
:license "MIT"
:depends-on ("usocket")
:components ((:file "config")
(:file "client" :depends-on ("config"))
(:file ... | ;; Common Lisp Script
;; Manoel Vilela
(asdf/defsystem:defsystem :lisp-chat
:author "Manoel Vilela"
:description "An experimental chat irc-like"
:version "0.1"
:mailto "manoel_vilela@engineer.com"
:license "MIT"
:depends-on ("usocket")
:components ((:file "config")
(:file "client" :depend... | Add correct key for email on ASDF definition | Add correct key for email on ASDF definition
* :email => :mailto
| Common Lisp | mit | ryukinix/lisp-chat,ryukinix/lisp-chat |
25600c966e3955382201da044c4c2eb5ca135260 | Code/Cleavir/HIR-transformations/Remove-useless-instructions/remove-useless-instructions.lisp | Code/Cleavir/HIR-transformations/Remove-useless-instructions/remove-useless-instructions.lisp | (cl:in-package #:cleavir-remove-useless-instructions)
(defgeneric instruction-may-be-removed-p (instruction))
(defmethod instruction-may-be-removed-p (instruction)
(and (= (length (cleavir-ir:successors instruction)) 1)
(loop for output in (cleavir-ir:outputs instruction)
always (null (cleavir-ir:using... | (cl:in-package #:cleavir-remove-useless-instructions)
(defgeneric instruction-may-be-removed-p (instruction))
(defmethod instruction-may-be-removed-p (instruction)
(and (= (length (cleavir-ir:successors instruction)) 1)
(loop for output in (cleavir-ir:outputs instruction)
always (null (cleavir-ir:using... | Remove method specialized to SET-SYMBOL-VALUE-INSTRUCTION. | Remove method specialized to SET-SYMBOL-VALUE-INSTRUCTION.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL |
c522ab376cdc63c679c83b727db305dfce271e3c | src/hooks/switching.lsp | src/hooks/switching.lsp | ;; Pegexel is a little exercises generator, using common-lisp.
;; Copyright (C) 2012 Yves Combe <yves@ycombe.net>
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as published by
;; the Free Software Foundation, e... | ;; Pegexel is a little exercises generator, using common-lisp.
;; Copyright (C) 2012 Yves Combe <yves@ycombe.net>
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as published by
;; the Free Software Foundation, e... | Change §-F (switch case) to follow 0 to n-1 index convention. | Change §-F (switch case) to follow 0 to n-1 index convention.
| Common Lisp | agpl-3.0 | GitoriousLispBackup/pegexel |
41eccc52d038875e777c923e9ca57457db52fbb3 | unicode.asd | unicode.asd | (defsystem #:unicode
:name "unicode"
:licence "TODO"
:author "Thomas Bakketun <thomas.bakketun@copyleft.no>"
:description "Unicode support for Common Lisp."
:depends-on ()
:serial t
:components ((:file "package")
(:file "features")
(:file "unicode-text")
(:file... | (asdf:defsystem #:unicode
:name "unicode"
:licence "TODO"
:author "Thomas Bakketun <thomas.bakketun@copyleft.no>"
:description "Unicode support for Common Lisp."
:depends-on ()
:serial t
:components ((:file "package")
(:file "features")
(:file "unicode-text")
(... | Use asdf:defsystem instead of just defsystem. | Use asdf:defsystem instead of just defsystem.
| Common Lisp | mit | bakketun/unicode-for-common-lisp |
be43d25c78a91c88a89555629c3eea3fe72a16a8 | s3.lisp | s3.lisp | ;;;; s3.lisp
(in-package #:quicklisp-client-uploader)
(defun s3-components (url)
(setf url (url url))
(values (hostname url)
(string-left-trim "/" (path url))))
(defun s3-object-exists (bucket key)
(let ((http-status (nth-value 1 (zs3:head :bucket bucket :key key))))
(<= 200 http-status 299)))
(... | ;;;; s3.lisp
(in-package #:quicklisp-client-uploader)
(defun s3-components (url)
(setf url (url url))
(values (hostname url)
(string-left-trim "/" (path url))))
(defun s3-object-exists (bucket key)
(let ((http-status (nth-value 1 (zs3:head :bucket bucket :key key))))
(<= 200 http-status 299)))
(... | Add an OVERWRITE restart in PUT-TO-S3-URL. | Add an OVERWRITE restart in PUT-TO-S3-URL.
| Common Lisp | mit | quicklisp/quicklisp-client-uploader |
141cb60be87391b1ec039bb2f24f3060a00b8f32 | 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 the definition of (SETF CL:FDEFINITION). | Load the definition of (SETF CL:FDEFINITION).
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
c0c957454567fd04b4c2044c2067cdb48a0f3dd5 | birch.asd | birch.asd | (asdf:defsystem #:birch
:serial t
:description "A simple Common Lisp IRC client library"
:author "Joram Schrijver <i@joram.io>"
:license "LLGPL"
:depends-on (#:split-sequence #:usocket #:flexi-streams)
:components ((:file "package")
(:file "replies")
(:file "parse")
(:file "ctcp")
... | (asdf:defsystem #:birch
:serial t
:description "A simple Common Lisp IRC client library"
:author "Joram Schrijver <i@joram.io>"
:license "MIT"
:depends-on (#:split-sequence #:usocket #:flexi-streams)
:components ((:file "package")
(:file "replies")
(:file "parse")
(:file "ctcp")
... | Fix license in system definition | Fix license in system definition
| Common Lisp | mit | jorams/birch,cromachina/birch |
2e38230e141652cc6768010a314a5f80cdb92ec3 | Code/Compiler/Extrinsic-environment/symbol-value.lisp | Code/Compiler/Extrinsic-environment/symbol-value.lisp | (cl:in-package #:sicl-extrinsic-environment)
(defun find-variable-entry (symbol env)
(loop for entry in (dynamic-environment env)
do (when (and (typep entry 'variable-binding)
(eq (symbol entry) symbol))
(return entry))))
(defun symbol-value (symbol env)
(let ((entry (find-variable-entry symbol env... | (cl:in-package #:sicl-extrinsic-environment)
(defun find-variable-entry (symbol dynamic-environment)
(loop for entry in dynamic-environment
do (when (and (typep entry 'variable-binding)
(eq (symbol entry) symbol))
(return entry))))
(defun symbol-value (symbol env)
(let* ((dynamic-environment *dynam... | Modify according to new way of transmitting the dynamic environment. | Modify according to new way of transmitting the dynamic environment.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
6a3b5bdc446a4c9b2a61ac81eae6d269a0bc9126 | makefiles/common-lisp.lisp | makefiles/common-lisp.lisp | ; tré – Copyright (c) 2014 Sven Michael Klose <pixel@copei.de>
(defun cl-packages ()
`((defpackage :tre-core
(:export :nil :t :setq :labels
,@(make-keywords (+ (carlist +cl-renamed-imports+)
*cl-builtins*))))
(defpackage :tre
(:use :tre-core))))
(d... | ; tré – Copyright (c) 2014 Sven Michael Klose <pixel@copei.de>
(defun cl-packages ()
`((defpackage :tre-core
(:export :nil :t :setq :labels
,@(make-keywords (+ +cl-direct-imports+
(carlist +cl-renamed-imports+)
*cl-builtins... | Convert lambda expressions. Fix DEFPACKAGE. | Convert lambda expressions. Fix DEFPACKAGE.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
c836980226991f72f7cf3f9e522f0859b34a5416 | src/main/cltl/condition-utils.lisp | src/main/cltl/condition-utils.lisp |
(in-package #:utils)
(define-condition simple-style-warning (style-warning simple-condition)
())
(defmacro simple-style-warning (fmt-ctrl &rest args)
`(warn 'simple-style-warning
:format-control ,fmt-ctrl
:format-arguments (list ,@args)))
(define-condition simple-program-error (program-error simple-condi... |
(in-package #:utils)
(define-condition simple-style-warning (style-warning simple-condition)
())
(defmacro simple-style-warning (fmt-ctrl &rest args)
`(warn 'simple-style-warning
:format-control ,fmt-ctrl
:format-arguments (list ,@args)))
(define-condition simple-program-error (program-error simple-condi... | Define method CONDITION SYMBOL such as to interpret SYMBOL as an output stream designator | FORMAT-CONDITION: Define method CONDITION SYMBOL such as to interpret SYMBOL as an output stream designator
| Common Lisp | epl-1.0 | MetaCommunity/mci-cltl-utils |
0e8cb3d8bc73bb8387ddff20e1f83c65e99c2e59 | net.sockets/wrappers.lisp | net.sockets/wrappers.lisp | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
;;;
;;; --- Wrappers for socket-related C macros.
;;;
(in-package :net.sockets)
(c "#if defined(__linux__)")
(define "_XOPEN_SOURCE" 600)
(define "_LARGEFILE_SOURCE")
(define "_LARGEFILE64_SOURCE")
(define "_FILE_OFFSET_BITS" 64)
(c "#endif")
(... | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
;;;
;;; --- Wrappers for socket-related C macros.
;;;
(in-package :net.sockets)
(c "#if defined(__linux__)")
(define "_XOPEN_SOURCE" 600)
(define "_LARGEFILE_SOURCE")
(define "_LARGEFILE64_SOURCE")
(define "_FILE_OFFSET_BITS" 64)
(c "#endif")
(... | Add back (include "stdlib.h") to fix compilation on FreeBSD. | Add back (include "stdlib.h") to fix compilation on FreeBSD.
| Common Lisp | mit | attila-lendvai/iolib,lispnik/iolib,attila-lendvai/iolib,vsedach/iolib-simple-mux,lispnik/iolib,sionescu/iolib,shamazmazum/iolib,tiago4orion/iolib,dkochmanski/iolib,tiago4orion/iolib,tiago4orion/iolib,sionescu/iolib,lispnik/iolib,dkochmanski/iolib,deadtrickster/iolib,sionescu/iolib,deadtrickster/iolib,deadtrickster/ioli... |
993c7564baee7dd0da0501488dfde86226a809c8 | lib/prelude.lisp | lib/prelude.lisp | (import base (defun defmacro progn for while if when unless and or
get-idx set-idx! format print! pretty error! empty-struct gensym
== ~= < <= > >= + - * % ^ .. !))
(import binders ())
(import list ())
(import types ())
(import partial ())
(import table ())
(defun fail (msg) (error! msg 0)... | (import base (defun defmacro progn for while if when unless and or
get-idx set-idx! format print! pretty error! empty-struct gensym
== ~= < <= > >= + - * % ^ .. !))
(import binders ())
(import list ())
(import types ())
(import partial ())
(import table ())
(defun fail (msg) (error! msg 0)... | Add support for constant tests in `(case)` | Add support for constant tests in `(case)`
| Common Lisp | bsd-3-clause | SquidDev/urn,SquidDev/urn |
a463309a57197bedf8baf9f032e07ae65243956a | Code/Data-and-control-flow/sicl-data-and-control-flow.asd | Code/Data-and-control-flow/sicl-data-and-control-flow.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :sicl-data-and-control-flow
:depends-on (:sicl-environment
:cleavir-internationalization)
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "condition-reporters-english")))
| (cl:in-package #:asdf-user)
(defsystem :sicl-data-and-control-flow
:depends-on (:sicl-environment
:cleavir-internationalization)
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "condition-reporters-english")))
| Define ASDF system in the package ASDF-USER. | Define ASDF system in the package ASDF-USER.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
128991123072e517f0cc4d1ad9f85851a5125e54 | cl-stripe.asd | cl-stripe.asd | ;;;; cl-stripe.asd
(asdf:defsystem #:cl-stripe
:serial t
:depends-on (#:st-json
#:drakma
#:alexandria)
:components ((:file "package")
(:file "variables")
(:file "sstruct")
(:file "cl-stripe")))
| ;;;; cl-stripe.asd
(asdf:defsystem #:cl-stripe
:serial t
:description "An interface to the stripe.com API"
:depends-on (#:st-json
#:drakma
#:alexandria)
:components ((:file "package")
(:file "variables")
(:file "sstruct")
(:file "cl-str... | Add a :description to the .asd file. | Add a :description to the .asd file. | Common Lisp | mit | antifuchs/cl-stripe,antifuchs/cl-stripe |
64ad21c7329e2eb2662870cb59e9a4ef86c4508a | 2-3-tree/insertion.lisp | 2-3-tree/insertion.lisp | (cl:in-package #:clump-2-3-tree)
;;; This generic function can be used only on an empty tree.
(defgeneric insert (object tree))
(defmethod insert :before (object (tree tree))
(unless (null (contents tree))
(error "Do this error message better.")))
(defmethod insert (object (tree tree))
(setf (contents tree)
... | (cl:in-package #:clump-2-3-tree)
;;; This generic function can be used only on an empty tree.
(defgeneric insert (object tree))
(defmethod insert :before (object (tree tree))
(unless (null (contents tree))
(error "Do this error message better.")))
(defmethod insert (object (tree tree))
(setf (contents tree)
... | Define method on REPLACE specialized to 3-NODE. | Define method on REPLACE specialized to 3-NODE.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
aa1ea794bfd893a30ae12d543c752f8255ca9f28 | src/ucw-standard/application-mixins/cookie-session-application.lisp | src/ucw-standard/application-mixins/cookie-session-application.lisp | ;; See the file LICENCE for licence information.
(in-package :ucw-standard)
;;;; *** Cookie session
(defvar +ucw-session-cookie-name+ "ucw-session-id"
"Name of the cookie used when storing the session id.")
(defclass cookie-session-application-mixin ()
()
(:documentation "Class for applications which use cooki... | ;; See the file LICENCE for licence information.
(in-package :ucw-standard)
;;;; *** Cookie session
(defvar +ucw-session-cookie-name+ "ucw-session-id"
"Name of the cookie used when storing the session id.")
(defclass cookie-session-application-mixin ()
((ucw-session-cookie-name :accessor ucw-session-cookie-name ... | Allow applications to specify the name of the session id cookie. This allows multiple cookie session UCW applications on a single hostname without stomping the sessions. | Allow applications to specify the name of the session id cookie. This allows multiple cookie session UCW applications on a single hostname without stomping the sessions.
| Common Lisp | bsd-3-clause | erikg/ucw-core |
eddfeacbf086a9cdaf6edc9973f92ec6dd04677c | environment/stage1/setf-function-p.lisp | environment/stage1/setf-function-p.lisp | ;;;;; tré – Copyright (C) 2005-2009,2011–2012 Sven Michael Klose <pixel@copei.de>
(defun %=-function? (x)
(function? (eval `(function ,x))))
| ;;;;; tré – Copyright (C) 2005-2009,2011–2012 Sven Michael Klose <pixel@copei.de>
(defun %=-function? (x)
(function? (symbol-function x)))
| Use SYMBOL-FUNCTION instead of EVAL. | Use SYMBOL-FUNCTION instead of EVAL.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
f4b0b89a1f3610ac0bb835a984a659724d65dee3 | Code/Boot/Phase1/fill.lisp | Code/Boot/Phase1/fill.lisp | (cl:in-package #:sicl-boot-phase1)
(defun fill-environment (linkage-environment)
(declare (ignore linkage-environment))
nil)
| (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)
... | Define function LD for loading files. | Define function LD for loading files.
| 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 |
b1c42bcc80de875ab78db5ab29551348fcd19042 | 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 definitions of methods on ENSURE-GENERIC-FUNCTION-USING-CLASS. | Load file containing definitions of methods on ENSURE-GENERIC-FUNCTION-USING-CLASS.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
36e72225e45a9e8d5f4c79693e68cf086f8390a1 | Binary-tree/binary-tree.lisp | Binary-tree/binary-tree.lisp | (cl:in-package #:clump-binary-tree)
(defgeneric left (node))
(defgeneric right (node))
(defgeneric (setf left) (new-left node))
(defgeneric (setf right) (new-right node))
(defclass node ()
((%left :initarg :left :initform nil :accessor left)
(%right :initarg :right :initform nil :accessor right)))
(defgeneric n... | (cl:in-package #:clump-binary-tree)
(defgeneric left (node))
(defgeneric right (node))
(defgeneric (setf left) (new-left node))
(defgeneric (setf right) (new-right node))
(defclass node ()
((%left :initarg :left :initform nil :accessor left)
(%right :initarg :right :initform nil :accessor right)))
(defgeneric n... | Add an :AFTER method on (SETF LEFT) specialized to NODE-WITH-PARENT. | Add an :AFTER method on (SETF LEFT) specialized to NODE-WITH-PARENT.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
ca1028676140df50bb85051b9c6b77279e74aca8 | Apps/Inspector/clouseau.asd | Apps/Inspector/clouseau.asd | ;;; -*- Mode: Lisp; Package: INSPECTOR -*-
;;; (c) copyright 2005 by
;;; Robert Strandh (strandh@labri.fr)
;;; 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
;;; v... | ;;; -*- Mode: Lisp; Package: INSPECTOR -*-
;;; (c) copyright 2005 by
;;; Robert Strandh (strandh@labri.fr)
;;; 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
;;; v... | Make Clouseau's system definition inter-file dependencies explicit, just for good measure. | Make Clouseau's system definition inter-file dependencies explicit,
just for good measure.
| Common Lisp | lgpl-2.1 | informatimago/mcclim,quek/mcclim,informatimago/mcclim,quek/mcclim |
dbaec788ad90d57339bb605a2562cc6332288b52 | site/util.lisp | site/util.lisp | (in-package #:roo-site)
(defvar *day-names*
'("Maandag" "Dinsdag" "Woensdag" "Donderdag" "Vrijdag" "Zaterdag" "Zondag"))
(defgeneric name-of-day (date))
(defmethod name-of-day ((date local-time:timestamp))
(nth (local-time:timestamp-day-of-week date)
*day-names*))
(defmethod name-of-day (date)
(name-of... | (in-package #:roo-site)
(defvar *day-names*
'("Maandag" "Dinsdag" "Woensdag" "Donderdag" "Vrijdag" "Zaterdag" "Zondag"))
(defgeneric name-of-day (date))
(defmethod name-of-day ((date local-time:timestamp))
(nth (1- (local-time:timestamp-day-of-week date))
*day-names*))
(defmethod name-of-day (date)
(na... | Fix names of days, broken because of timezone change | Fix names of days, broken because of timezone change
| Common Lisp | mit | jorams/roo |
900b2c7235e3443958ac992add58cab76827b06b | environment/stage2/with.lisp | environment/stage2/with.lisp | ;;;;; TRE environment
;;;;; Copyright (c) 2005-2011 Sven Klose <pixel@copei.de>
(defun copy-while (pred x)
(when (and x (funcall pred (car x)))
(cons (car x)
(copy-while pred (cdr x)))))
(define-test "COPY-WHILE"
((copy-while #'number? '(1 2 3 a)))
'(1 2 3))
(defun collect (pred x)
(values (copy-while p... | ;;;;; tré - Copyright (c) 2005-2011 Sven Klose <pixel@copei.de>
(defun copy-while (pred x)
(when (and x (funcall pred (car x)))
(cons (car x)
(copy-while pred (cdr x)))))
(define-test "COPY-WHILE"
((copy-while #'number? '(1 2 3 a)))
'(1 2 3))
(defun separate (pred x)
(values (copy-while pred x)
(rem... | Fix horrible bug that skipped the first assignment after accumulating functions. | Fix horrible bug that skipped the first assignment after accumulating functions.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
2993ffd71970c57f1040eeee33ae23b3de577a24 | Code/Cleavir/HIR-transformations/hir-transformations.lisp | Code/Cleavir/HIR-transformations/hir-transformations.lisp | (cl:in-package #:cleavir-hir-transformations)
(defun hir-transformations (initial-instruction implementation processor os)
(type-inference initial-instruction)
(eliminate-typeq initial-instruction)
(introduce-immediates initial-instruction implementation processor os)
(segregate-lexicals initial-instruction))
| (cl:in-package #:cleavir-hir-transformations)
(defun hir-transformations (initial-instruction implementation processor os)
(type-inference initial-instruction)
(eliminate-typeq initial-instruction)
(introduce-immediates initial-instruction implementation processor os)
(process-captured-variables initial-instru... | Replace segregation only by complete processing of captured variables. | Replace segregation only by complete processing of captured variables.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
1102f824ec9f126968878e2f473bbd07bc815210 | core/laap.lisp | core/laap.lisp | (in-package #:laap)
(defvar *thread-pool* nil)
(defvar *loop* nil)
(defmacro with-event-loop (&body body)
`(let* ((*thread-pool* (make-instance 'thread-pool))
(*loop* (make-instance 'event-loop))
(bt:*default-special-bindings* `((*thread-pool* . ,*thread-pool*)
(*loop* . ,*loop*))))
(add-reporter... | (in-package #:laap)
(defvar *thread-pool* nil)
(defvar *loop* nil)
(defmacro with-event-loop (&body body)
(let ((err (gensym))
(res (gensym)))
`(let* ((*thread-pool* (make-instance 'thread-pool))
(*loop* (make-instance 'event-loop))
(bt:*default-special-bindings* `((*thread-pool* . ,*thread-pool*)
... | Fix startup by blocking threads. | Fix startup by blocking threads.
| Common Lisp | mit | ralt/laap,ralt/laap,ralt/laap |
1434b511c45ea0795ba3ea82b5b5d65637b76348 | Code/Cons-high/sicl-cons-high-test.asd | Code/Cons-high/sicl-cons-high-test.asd | (in-package #:cl-user)
;;;; 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" ... | (in-package #:asdf-user)
;;;; 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... | Define ASDF system in package ASDF-USER. | Define ASDF system in package ASDF-USER.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
6fa34fc867596be5c28020e5620c4665d632635c | nim.lisp | nim.lisp | ; find the minimax analysis of a game of nim
; nim is a game where players take turns dividing a pile of discrete size
; where the player that makes an even division loses
; assume that min starts
; hence an odd number of piles mean it is min's turn
(defun play (piles)
(when (lostp piles) ; is losing state
(if (... | ; find the minimax analysis of a game of nim
; nim is a game where players take turns dividing a pile of discrete size
; where the player that makes an even division loses
; assume that min starts
; hence an odd number of piles mean it is min's turn
(defun play (piles)
(when (lostp piles) ; is losing state
(if (... | Check for losing state not undecided state | Check for losing state not undecided state
| Common Lisp | mit | richardmillson/Lisp |
f9bb2f4c6403e027260d83950420d4eb83334274 | src/assembler/write.lisp | src/assembler/write.lisp | ; bender – Copyright (c) 2014–2016 Sven Michael Klose <pixel@hugbox.org>
(def-instruction write-instruction-operand (instruction out)
(alet operand
(dotimes (i (instruction-operand-size instruction))
(write-byte (mod ! 256) out)
(= ! (>> ! 8)))))
(defun write-instruction (instruction out)
(= *pc* ... | ; bender – Copyright (c) 2014–2016 Sven Michael Klose <pixel@hugbox.org>
(def-instruction write-instruction-operand (instruction out)
(alet operand
(dotimes (i (instruction-operand-size instruction))
(write-byte (mod ! 256) out)
(= ! (>> ! 8)))))
(defun write-instruction (instruction out)
(= *pc* ... | Update program counter for data. | Update program counter for data.
| Common Lisp | bsd-2-clause | SvenMichaelKlose/bender,SvenMichaelKlose/bender,SvenMichaelKlose/bender |
07a96b2ee6e03ed5b2acd6ed7ebbbd2f87ff4aa5 | src/bitwise.lisp | src/bitwise.lisp | (in-package :toolbox)
(annot:enable-annot-syntax)
@export
(defun map-positive-byte-regions (value)
(declare (type integer value))
(iterate
(for i from 0 below (integer-length value))
(for current-bit = (ldb (byte 1 i) value))
(for prev-bit previous current-bit initially 0)
(with start = 0)
(co... | (in-package :toolbox)
(annot:enable-annot-syntax)
@export
(defun map-positive-byte-regions (value)
(declare (type integer value))
(iterate
(for i from 0 below (integer-length value))
(for current-bit = (ldb (byte 1 i) value))
(for prev-bit previous current-bit initially 0)
(with start = 0)
(co... | Move byte regions accepts integer. | Move byte regions accepts integer.
| Common Lisp | mit | sirherrbatka/toolbox |
169c30264cb622d8134c776cace0f099692928c6 | rsn-mtg.lisp | rsn-mtg.lisp | ;;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: RSN-MTG; Base: 10 -*- file: rsn-mtg.lisp
;;;; Copyright (c) 2013 "the Phoeron" Colin J.E. Lupton <//thephoeron.com>
;;;; See LICENSE for additional information.
(in-package :rsn-mtg)
;; EOF
| ;;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: RSN-MTG; Base: 10 -*- file: rsn-mtg.lisp
;;;; Copyright (c) 2013 "the Phoeron" Colin J.E. Lupton <//thephoeron.com>
;;;; See LICENSE for additional information.
(in-package :rsn-mtg)
(defun initial-setup (&key (db *default-database-connection*) (verbose nil))
"Per... | Add initial-setup wrapper function to simplify configuration and syncing | Add initial-setup wrapper function to simplify configuration and syncing
| Common Lisp | mit | thephoeron/rsn-mtg |
ae96ce825934efb09859d4346a33927820dd7494 | Code/CLOS/class-defclass.lisp | Code/CLOS/class-defclass.lisp | (cl:in-package #:sicl-clos)
(defclass class (specializer)
((%unique-number
;; FIXME: the unique numbers should be assigned during class
;; finalization, and not here.
:initform (prog1 *class-unique-number* (incf *class-unique-number*))
:reader unique-number)
(%name
:initform nil
:initarg... | (cl:in-package #:sicl-clos)
(defclass class (specializer)
((%unique-number
;; FIXME: the unique numbers should be assigned during class
;; finalization, and not here.
:initform (prog1 *class-unique-number* (incf *class-unique-number*))
:reader unique-number)
(%name
:initform nil
:initarg... | Use accessor rather than separate reader and writer. | Use accessor rather than separate reader and writer.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL |
f182701c5d6f3343c7b187991771728766e790e1 | 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/slot... | (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 STANDARD-SLOT-DEFINITION. | Load a file containing the definition of STANDARD-SLOT-DEFINITION.
| 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 |
5445f498f0381c6a70e2d7269ce33b9482c08cd6 | clump.asd | clump.asd | (cl:in-package #:asdf-user)
(defsystem clump
:description "Library for operations on different kinds of trees"
:author "Robert Strandh <robert.strandh@gmail.com>"
:license "FreeBSD, see file LICENSE.text"
:depends-on (:clump-binary-tree))
| (cl:in-package #:asdf-user)
(defsystem clump
:description "Library for operations on different kinds of trees"
:author "Robert Strandh <robert.strandh@gmail.com>"
:license "FreeBSD, see file LICENSE.text"
:depends-on (:clump-binary-tree :clump-2-3-tree))
| Add CLUMP-2-3-TREE as a dependency for system CLUMP. | Add CLUMP-2-3-TREE as a dependency for system CLUMP.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
147f786c0639d6ce809625117bb6ac3bf2628054 | Code/Boot/customize-c1.lisp | Code/Boot/customize-c1.lisp | (cl:in-package #:sicl-boot)
(defun customize-c1 (boot)
(message "Customizing compilation environment C1~%")
(message "Finished customizing compilation environment C1~%"))
| (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... | Define a custom version of DEFGENERIC in compilation environment C1. | Define a custom version of DEFGENERIC in compilation environment C1.
| 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 |
7cc9c9ffeb9818160cd16a42b0f27ef7c03b7406 | zcdb.asd | zcdb.asd | ;;;; zcdb.asd
(asdf:defsystem #:zcdb
:serial t
:version "1.0.3"
:description "Read and write cdb files, as specified in
http://cr.yp.to/cdb.html"
:author "Zach Beane <xach@xach.com>"
:components ((:file "package")
(:file "cdb")
(:file "reading")
... | ;;;; zcdb.asd
(asdf:defsystem #:zcdb
:serial t
:version "1.0.3"
:description "Read and write cdb files, as specified in
http://cr.yp.to/cdb.html"
:author "Zach Beane <xach@xach.com>"
:license "MIT"
:components ((:file "package")
(:file "cdb")
(:file "reading")
... | Add :license to system file | Add :license to system file
| Common Lisp | mit | xach/zcdb |
cb8b58f2a841f6b02f4ef656939a890077d219b3 | Binary-tree/link-unlink.lisp | Binary-tree/link-unlink.lisp | (cl:in-package #:clump-binary-tree)
;;; Make CHILD the left child of NODE.
(defgeneric link-left (node child))
;;; Make CHILD the right child of NODE.
(defgeneric link-right (node child))
;;; Remove CHILD as the left child of NODE.
(defgeneric unlink-left (node child))
;;; Remove CHILD as the right child of NODE.
(... | (cl:in-package #:clump-binary-tree)
;;; Make CHILD the left child of NODE.
(defgeneric link-left (parent child))
;;; Make CHILD the right child of PARENT.
(defgeneric link-right (parent child))
;;; Remove CHILD as the left child of PARENT.
(defgeneric unlink-left (parent child))
;;; Remove CHILD as the right child ... | Rename parent parameter for improved readability. | Rename parent parameter for improved readability.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
b563b3a55736e0a38fb6c70f9cf9f7e60f776fed | iolib.termios.asd | iolib.termios.asd | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
(eval-when (:compile-toplevel :load-toplevel :execute)
(asdf:oos 'asdf:load-op :cffi-grovel))
;;; Fix ecl long-long support
#+(and ecl (or cffi-features:no-long-long cffi-sys::no-long-long))
(defmethod perform :after ((o load-op) (c (eql (find... | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
(eval-when (:compile-toplevel :load-toplevel :execute)
(asdf:oos 'asdf:load-op :cffi-grovel))
;;; Fix ecl long-long support
#+(and ecl (or cffi-features:no-long-long cffi-sys::no-long-long))
(defmethod perform :after ((o load-op) (c (eql (find... | Fix system names (slash instead of dot) | Fix system names (slash instead of dot)
The latest commit (0fef8c1) of IOLIB (https://github.com/sionescu/iolib) uses slashes instead of dots in system names.
Changing this fixes the compilation process of IOLIB.TERMIO. | Common Lisp | mit | marsijanin/iolib.termios |
00b9598b8826d17515d65bd2793c75b9423f5e20 | src/sockets/dns/conditions.lisp | src/sockets/dns/conditions.lisp | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
;;;
;;; --- Resolver conditions.
;;;
(in-package :iolib.sockets)
(define-condition resolver-error ()
((datum :initarg :data :reader resolver-error-datum))
(:documentation
"Signaled when an error occurs while trying to resolve an address."... | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
;;;
;;; --- Resolver conditions.
;;;
(in-package :iolib.sockets)
(define-condition resolver-error (error)
((datum :initarg :data :reader resolver-error-datum))
(:documentation
"Signaled when an error occurs while trying to resolve an addr... | Make RESOLVER-ERROR a subtype of ERROR. | Make RESOLVER-ERROR a subtype of ERROR.
| Common Lisp | mit | lispnik/iolib,dkochmanski/iolib,shamazmazum/iolib,deadtrickster/iolib,lispnik/iolib,attila-lendvai/iolib,shamazmazum/iolib,deadtrickster/iolib,tiago4orion/iolib,attila-lendvai/iolib,vsedach/iolib-simple-mux,lispnik/iolib,dkochmanski/iolib,attila-lendvai/iolib,shamazmazum/iolib,sionescu/iolib,tiago4orion/iolib,vsedach/i... |
fe4a8f0c3d1ebe5cdff1338f0d2a324556aa694a | Code/Boot/Phase1/bridge-generic-function.lisp | Code/Boot/Phase1/bridge-generic-function.lisp | (cl:in-package #:sicl-boot-phase2)
(cl:defclass bridge-generic-function
(#+sbcl sb-pcl:funcallable-standard-object
sicl-boot-phase1:standard-generic-function)
()
(:metaclass #+sbcl sb-pcl:funcallable-standard-class))
(cl:defmethod cl:print-object ((object bridge-generic-function) stream)
(print-unreada... | (cl:in-package #:sicl-boot-phase1)
(cl:defclass bridge-generic-function
(#+sbcl sb-pcl:funcallable-standard-object
sicl-boot-phase1:standard-generic-function)
()
(:metaclass #+sbcl sb-pcl:funcallable-standard-class))
(cl:defmethod cl:print-object ((object bridge-generic-function) stream)
(print-unreada... | Update package name to reflect move from phase 2 to phase 1. | Update package name to reflect move from phase 2 to phase 1.
| 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 |
ea0ca6aa3d49dcbde30b0f04dc4f148c8e105d85 | src/middleware/static-file.lisp | src/middleware/static-file.lisp | (in-package #:eloquent.mvc.middleware)
(defun make-static-file (path-info prefix root)
(let ((path (remove-prefix prefix path-info)))
(merge-pathnames path
(merge-pathnames "static/" root))))
(defun get-prefix (config)
(eloquent.mvc.config:get config "static-file" "prefix"))
(defun remov... | (in-package #:eloquent.mvc.middleware)
(defun make-static-file (path-info prefix root)
(let ((path (remove-prefix prefix path-info)))
(merge-pathnames path
(merge-pathnames "static/" root))))
(defun get-prefix (config)
(eloquent.mvc.config:get config "static-file" "prefix"))
(defun remov... | Remove the call of NOT-FOUND function from router | Remove the call of NOT-FOUND function from router
| Common Lisp | mit | Liutos/eloquent-mvc,Liutos/eloquent-mvc |
78be3c369887c444016c8e25fbd91434ca7a39fa | agent/as-singleton-agent.lisp | agent/as-singleton-agent.lisp | ;;;; -*- Mode: LISP; Syntax: COMMON-LISP; indent-tabs-mode: nil; coding: utf-8; show-trailing-whitespace: t -*-
;;;; Copyright (C) 2011 Anton Vodonosov (avodonosov@yandex.ru)
;;;; See LICENSE for details.
;;;; Preventing more than one agent to run in parallel.
;;;; This is important, becuase the agents will
;;;;... | ;;;; -*- Mode: LISP; Syntax: COMMON-LISP; indent-tabs-mode: nil; coding: utf-8; show-trailing-whitespace: t -*-
;;;; Copyright (C) 2011 Anton Vodonosov (avodonosov@yandex.ru)
;;;; See LICENSE for details.
;;;; Preventing more than one agent to run in parallel.
;;;; This is important, becuase the agents will
;;;;... | Change singleton agent "lock" port number to avoid conflict with some Windows service. | Change singleton agent "lock" port number to avoid conflict with some Windows service.
| Common Lisp | mit | cl-test-grid/cl-test-grid,cl-test-grid/cl-test-grid,cl-test-grid/cl-test-grid,cl-test-grid/cl-test-grid,cl-test-grid/cl-test-grid |
2bfca7a5e111bec735c071a0894bf9485f62bcbb | Code/CLOS/generic-function-defclass.lisp | Code/CLOS/generic-function-defclass.lisp | (cl:in-package #:sicl-clos)
;;; FIXME: I can not remember why I decided not to use initargs for
;;; the slots here, and instead calling explicit writers in :AFTER
;;; methods on INITIALIZE-INSTANCE and REINITIALIZE-INSTANCE.
(defclass generic-function (metaobject funcallable-standard-object)
(;; While there is a fu... | ;;;; 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 | clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
15be11fa274e43be43bacd4818e6a6f0f5743e1e | dynamic-classes.asd | dynamic-classes.asd | (defpackage #:dynamic-classes-system (:use #:common-lisp #:asdf))
(in-package #:dynamic-classes-system)
(defsystem dynamic-classes
:author "Gary Warren King <gwking@metabang.com>"
:version "1.0.1"
:maintainer "Gary Warren King <gwking@metabang.com>"
:licence "MIT Style license"
:components ((:module
"dev"... | (defpackage #:dynamic-classes-system (:use #:common-lisp #:asdf))
(in-package #:dynamic-classes-system)
(defsystem dynamic-classes
:author "Gary Warren King <gwking@metabang.com>"
:version "1.0.1"
:maintainer "Gary Warren King <gwking@metabang.com>"
:licence "MIT Style license"
:components ((:module
"dev"... | Add the usual test boilerplate to the system file | Add the usual test boilerplate to the system file
darcs-hash:20080727223559-3cc5d-13f2c1a24208f39b43c1a1dbd4c20378d1b31d5b.gz
| Common Lisp | mit | gwkkwg/dynamic-classes |
0f366946d702e1a4c4a6a4b899f34344a4111b0b | Code/Arithmetic/arithmetic.lisp | Code/Arithmetic/arithmetic.lisp | (in-package :sicl-arithmetic)
(defun + (&rest args)
(cond ((null args) 0)
;; FIXME: check that we have a number
((null (cdr args)) (car args))
(t (apply #'+ (binary-+ (car args) (cadr args)) (cddr args)))))
(defun - (x &rest args)
(cond ((null args) (negate x))
((null (cdr args)) (binary-- x (car args)))
(t... | (cl:in-package :sicl-arithmetic)
(defun + (&rest args)
(cond ((null args) 0)
;; FIXME: check that we have a number
((null (cdr args)) (car args))
(t (apply #'+ (binary-+ (car args) (cadr args)) (cddr args)))))
(defun - (x &rest args)
(cond ((null args) (negate x))
((null (cdr args)) (binary-- x (car args)))
... | 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,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL |
73244105a7b052a9ad2d4dd56b5e5bbc2e7ebb39 | Code/Data-and-control-flow/condition-reporters-english.lisp | Code/Data-and-control-flow/condition-reporters-english.lisp | (cl:in-package #:sicl-data-and-control-flow)
(defmethod cleavir-i18n:report-condition
((condition odd-number-of-arguments-to-setf)
stream
(langauge cleavir-i18n:english))
(format stream
"An odd number of arguments was given to SETF~@
in the following form:~@
~s"
(for... | (cl:in-package #:sicl-data-and-control-flow)
(defmethod cleavir-i18n:report-condition
((condition odd-number-of-arguments-to-setf)
stream
(langauge cleavir-i18n:english))
(format stream
"An odd number of arguments was given to SETF~@
in the following form:~@
~s"
(for... | Add condition reporter for new condition. | Add condition reporter for new condition.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
c4e308cc9612a8e979b2f0b55b064e16f02131a7 | config/resources/repository.lisp | config/resources/repository.lisp | (in-package :mu-cl-resources)
(add-prefix "nie" "http://www.semanticdesktop.org/ontologies/2007/01/19/nie/#")
(add-prefix "nco" "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#")
(add-prefix "nfo" "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#")
(add-prefix "dcterms" "http://purl.org/dc/terms/")
... | (in-package :mu-cl-resources)
(add-prefix "nie" "http://www.semanticdesktop.org/ontologies/2007/01/19/nie/#")
(add-prefix "nco" "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#")
(add-prefix "nfo" "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#")
(add-prefix "dcterms" "http://purl.org/dc/terms/")
... | Change namespace of custom vocabularies music and bravoer | Change namespace of custom vocabularies music and bravoer
Use the mu.semte.ch ext namespace for vocabularies which don't have a
permanent URI yet
| Common Lisp | mit | bravoer/music-crm,bravoer/music-crm,bravoer/music-crm |
349cbc3e7cec796335b89b0b69d5a7ad729301d4 | 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 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))))
... | Call function LEAVE before returning or entering right subtree. | Call function LEAVE before returning or entering right subtree.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
a094f71f244a0662274708d777caa483b3316b54 | bytecurry.asdf-ext.asd | bytecurry.asdf-ext.asd | (in-package :asdf-user)
(defsystem "bytecurry.asdf-ext"
:class :package-inferred-system
:author "Thayne McCombs"
:maintainer "Thayne McCombs"
:mailto "bytecurry.software@gmail.com"
:defsystem-depends-on (:asdf-package-system)
:depends-on (:bytecurry.asdf-ext/doc-op :bytecurry.asdf-ext/atdoc))
| (in-package :asdf-user)
(defsystem "bytecurry.asdf-ext"
:class :package-inferred-system
:author "Thayne McCombs"
:maintainer "Thayne McCombs"
:mailto "bytecurry.software@gmail.com"
:license "MIT"
:defsystem-depends-on (:asdf-package-system)
:depends-on (:bytecurry.asdf-ext/doc-op :bytecurry.asdf-ext/atdo... | Add license attribute to asdf file. | Add license attribute to asdf file.
| Common Lisp | mit | bytecurry/bytecurry.asdf-ext |
e47dac655fbad9fb5b5131abdae9e83d7872be0a | environment/transpiler/targets/javascript/core/late-macro.lisp | environment/transpiler/targets/javascript/core/late-macro.lisp | ; tré – Copyright (c) 2011–2013,2015 Sven Michael Klose <pixel@copei.de>
(define-expander 'standard-macros)
(set-expander-macros 'standard-macros *macros*)
(= *standard-macro-expander* (expander-get 'standard-macros))
(defun %%macro? (x)
(expander-has-macro? 'standard-macros x.))
(defun %%macrocall (x)
(funcall ... | ; tré – Copyright (c) 2011–2013,2015 Sven Michael Klose <pixel@copei.de>
(define-expander 'standard-macros)
(set-expander-macros 'standard-macros *macros*)
(= *standard-macro-expander* (expander-get 'standard-macros))
(defun %%macro? (x)
(expander-has-macro? 'standard-macros x.))
(defun %%macrocall (x)
(funcall ... | Add comment about possibly useless *ENVIRONMENT-MACROS*. | Add comment about possibly useless *ENVIRONMENT-MACROS*.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
7ce7b354b0586c4f3c7b8463c377f8e3e3b2738a | med.asd | med.asd | (in-package :cl-user)
(defpackage :med-asd
(:use :cl :asdf))
(in-package :med-asd)
(defsystem :med
:version "0.1"
:description "med - Mezzano EDitor"
:serial t
:components ((:file "package")
(:file "line")
(:file "mark")
(:file "editor")
(:file "b... | (in-package :cl-user)
(defpackage :med-asd
(:use :cl :asdf))
(in-package :med-asd)
(defsystem :med
:version "0.1"
:description "med - Mezzano EDitor"
:serial t
:components ((:file "package")
(:file "line")
(:file "mark")
(:file "editor")
(:file "b... | Add grep to asd file.' | Add grep to asd file.'
| Common Lisp | mit | burtonsamograd/med |
4be7744d1f41ef789db5c48deb2cb10368fa1661 | Code/Cleavir/Concrete-syntax-tree/lambda-list.lisp | Code/Cleavir/Concrete-syntax-tree/lambda-list.lisp | (cl:in-package #:cleavir-cst)
(defclass optional-or-keyword--parameter ()
(;; This slot contains the CST for the obligatory variable of the
;; parameter.
(%variable-cst :initarg :variable-cst :reader variable-cst)
;; This slot contains a CST for the INIT-FORM of the parameter. If
;; no INIT-FORM was sup... | (cl:in-package #:cleavir-cst)
(defclass optional-or-keyword--parameter ()
(;; This slot contains the CST for the obligatory variable of the
;; parameter.
(%variable-cst :initarg :variable-cst :reader variable-cst)
;; This slot contains a CST for the INIT-FORM of the parameter. If
;; no INIT-FORM was sup... | Define new class OPTIONAL-PARAMETER using generalized class as superclass. | Define new class OPTIONAL-PARAMETER using generalized class as superclass.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
937bc2c7c45eaffa3a6d8ac0aa7b24f9463644b4 | Code/Sequences/Small/sicl-sequences-small-test.asd | Code/Sequences/Small/sicl-sequences-small-test.asd | (in-package #:cl-user)
(asdf:defsystem :sicl-sequences-small-test
:depends-on (:lisp-unit :sicl-sequences-small)
:components
((:file "test" :depends-on ())))
| (cl:in-package #:asdf-user)
(defsystem :sicl-sequences-small-test
:depends-on (:lisp-unit :sicl-sequences-small)
:components
((:file "test" :depends-on ())))
| Define ASDF system in package ASDF-USER. | Define ASDF system in package ASDF-USER.
| 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 |
891f25f56afe4cf2ec60f8c30fca10dca1a8a59b | Code/CLOS/sicl-clos-support.asd | Code/CLOS/sicl-clos-support.asd | (cl:in-package #:asdf-user)
(defsystem :sicl-clos-support
:depends-on (:sicl-clos-package
:sicl-global-environment)
:serial t
:components
((:file "ensure-generic-function-using-class-support")
(:file "make-method-lambda-support")
(:file "make-method-lambda-defgenerics")
(:file "make-method-lam... | (cl:in-package #:asdf-user)
(defsystem :sicl-clos-support
:depends-on (:sicl-clos-package
:sicl-global-environment)
:serial t
:components
((:file "ensure-generic-function-using-class-support")
(:file "make-method-lambda-support")
(:file "make-method-lambda-defgenerics")
(:file "make-method-lam... | Include support code for ENSURE-CLASS-USING-CLASS. | Include support code for ENSURE-CLASS-USING-CLASS.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL |
c2939a8dac5d57a9724f3a336687b35663b30e15 | clump.asd | clump.asd | (cl:in-package #:asdf-user)
(defsystem clump
:depends-on (:clump-binary-tree))
| (cl:in-package #:asdf-user)
(defsystem clump
:description "Library for operations on different kinds of trees"
:author "Robert Strandh <robert.strandh@gmail.com>"
:license "FreeBSD, see file LICENSE.text"
:depends-on (:clump-binary-tree))
| Add initargs for :DESCRIPTION, :AUTHOR, and :LICENSE. | Add initargs for :DESCRIPTION, :AUTHOR, and :LICENSE.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
9a4069cff863b20fb3482420b1d258b02e5fbb2e | umpns.asd | umpns.asd | (defpackage #:info.isoraqathedh.umpns.asdf
(:use #:cl #:asdf))
(in-package #:info.isoraqathedh.umpns.asdf)
(defsystem umpns
:name "UMPNS-based Minor Planet Namer"
:version "0.1"
:license "MIT"
:components ((:file "unified-minor-planet-naming-system"))
:depends-on (:cl-ppcre :sqlite :iterate))
| (defpackage #:info.isoraqathedh.umpns.asdf
(:use #:cl #:asdf))
(in-package #:info.isoraqathedh.umpns.asdf)
(defsystem umpns
:name "UMPNS-based Minor Planet Namer"
:version "0.1"
:license "MIT"
:components ((:file "unified-minor-planet-naming-system"))
:depends-on (:cl-ppcre :sqlite :iterate :local-time))
| Add local-time to the list of deps | Add local-time to the list of deps
| Common Lisp | mit | isoraqathedh/umpns |
d8eb2a33fd008c74e379bb6ddd19fd506819c47b | TestSuite/Bugs/Bug_0099/Tests.lisp | TestSuite/Bugs/Bug_0099/Tests.lisp | (test-directories ".")
(test
("Bug 0099 : Extra 'let' in generated proof obligation"
:show "MinusOb#MinusProof"
:output ";;; Elaborating proof-term at $TESTDIR/MinusOb#MinusProof
;;; Elaborating obligator at $TESTDIR/MinusOb#ONat
;; ensure-directories-exist: creating $TESTDIR/Snark/MinusOb/MinusProof.log
;; ... | (test-directories ".")
(test
("Bug 0099 : Extra 'let' in generated proof obligation"
:show "MinusOb#MinusProof"
:output '(
";;; Elaborating proof-term at $TESTDIR/MinusOb#MinusProof"
";;; Elaborating obligator at $TESTDIR/MinusOb#ONat"
" Expanded spec file: $TESTDIR/Snark/MinusOb/MinusProof... | Adjust output of test case to new behavior. | Adjust output of test case to new behavior.
git-svn-id: 9ecf60ce9baff443e30a0472d3fd222fcb8117cf@2745 7b97033b-253e-4a5c-9b07-e25f9089a9fd
| Common Lisp | bsd-2-clause | KestrelInstitute/Specware,KestrelInstitute/Specware,KestrelInstitute/Specware,KestrelInstitute/Specware,KestrelInstitute/Specware |
bbb6d847472988c6bafe024258b37e6bb8d9dd51 | Code/Data-and-control-flow/fdefinition.lisp | Code/Data-and-control-flow/fdefinition.lisp | (cl:in-package #:sicl-data-and-control-flow)
(defun fdefinition (function-name)
(sicl-global-environment:fdefinition
function-name
sicl-global-environment:*global-environment*))
| (cl:in-package #:sicl-data-and-control-flow)
(defun fdefinition (function-name)
(sicl-global-environment:fdefinition
function-name
(load-time-value
(sicl-global-environment:global-environment))))
| Use function GLOBAL-ENVIRONMENT rather than obsolete special variable. | Use function GLOBAL-ENVIRONMENT rather than obsolete special variable.
| 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 |
d325005310d4bc44537a07c932869f65cc5255ea | tests/reduce_test.lsp | tests/reduce_test.lsp | (describe reduce-with-lambda
(== (reduce (lambda (acc item) 0 (+ acc item)) 0 '(1 2 3)) 6))
(describe reduce-with-primitive
(== (reduce + 0 '(1 2 3)) 6))
(describe reduce-building-a-list
(== (reduce (lambda (l i) (cons i l)) '() '(1 2 3 4)) '(4 3 2 1))) | (describe reduce-with-lambda
(== (reduce (lambda (acc item) 0 (+ acc item)) 0 '(1 2 3)) 6))
(describe reduce-with-primitive
(== (reduce + 0 '(1 2 3)) 6))
(describe reduce-building-a-list
(== (reduce (lambda (l i) (cons i l)) '() '(1 2 3 4)) '(4 3 2 . 1))
(== (reduce list '() '(1 2 ... | Fix test to reflect change to scheme style reduce. | Fix test to reflect change to scheme style reduce.
| Common Lisp | bsd-3-clause | ToadKing/golisp |
d738fbffb0e1a5267d257b4b2c3184466310b774 | Code/CLOS/Boot/Phase3/generic-function-database.lisp | Code/CLOS/Boot/Phase3/generic-function-database.lisp | (cl:in-package #:sicl-clos)
(defparameter *target-generic-functions* '())
| (cl:in-package #:sicl-clos)
(defparameter *target-generic-functions* '())
(defun add-target-generic-function (name function)
(pushnew (cons name function) *target-generic-functions*
:key #'car :test #'equal))
(defun find-target-generic-function (name)
(let ((entry (assoc name *target-generic-functions* :test... | Define abstractions for access to target GF database. | Define abstractions for access to target GF database.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
98fb97713dda834a2299f486e2a1b0b1f2c9b56b | Code/Cleavir/Dataflow-analysis/dataflow-analysis.lisp | Code/Cleavir/Dataflow-analysis/dataflow-analysis.lisp | (cl:in-package #:cleavir-dataflow-analysis)
(defclass port ()
((%operation :initarg :operation :reader operation)
(%datum :initarg :datum :reader datum)))
(defclass input (port)
((%outputs :initform '() :initarg outputs :accessor outputs)))
(defclass output (port)
((%inputs :initform '() :initarg inputs :ac... | (cl:in-package #:cleavir-dataflow-analysis)
(defclass port ()
(;; The operation to which this port belongs.
(%operation :initarg :operation :reader operation)
(%datum :initarg :datum :reader datum)))
(defclass input (port)
((%outputs :initform '() :initarg outputs :accessor outputs)))
(defclass output (por... | Add comment explaining the purpose of the slot OPERATION in class PORT. | Add comment explaining the purpose of the slot OPERATION in class PORT.
| 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 |
a2751cc37934329f7a7bb88b10f12ccfe6326e3f | src/lexenv.lisp | src/lexenv.lisp | ;;;; -*- lisp -*-
(in-package :it.bese.arnesi)
;;;; * Portable lexical environment access
;;;; ** OpenMCL
#+openmcl
(defun environment-p (environment)
(subtypep (class-of environment) 'ccl::lexical-environment))
#+openmcl
(defun lexical-variables (environment)
(loop
for env = environment then (ccl::lexenv... | ;;;; -*- lisp -*-
(in-package :it.bese.arnesi)
;;;; * Portable lexical environment access
;;;; ** OpenMCL
#+openmcl
(defun environment-p (environment)
(subtypep (class-of environment) 'ccl::lexical-environment))
#+openmcl
(defun lexical-variables (environment)
(loop
for env = environment
then (c... | Fix openmcl's definition of lexical-variables to deal with ccl::definition-environment | Fix openmcl's definition of lexical-variables to deal with ccl::definition-environment
darcs-hash:20050719152230-dd2a1-020627dbba3080ad3dd9b8086e892978f81028d3.gz
| Common Lisp | bsd-3-clause | evrim/arnesi |
93f199a1cc21c3c1e44ff23c5f53f860962dc641 | cl-postgres+local-time.asd | cl-postgres+local-time.asd | (defsystem :cl-postgres+local-time
:depends-on (:cl-postgres :local-time)
:components ((:module "src"
:components ((:module "integration"
:components ((:file "cl-postgres")))))))
| (defsystem #:cl-postgres+local-time
:name "cl-postgres+local-time"
:version "1.0.5"
:author "Daniel Lowe <dlowe@dlowe.net>"
:description "Integration between cl-postgres and local-time"
:depends-on (:cl-postgres :local-time)
:components ((:module "src"
:components ((:module "integration"
... | Update cl-postgres integration system file | Update cl-postgres integration system file
Fixes issue #39.
| Common Lisp | mit | deadtrickster/local-time,orivej/local-time |
2ea2d2f1ecfeae6832a0db576828d3e0dd20424d | 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)))
| (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 CLASS. | Load a file containing the definition of the class CLASS.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
84139fae57cf760f85ae16df95cae06ba012b9c4 | Code/CLOS/Boot/Phase2/initialize-instance.lisp | Code/CLOS/Boot/Phase2/initialize-instance.lisp | (cl:in-package #:sicl-clos)
(defmethod initialize-instance (object &rest keys &key)
(declare (ignore object keys))
nil)
(cl:defmethod cl:initialize-instance :after
((metaobject metaobject) &rest keys &key &allow-other-keys)
(apply #'initialize-instance metaobject keys))
| (cl:in-package #:sicl-clos)
(setf (fdefinition 'initialize-instance)
(fdefinition 'cl:initialize-instance))
| Set fdefinition of SICL-CLOS:INITIALIZE-INSTANCE to CL:INITIALIZE-INTANCE. | Set fdefinition of SICL-CLOS:INITIALIZE-INSTANCE to CL:INITIALIZE-INTANCE.
| 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 |
fd459d09e3070834d53c20b4e5683837046f0009 | 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)
(format *trace-output* "Loading file ~a~%" filename)
(load-source-with-environments
(asdf:system-relative-pathname :sicl-extrinsic-environment filename)
environment
environment))
| (cl:in-package #:sicl-extrinsic-environment)
(defun load-file (filename environment)
(format *trace-output* "Loading file ~a~%" filename)
(finish-output *trace-output*)
(load-source-with-environments
(asdf:system-relative-pathname :sicl-extrinsic-environment filename)
environment
environment))
| Call FINISH-OUTPUT after writing trace message. | Call FINISH-OUTPUT after writing trace message.
| 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 |
1aefd3e52075f28af9bc90e50126f9810b159846 | plugins/gh-pages.lisp | plugins/gh-pages.lisp | (eval-when (:compile-toplevel :load-toplevel)
(ql:quickload 'puri))
(defpackage :coleslaw-gh-pages
(:use :cl)
(:import-from :puri #:parse-uri #:uri-host)
(:import-from :coleslaw #:*config*
#:deploy
#:deploy-dir
#:domain
... | (eval-when (:compile-toplevel :load-toplevel)
(ql:quickload 'puri))
(defpackage :coleslaw-gh-pages
(:use :cl)
(:import-from :puri #:parse-uri #:uri-host)
(:import-from :coleslaw #:*config*
#:deploy
#:deploy-dir
#:domain
... | Remove call to truename to fix CNAME generation. | Remove call to truename to fix CNAME generation.
| Common Lisp | bsd-2-clause | redline6561/coleslaw,kingcons/coleslaw |
13d10ccbfa8f602103eaa7344e5082fb005f40e0 | test-grid-reporting.asd | test-grid-reporting.asd | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; indent-tabs-mode: nil; coding: utf-8; -*-
;;; Copyright (C) 2011 Anton Vodonosov (avodonosov@yandex.ru)
;;; See LICENSE for details.
(asdf:defsystem #:test-grid-reporting
:version "0.1.0"
:serial t
:depends-on (#:test-grid-data #:test-grid-utils #:test-grid-agent ... | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; indent-tabs-mode: nil; coding: utf-8; -*-
;;; Copyright (C) 2011 Anton Vodonosov (avodonosov@yandex.ru)
;;; See LICENSE for details.
(asdf:defsystem #:test-grid-reporting
:version "0.1.0"
:serial t
:depends-on (#:test-grid-data #:test-grid-utils #:test-grid-agent ... | Remove old unused function test-gird-reporting::list-failures | Remove old unused function test-gird-reporting::list-failures
| Common Lisp | mit | cl-test-grid/cl-test-grid,cl-test-grid/cl-test-grid,cl-test-grid/cl-test-grid,cl-test-grid/cl-test-grid,cl-test-grid/cl-test-grid |
26bdc4533250bf2e251dc2b540089ddd4d52ef78 | src/main/cltl/math-system-utils.lisp | src/main/cltl/math-system-utils.lisp | ;; math-system-utils.lisp - misc. utility forms
(in-package #:math)
(define-condition entity-condition ()
((name
:initarg :name
:reader entity-condition-name)))
(define-condition entity-not-found (error entity-condition)
())
(define-condition redefinition-condition (style-warning)
((previous-object
... | ;; math-system-utils.lisp - misc. utility forms
(in-package #:math)
(define-condition entity-condition ()
((name
:initarg :name
:reader entity-condition-name)))
(define-condition entity-not-found (error entity-condition)
())
(define-condition redefinition-condition (style-warning)
((previous-object
... | Correct typo in class defn | CONTAINER-CONDITION: Correct typo in class defn
| Common Lisp | epl-1.0 | MetaCommunity/igneous-math |
5e058b7b08e48b7950053584afe76652be36bd5b | init.lisp | init.lisp | ;; Declaration of package
;; Liam Healy 2009-02-22 09:55:45EST pkgdcl.lisp
;; Time-stamp: <2009-05-12 15:27:21EDT init.lisp>
(in-package :common-lisp-user)
(defpackage :foreign-structures-by-value
(:nicknames #:fsbv)
(:use #:common-lisp))
(cffi:load-foreign-library
#+darwin "libffi.dylib"
#+(and (not darwin) u... | ;; Declaration of package
;; Liam Healy 2009-02-22 09:55:45EST pkgdcl.lisp
;; Time-stamp: <2009-08-22 16:20:00EDT init.lisp>
(in-package :common-lisp-user)
(defpackage :foreign-structures-by-value
(:nicknames #:fsbv)
(:use #:common-lisp))
(cffi:load-foreign-library
#+darwin "libffi.dylib"
#+(and (not darwin) u... | Add include path for OSX | Add include path for OSX
Darwin ports installs .h files under /opt/local/include/, so put -I
option onto cffi-grovel::*cc-flags*.
| Common Lisp | mit | mcna/cffi,3b/cffi,3b/cffi,attila-lendvai/cffi,stassats/cffi,cffi/cffi,cffi/cffi,attila-lendvai/cffi,stassats/cffi,dkochmanski/cffi,dkochmanski/cffi,stassats/cffi,dkochmanski/cffi,mcna/cffi,cffi/cffi,3b/cffi |
86a814ccf383359a458ec1e6fe78f0daf4b9238a | 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)
(%leaf-class :initarg :leaf-class :reader leaf-class)
(%2-node-class :initarg :2-node-class :reader 2-node-class)
(%3-node-class :initarg :3-node-class :reader 3-node-class)))
(defclass node ()
((%parent :ini... | (cl:in-package #:clump-2-3-tree)
(defclass tree ()
((%contents :initform nil :accessor contents)
(%leaf-class :initarg :leaf-class :reader leaf-class)
(%2-node-class :initarg :2-node-class :reader 2-node-class)
(%3-node-class :initarg :3-node-class :reader 3-node-class)))
(defclass node ()
((%parent :ini... | Define generic function 3-NODE-P with two methods. | Define generic function 3-NODE-P with two methods.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
a7fa25a46a63efb9cd1e19403ee88c0f4dc59398 | apis-of-test-frameworks/eos-api.lisp | apis-of-test-frameworks/eos-api.lisp | (defpackage #:eos-api
(:use :cl #:api-dsl)
(:export #:run-test-suites
#:failed-tests))
(in-package #:eos-api)
(proclfun run-test-suites (&rest (test-suite-spec symbol)) t
"Runs one or more Eos test suites specified by arguments and returns
an opaque result object combining all the results. ... | (defpackage #:eos-api
(:use :cl #:api-dsl)
(:export #:run-test-suites
#:failed-tests))
(in-package #:eos-api)
(proclfun run-test-suites (&rest (test-suite-spec symbol)) t
"Runs one or more Eos test suites specified by arguments and returns
an opaque result object combining all the results. ... | Fix typo in a docstring. | Fix typo in a docstring.
| Common Lisp | mit | cl-test-grid/cl-test-grid,cl-test-grid/cl-test-grid,cl-test-grid/cl-test-grid,d35h/cl-test-grid,cl-test-grid/cl-test-grid,d35h/cl-test-grid,cl-test-grid/cl-test-grid |
fe6080418f101aa9fc88e7396f0370748c79ccff | Binary-tree/iterative-traversal.lisp | Binary-tree/iterative-traversal.lisp | (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)
... | (cl:in-package #:clump-binary-tree)
;;;; Depth-first iterative traversal.
;;;;
;;;; PRE, IN, and POST are functions of a single variable. Each of
;;;; these functions is called with a NODE as its argument.
;;;;
;;;; Before a node is visited, PRE is called with that node as an
;;;; argument. If PRE returns true, this... | Add comment explaining what ITERATIVE-TRAVERSAL does. | Add comment explaining what ITERATIVE-TRAVERSAL does.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
11e88c737d7d4235a11c2184b4826fb2dc9909ff | Binary-tree/docstrings-english.lisp | Binary-tree/docstrings-english.lisp | (cl:in-package #:clump-binary-tree)
(setf (documentation 'left 'function)
(format nil "Given a binary tree, return the left child of that tree.~@
If an object other than a binary tree is given,~@
then an error of type INVALID-BINARY-TREE is signaled."))
(setf (documentation... | (cl:in-package #:clump-binary-tree)
(setf (documentation 'left 'function)
(format nil "Given a binary tree, return the left child of that tree.~@
If an object other than a binary tree is given,~@
then an error of type INVALID-BINARY-TREE is signaled."))
(setf (documentation... | Add English documentation for function (SETF RIGHT). | Add English documentation for function (SETF RIGHT).
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
8e1fa16831688e20705b1d142e2de9a250c118bd | environment/stage1/conditional.lisp | environment/stage1/conditional.lisp | ;;;; TRE environment
;;;; Copyright (c) 2005-2008 Sven Klose <pixel@copei.de>
(defmacro when (predicate &rest expr)
`(and ,predicate
,(if (cdr expr)
`(progn ,@expr)
(car expr))))
(defmacro unless (predicate &rest expr)
`(when (not ,predicate) ,@expr))
(defun group2 (x)
(if x
(... | ;;;; TRE environment
;;;; Copyright (c) 2005-2008,2011 Sven Klose <pixel@copei.de>
(defmacro when (predicate &rest expr)
`(and ,predicate
,(if (cdr expr)
`(progn ,@expr)
(car expr))))
(defmacro unless (predicate &rest expr)
`(when (not ,predicate) ,@expr))
(defun group2 (x)
(if x
... | TEST keyword accepted as first argument. | CASE: TEST keyword accepted as first argument.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
3285d6642e9f3bce92f522d0e677ef6dacc6eb24 | Code/Cleavir/Intermediate-representation/HIR/cleavir-hir.asd | Code/Cleavir/Intermediate-representation/HIR/cleavir-hir.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :cleavir-hir
:depends-on (:cleavir-ir)
:serial t
:components
((:file "data")
(:file "box-unbox-mixins")
(:file "side-effect-mixins")
(:file "general-purpose-instructions")
(:file "fixnum-related-instructions")
(:file "integer-related-instruction... | (cl:in-package #:asdf-user)
(defsystem :cleavir-hir
:depends-on (:cleavir-ir)
:serial t
:components
((:file "data")
(:file "box-unbox-mixins")
(:file "side-effect-mixins")
(:file "general-purpose-instructions")
(:file "fixnum-related-instructions")
(:file "integer-related-instructions")
(:fil... | Use package ASDF-USER to define system. | Use package ASDF-USER to define system.
| 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 |
c655c22333497861d90b1fdccf923aa78ce024af | Code/Compiler/Extrinsic-compiler/File-compiler/compile-file.lisp | Code/Compiler/Extrinsic-compiler/File-compiler/compile-file.lisp | (cl:in-package #:sicl-extrinsic-file-compiler)
(defparameter *sicl* (make-instance 'sicl-target-sicl:sicl))
(defparameter *gnu-linux* (make-instance 'sicl-os-gnu-linux:gnu-linux))
(defparameter *x86-64* (make-instance 'sicl-x86-64:x86-64))
(defun ast-from-stream (stream environment)
(cleavir-ast:make-progn-ast
... | (cl:in-package #:sicl-extrinsic-file-compiler)
(defparameter *sicl* (make-instance 'sicl-target-sicl:sicl))
(defparameter *gnu-linux* (make-instance 'sicl-os-gnu-linux:gnu-linux))
(defparameter *x86-64* (make-instance 'cleavir-processor-x86-64:x86-64))
(defun ast-from-stream (stream environment)
(cleavir-ast:make... | Use Cleavir def of x86-64. | Use Cleavir def of x86-64.
| 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 |
51b40529386561f46e57748a178b24e164a0703e | Problem001/CommonLisp/solution_1.lisp | Problem001/CommonLisp/solution_1.lisp | ;; Common Lisp version
;; Manoel Vilela
(defun div (x d)
(= (mod x d) 0))
(defun special-sum (n)
(reduce '+ (loop for x from 1 to n when (or (div x 5) (div x 3)) collect x)))
(format t "~d" (special-sum 1000))
| ;; Common Lisp version
;; Manoel Vilela
(defun div (x d)
(= (mod x d) 0))
(defun special-sum (n)
(reduce '+ (loop for x from 1 to n when (or (div x 5) (div x 3)) collect x)))
(format t "~d" (special-sum 999))
| Fix a little error on CommonLisp solution at P001 | Fix a little error on CommonLisp solution at P001
The loop-for macro using ~from-to~ had a interval closed [a, b]
differs common range functions like Python and Clojure, whose
the range is [a, b).
| Common Lisp | mit | DestructHub/ProjectEuler,DestructHub/ProjectEuler,DestructHub/ProjectEuler,DestructHub/ProjectEuler,DestructHub/ProjectEuler,DestructHub/ProjectEuler,DestructHub/ProjectEuler,DestructHub/ProjectEuler,DestructHub/ProjectEuler,DestructHub/ProjectEuler,DestructHub/ProjectEuler,DestructHub/ProjectEuler,DestructHub/ProjectE... |
4327b4ba273f0b79310cb488e495c2a5e49884b4 | com.gigamonkeys.parser.asd | com.gigamonkeys.parser.asd | ;;
;; Copyright (c) 2005-2010, Peter Seibel. All rights reserved.
;;
(defsystem com.gigamonkeys.parser
:author "Peter Seibel <peter@gigamonkeys.com>"
:components
((:file "packages")
(:file "parser" :depends-on ("packages")))
:depends-on (:com.gigamonkeys.macro-utilities
:com.gigamonkeys.utilities))... | ;;
;; Copyright (c) 2005-2011, Peter Seibel. All rights reserved.
;;
(defsystem com.gigamonkeys.parser
:author "Peter Seibel <peter@gigamonkeys.com>"
:description "Parser generator, loosely based on Henry Baker's META paper."
:components
((:file "packages")
(:file "parser" :depends-on ("packages")))
:depe... | Add description to .asd file. | Add description to .asd file.
| Common Lisp | bsd-3-clause | gigamonkey/monkeylib-parser |
0513418641eae7387f81585015ea6ddd031564c1 | Code/Data-and-control-flow/setf.lisp | Code/Data-and-control-flow/setf.lisp | (in-package #:sicl-data-and-control-flow)
(defmacro setf (&whole form &environment env place new-value-form &rest more-pairs)
(cond ((null more-pairs)
(multiple-value-bind (variables
values
store-variables
writer-form
reader-form)
(sicl-env:get-setf-expansion place env... | (cl:in-package #:sicl-data-and-control-flow)
(defmacro setf (&whole form &environment env place new-value-form &rest more-pairs)
(cond ((null more-pairs)
(multiple-value-bind (variables
values
store-variables
writer-form
reader-form)
(sicl-env:get-setf-expansion place ... | 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,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
8273efe00e7cda437557277c9313632f145bff91 | plugins/static-pages.lisp | plugins/static-pages.lisp | (defpackage :coleslaw-static-pages
(:use :cl)
(:export #:enable)
(:import-from :coleslaw #:*config*
#:content
#:content-text
#:page-url
#:find-all
#:render
#:... | (defpackage :coleslaw-static-pages
(:use :cl)
(:export #:enable)
(:import-from :coleslaw #:*config*
#:content
#:find-all
#:render
#:publish
#:theme-fn
#:rende... | Fix symbols in static pages plugin some more. | Fix symbols in static pages plugin some more.
| Common Lisp | bsd-2-clause | Ferada/coleslaw,kingcons/coleslaw,superjudge/coleslaw,redline6561/coleslaw,6x13/coleslaw |
7c63e12acd220be08fc369c298a55f0272de971e | src/error-reporter.lisp | src/error-reporter.lisp | (in-package :clox)
(let ((had-error nil))
(-> had-error () boolean)
(defun had-error ()
had-error)
(-> raise-error (integer string) null)
(defun raise-error (line message)
(report line "" message))
(-> report (integer string string) null)
(defun report (line location message)
(format *error-... | (in-package :clox)
(let ((had-error nil))
(-> had-error () boolean)
(defun had-error ()
had-error)
(-> reset-error-flag () null)
(defun reset-error-flag ()
(setf had-error nil)
nil)
(-> raise-error (integer string) null)
(defun raise-error (line message)
(report line "" message))
(-> ... | Add option to reset error flag | Add option to reset error flag
| Common Lisp | mit | MatthewRock/clox,MatthewRock/clox |
4b1dcda68c94a3242aae44507191e8405e4a9344 | package.lisp | package.lisp | ;;;; package.lisp
(defpackage #:gpxtools
(:use #:cl)
(:export #:read-gpx
#:distance
#:elevation-gain
#:elevation-loss
#:distance-between
#:elevation-diff
#:meters-to-feet
#:meters-to-miles
#:get-summary
#:summarize
... | ;;;; package.lisp
(defpackage #:gpxtools
(:use #:cl)
(:export #:read-gpx
#:distance
#:elevation-gain
#:elevation-loss
#:distance-between
#:elevation-diff
#:meters-to-feet
#:meters-to-miles
#:get-summary
#:summarize
... | Add lat, lon, and ele exports. | Add lat, lon, and ele exports.
| Common Lisp | isc | jl2/gpxtools |
e8bd4e7ff690b9feef71d6238f56ba89e7b40a15 | code/test-suite/petalisp.utilities.lisp | code/test-suite/petalisp.utilities.lisp | ;;;; © 2016-2020 Marco Heisig - license: GNU AGPLv3 -*- coding: utf-8 -*-
(in-package #:petalisp.test-suite)
(check-package '#:petalisp.utilities)
(define-test wsdeque-test
(loop repeat 100 do
(let* ((n-threads (petalisp.utilities:number-of-cpus))
(iterations (random 50000))
(wsde... | ;;;; © 2016-2020 Marco Heisig - license: GNU AGPLv3 -*- coding: utf-8 -*-
(in-package #:petalisp.test-suite)
(check-package '#:petalisp.utilities)
(define-test wsdeque-test
(loop repeat 50 do
(let* ((n-threads (petalisp.utilities:number-of-cpus))
(iterations (random 20000))
(wsdeq... | Make the wsdeque test less expensive. | Make the wsdeque test less expensive.
| Common Lisp | agpl-3.0 | marcoheisig/Petalisp,marcoheisig/Petalisp |
59e49d7decd3daf4cf30de8426bdac97845ff224 | environment/stage0/simple-defines.lisp | environment/stage0/simple-defines.lisp | (%defmacro defvar (name &optional (init '%%%no-init))
(print-definition `(var ,name))
(? (not (symbol? name))
(%error "Symbol expected as variable name."))
`(%defvar ,name ,(? (eq '%%%no-init init)
`',init
init)))
(%defmacro var (name &optional (init nil))
`(def... | (%defmacro defvar (name &optional (init '%%%no-init))
(print-definition `(var ,name))
(? (not (symbol? name))
(%error "Symbol expected as variable name."))
`(%defvar ,name ,(? (eq '%%%no-init init)
`',init
init)))
(%defmacro var (name &optional (init nil))
`(def... | Convert CONST to DEFCONSTANT, not to DEFVAR. | Convert CONST to DEFCONSTANT, not to DEFVAR.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
2957eac7485333074bc3bf213376933a036deef8 | 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 "utilities")
(:file "find")
(:file "position")))
| (cl:in-package #:asdf-user)
(defsystem :sicl-sequence-support
:serial t
:components
((:file "packages")
(:file "utilities")
(:file "conditions")
(:file "find")
(:file "position")))
| Include component conditions.lisp in system definition. | Include component conditions.lisp in system definition.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
1b28b841c357c212137fcb7d92c67c1033aeef28 | Code/Cleavir/AST-transformations/hoist-load-time-value.lisp | Code/Cleavir/AST-transformations/hoist-load-time-value.lisp | (cl:in-package #:cleavir-ast-transformations)
(defun find-load-time-value-asts (ast)
(if (typep ast 'cleavir-ast:load-time-value-ast)
(list ast)
(let ((children (cleavir-ast:children ast)))
(reduce #'append (mapcar #'find-load-time-value-asts children)
:from-end t))))
(defun hoist-load-time-value (as... | (cl:in-package #:cleavir-ast-transformations)
(defun find-load-time-value-asts (ast)
(let ((table (make-hash-table :test #'eq)))
(labels ((traverse (ast)
(unless (gethash ast table)
(setf (gethash ast table) t)
(if (typep ast 'cleavir-ast:load-time-value-ast)
(list ast)
(let ((childre... | Make sure the computation terminates even though the AST has cycles. | Make sure the computation terminates even though the AST has cycles.
| 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 |
a4121b237b70af8aa9c872f91cf3153e31ea8f6f | wolfcoin.asd | wolfcoin.asd | ;;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: WOLFCOIN; Base: 10 -*- file: wolfcoin.asd
;;;; Copyright (c) 2014 "the Phoeron" Colin J.E. Lupton <//thephoeron.com>
;;;; See LICENSE for additional information.
(in-package :cl-user)
(defpackage wolfcoin-asd
(:use :cl :asdf)
(:export #:*wolfcoin-version*))
... | ;;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: WOLFCOIN; Base: 10 -*- file: wolfcoin.asd
;;;; Copyright (c) 2014 "the Phoeron" Colin J.E. Lupton <//thephoeron.com>
;;;; See LICENSE for additional information.
(in-package :cl-user)
(defpackage wolfcoin-asd
(:use :cl :asdf)
(:export #:*wolfcoin-version*))
... | Add LTK as system dependency | Add LTK as system dependency
| Common Lisp | mit | thephoeron/wolfcoin |
cfea27906dea9ad79ca906137883e415b96667f2 | lispkit.lisp | lispkit.lisp | (in-package :lispkit)
(defun load-ui-from-file (path)
(if (probe-file path)
(let ((builder (gtk:gtk-builder-new)))
(gtk:gtk-builder-add-from-file builder (namestring path))
builder)
(error (format nil "non existent path: ~s" path))))
(defun main (&rest args)
(declare (ignore args))
... | (in-package :lispkit)
(defparameter *default-page*
"http://www.github.com/AeroNotix/lispkit")
(defun load-ui-from-file (path)
(if (probe-file path)
(let ((builder (gtk:gtk-builder-new)))
(gtk:gtk-builder-add-from-file builder (namestring path))
builder)
(error (format nil "non existen... | Put the first URL into a named parameter | Put the first URL into a named parameter
| Common Lisp | bsd-2-clause | AeroNotix/lispkit,AeroNotix/lispkit |
cb7a34257c8396e0b46b91eb7b800f6f68881c1e | environment/stage0/config-defaults-cl.lisp | environment/stage0/config-defaults-cl.lisp | (%defvar *development?* nil)
(%defvar *assert?* t)
(%defvar *print-definitions?* t)
;; Optional environment sections.
(%defvar *tre-has-math* t) ; Mathematical functions.
(%defvar *tre-has-class* t) ; STRUCT CLASS.
;; Transpiler
;;; Targets to include in environment:
;;; :cl Common Lisp (sbcl)... | (%defvar *development?* t)
(%defvar *assert?* t)
(%defvar *print-definitions?* t)
;; Optional environment sections.
(%defvar *tre-has-math* t) ; Mathematical functions.
(%defvar *tre-has-class* t) ; STRUCT CLASS.
;; Transpiler
;;; Targets to include in environment:
;;; :cl Common Lisp (sbcl)
;... | Switch development mode back on. | Switch development mode back on.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
c9670275b6a6b592507b147125a36a45142f9ad5 | environment/stage4/define-getset-alias.lisp | environment/stage4/define-getset-alias.lisp | (defmacro define-get-alias (alias real &key (class nil))
`(defmethod ,class ,($ 'get- alias) ()
,real))
(defmacro define-set-alias (alias real &key (class nil))
`(defmethod ,class ,($ 'set- alias) ()
(= ,real x)))
(defmacro define-getset-alias (alias real &key (class nil))
`{(define-get-alias ,alias... | (defmacro define-get-alias (alias real &key (class nil))
`(defmethod ,class ,($ 'get- alias) ()
,real))
(defmacro define-set-alias (alias real &key (class nil))
`(defmethod ,class ,($ 'set- alias) (x)
(= ,real x)))
(defmacro define-getset-alias (alias real &key (class nil))
`{(define-get-alias ,alia... | Add missing argument for setter. | Add missing argument for setter.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
76cbfe743b65f219c9fedcb411607344ba38d589 | environment/transpiler/targets/javascript/environment/string.lisp | environment/transpiler/targets/javascript/environment/string.lisp | ;;;;; tré – Copyright (c) 2008–2014 Sven Michael Klose <pixel@copei.de>
(declare-cps-exception string %string? string? string== string-concat string-upcase string-downcase string-subseq)
(dont-obfuscate push join char-code-at to-string to-upper-case to-lower-case substr length)
(js-type-predicate %string? "string")
... | ;;;;; tré – Copyright (c) 2008–2014 Sven Michael Klose <pixel@copei.de>
(declare-cps-exception string %string? string? string== string-concat string-upcase string-downcase string-subseq)
(dont-obfuscate push join char-code-at to-string to-upper-case to-lower-case substr length)
(js-type-predicate %string? "string")
... | Use native String instead of FORMAT. | NUMBER-STRING: Use native String instead of FORMAT.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
ba6d6758118c97f7176f13c06afedbb5dca01fd0 | Splay-tree/splay-tree.lisp | Splay-tree/splay-tree.lisp | (cl:in-package #:clump-splay-tree)
(defclass node (clump-binary-tree:node)
((%parent :initarg :parent :initform nil :accessor parent)))
(defgeneric splay-step (node))
(defgeneric splay (node))
| (cl:in-package #:clump-splay-tree)
(defgeneric splay-step (node))
(defgeneric splay (node))
| Remove class definition. Now, Binary-tree contains definition of node with parent. | Remove class definition. Now, Binary-tree contains definition of node with parent.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
1c7ae0d6450de3ed5252a3b17f3d9d70ad1605a0 | 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)
(prove:plan nil)
(prove:subtest "Simple HTTP/HTTPS downloads"
(let ((uris '("https://abcl.org"
"http://slack.net"
"https://duckduckgo.com"
"https://atlas.... | ;;;; SPDX-FileCopyrightText: Atlas Engineer LLC
;;;; SPDX-License-Identifier: BSD-3-Clause
(in-package :cl-user)
(prove:plan nil)
(prove:subtest "Simple HTTP/HTTPS downloads"
(let ((uris '("https://abcl.org"
"http://en.wikipedia.org/wiki/Main_Page"
"https://duckduckgo.com"
... | Replace offline slack.net with Wikipedia. | libraries/download-manager: Replace offline slack.net with Wikipedia.
| Common Lisp | bsd-3-clause | jmercouris/NeXT,jmercouris/NeXT |
80d0c71ac091446aa46aa4d728e412e8e44eadb5 | Code/Compiler/Extrinsic-environment/fill.lisp | Code/Compiler/Extrinsic-environment/fill.lisp | (cl:in-package #:sicl-extrinsic-environment)
(defun fill-environment (environment)
(import-from-host-common-lisp environment)
(import-from-sicl-global-environment environment)
(import-loop-support environment)
(define-backquote-macros environment)
(define-defmacro environment)
(define-in-package environmen... | (cl:in-package #:sicl-extrinsic-environment)
(defun fill-environment (environment)
(import-from-host-common-lisp environment)
(import-from-sicl-global-environment environment)
(import-loop-support environment)
(define-backquote-macros environment)
(define-defmacro environment)
(define-in-package environmen... | Load file containing definition of MULTIPLE-VALUE-BIND. | Load file containing definition of MULTIPLE-VALUE-BIND.
| 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.