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 |
|---|---|---|---|---|---|---|---|---|---|
dd2a144d602d9899112e97c4c769201481e74543 | environment/stage1/defun.lisp | environment/stage1/defun.lisp | ;;;; TRE environment
;;;; Copyright (c) 2005-2008,2010 Sven Klose <pixel@copei.de>
; Check and return keyword argument or NIL.
(%defun %defun-arg-keyword (args)
(let a (car args)
(let d (and (cdr args)
(cadr args))
(if (%arg-keyword? a)
(if d
(if (%arg-keyword? d)
... | ;;;; tré - Copyright (c) 2005-2008,2010-2011 Sven Klose <pixel@copei.de>
; Check and return keyword argument or NIL.
(%defun %defun-arg-keyword (args)
(let a (car args)
(let d (and (cdr args)
(cadr args))
(if (%arg-keyword? a)
(if d
(if (%arg-keyword? d)
(%error "... | Apply package to setter function names. | Apply package to setter function names.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
7ec428afa57581df7f6d119bbd12aa49ef44b9dd | Code/Compiler/Test-utilities/sicl-compiler-test-utilities.asd | Code/Compiler/Test-utilities/sicl-compiler-test-utilities.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :sicl-compiler-test-utilities
:depends-on (:sicl-compiler-utilities)
:components
((:file "packages")
(:file "test-utilities" :depends-on ("packages"))))
| (cl:in-package #:asdf-user)
(defsystem :sicl-compiler-test-utilities
:depends-on (:sicl-compiler-utilities)
:components
((:file "packages")
(:file "test-utilities" :depends-on ("packages"))))
| Define ASDF system in package ASDF-USER. | Define ASDF system in package ASDF-USER.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
ba9db5638d633572869bab340f6f421c521ae9e3 | Code/Loop/for-as-across-clause.lisp | Code/Loop/for-as-across-clause.lisp | ;;;; Copyright (c) 2014
;;;;
;;;; 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 user of
... | ;;;; Copyright (c) 2014
;;;;
;;;; 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 user of
... | Define a parser for FOR-AS-ACROSS. | Define a parser for FOR-AS-ACROSS.
| 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 |
4846f84a2212c9aa1ec49915d3287f4642efce9e | balancer.lisp | balancer.lisp | #|
This file is a part of grouping-stack
(c) 2014 Shirakumo http://tymoon.eu (shinmera@tymoon.eu)
Author: Nicolas Hafner <shinmera@tymoon.eu>
|#
(in-package #:org.shirakumo.grouping-stack)
(defclass balancer ()
())
(defclass inactive-balancer (balancer)
())
(defmethod balance ((stack grouping-stack) (balance... | #|
This file is a part of grouping-stack
(c) 2014 Shirakumo http://tymoon.eu (shinmera@tymoon.eu)
Author: Nicolas Hafner <shinmera@tymoon.eu>
|#
(in-package #:org.shirakumo.grouping-stack)
(defclass balancer ()
())
(defclass inactive-balancer (balancer)
())
(defmethod balance ((stack grouping-stack) (balance... | Fix for old name mismatch | Fix for old name mismatch
| Common Lisp | artistic-2.0 | Shinmera/grouping-stack |
ffaaec65db85ee328b2154a69fd19b1465a19f21 | Code/CLOS/reader-writer-method-class-defmethods.lisp | Code/CLOS/reader-writer-method-class-defmethods.lisp | (cl:in-package #:sicl-clos)
(defmethod reader-method-class
((class standard-class)
(direct-slot standard-direct-slot-definition)
&rest initargs)
(apply #'reader-method-class-default class direct-slot initargs))
(defmethod reader-method-class
((class funcallable-standard-class)
(direct-slot st... | (cl:in-package #:sicl-clos)
(defmethod reader-method-class
((class regular-class)
(direct-slot standard-direct-slot-definition)
&rest initargs)
(apply #'reader-method-class-default class direct-slot initargs))
(defmethod writer-method-class
((class regular-class)
(direct-slot standard-direct-... | Simplify by factoring methods to specilize on REGULAR-CLASS. | Simplify by factoring methods to specilize on REGULAR-CLASS.
| 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 |
206e628f1b431c6854cf8d7b07b6a64dd786d5a3 | sandbox-extra.lisp | sandbox-extra.lisp | ;;;; Eval-bot --- An IRC bot for evaluating Common Lisp expressions
;; Copyright (C) 2013 Teemu Likonen <tlikonen@iki.fi>
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, either ver... | ;;;; Eval-bot --- An IRC bot for evaluating Common Lisp expressions
;; Copyright (C) 2013 Teemu Likonen <tlikonen@iki.fi>
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, either ver... | Implement "help" command only as a symbol macro, not as a function | Implement "help" command only as a symbol macro, not as a function
| Common Lisp | agpl-3.0 | tlikonen/cl-eval-bot,kanru/cl-sandbox,tlikonen/cl-eval-bot |
cd31100a9e7ed77999ab7d7d94e0e438e578ade1 | src/statement.lisp | src/statement.lisp | (in-package :cl-user)
(defpackage sxql.statement
(:use :cl
:sxql.sql-type)
(:import-from :sxql.operator
:find-constructor
:detect-and-convert))
(in-package :sxql.statement)
(cl-syntax:use-syntax :annot)
(defstruct (select-statement (:include sql-composed-statement (name "SE... | (in-package :cl-user)
(defpackage sxql.statement
(:use :cl
:sxql.sql-type)
(:import-from :sxql.operator
:find-constructor
:detect-and-convert))
(in-package :sxql.statement)
(cl-syntax:use-syntax :annot)
(defstruct (select-statement (:include sql-composed-statement (name "SE... | Fix the structure names of INSERT and UPDATE. | Fix the structure names of INSERT and UPDATE.
| Common Lisp | bsd-3-clause | fukamachi/sxql,Rudolph-Miller/sxql |
9750d60d0300344694c8a52c064c850aefd34406 | Code/Compiler/compile-file.lisp | Code/Compiler/compile-file.lisp | (in-package #:sicl-compiler)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Function COMPILE-FILE.
(defun compile-file (input-file &key
(output-file nil output-file-p)
(verbose *compile-verbose*)
(print *compile-print*)
(external-format :default))
(declare (ig... | (cl:in-package #:sicl-compiler)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Function COMPILE-FILE.
(defun compile-file (input-file &key
(output-file nil output-file-p)
(verbose *compile-verbose*)
(print *compile-print*)
(external-format :default))
(declare ... | Use explicit package marker for IN-PACKAGE. | Use explicit package marker for IN-PACKAGE.
| 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 |
640cd42440014c78fddf69bd54be7e2c72920e66 | Code/Environment/Simple/sicl-simple-environment.asd | Code/Environment/Simple/sicl-simple-environment.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :sicl-simple-environment
:depends-on (:sicl-global-environment)
:serial t
:components
((:file "packages")
(:file "environment")
(:file "methods")))
| (cl:in-package #:asdf-user)
(defsystem :sicl-simple-environment
:depends-on (:sicl-global-environment)
:serial t
:components
((:file "packages")
(:file "environment")
(:file "methods")))
| Use package ASDF-USER for defining system. | Use package ASDF-USER for defining system.
| 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 |
4d7bec17acf4bfeba13da9002b9a22b8b6d50ed4 | php/sql/select.lisp | php/sql/select.lisp | ;;;;; Caroshi – Copyright (c) 2009–2013 Sven Michael Klose <pixel@copei.de>
(defun sql-clause-where (alst)
(!? alst
(+ " WHERE "
(? (string? !)
!
(alist-assignments ! :padding " AND ")))))
(defun sql-clause-select (&key table (fields nil) (where nil) (limit nil) (offset nil) (... | ;;;;; Caroshi – Copyright (c) 2009–2013 Sven Michael Klose <pixel@copei.de>
(defun sql-clause-where (alst)
(!? alst
(+ " WHERE "
(? (string? !)
!
(alist-assignments ! :padding " AND ")))))
(defun sql-clause-select (&key table (fields nil) (where nil) (limit nil) (offset nil) (... | Check if :LIMIT and :OFFSET are used together. | Check if :LIMIT and :OFFSET are used together.
| Common Lisp | mit | SvenMichaelKlose/phitamine |
27626341488b6ab3ce5cc93480ed3d6ef70bce40 | mit-6.001/lambda-expressions.lisp | mit-6.001/lambda-expressions.lisp | ;; Common Lisp Script
;; Manoel Vilela
;; higher-order function sigma-sum
;; func must be a lambda(x) expression
(defun sigma-sum (func a b &key (next #'1+))
(if (> a b)
0
(+ (funcall func a)
(sigma-sum func (funcall next a) b))))
(defun square (x)
(* x x))
(sigma-sum #'(lambda(x) (/ 1 x)) ... | ;; Common Lisp Script
;; Manoel Vilela
;; higher-order function sigma-sum
;; func must be a lambda(x) expression
(defun sigma-sum (func a b &key (next #'1+))
(if (> a b)
0
(+ (funcall func a)
(sigma-sum func (funcall next a) b))))
;; I would like to avoid the use of 'funcall' for calling
;; la... | Add a note about ideal avoiding funcall at lambda expressions material | Add a note about ideal avoiding funcall at lambda expressions material
| Common Lisp | mit | ryukinix/lisp-insights,limbocode/lisp-insights |
120dcf62d3a7f9e5153de18378ce5306fefb9d2c | Code/Arithmetic/sicl-arithmetic.asd | Code/Arithmetic/sicl-arithmetic.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :sicl-arithmetic
:serial t
:components
((:file "packages")
(:file "support")))
| (cl:in-package #:asdf-user)
(defsystem :sicl-arithmetic
:serial t
:components
((:file "packages")
(:file "support")))
| 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,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
3c7076e272cda845e483289208059db6beb5d89b | Code/Conditions/sicl-conditions.asd | Code/Conditions/sicl-conditions.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :sicl-conditions
:components
((:file "packages")
(:file "support"
:depends-on ("packages"))))
| (cl:in-package #:asdf-user)
(defsystem :sicl-conditions
:components
((:file "packages")
(:file "support"
:depends-on ("packages"))))
| Use package ASDF-USER for defining system. | Use package ASDF-USER for defining system.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
dbd6cf4e6c3a2d1c72bfe94b1e0297926d6d4172 | 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)))
| (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 2-NODE for the nodes with 2 children of the 2-3 tree. | Define new class 2-NODE for the nodes with 2 children of the 2-3 tree.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
339cc6f2bf089835414f1aad876ab98fe2c6d4cd | Code/Cleavir/Dominance/cleavir-dominance.asd | Code/Cleavir/Dominance/cleavir-dominance.asd | (cl:in-package #:asdf-user)
(defsystem :cleavir-dominance
:depends-on (:cleavir-utilities
:cleavir-meter)
:components
((:file "packages" :depends-on ())
(:file "dominance" :depends-on ("packages"))))
| (cl:in-package #:asdf-user)
(defsystem :cleavir-dominance
:depends-on (:cleavir-utilities
:cleavir-meter)
:serial t
:components
((:file "packages")
(:file "dominance")))
| Use option :SERIAL T to simplify system. | Use option :SERIAL T to simplify system.
| 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 |
002ff4bf8b77c20202e677093965b0f2a84fb9e3 | Binary-tree/condition-reporters-english.lisp | Binary-tree/condition-reporters-english.lisp | (cl:in-package #:clump-binary-tree)
(defmethod acclimation:report-condition
((condition invalid-binary-tree)
stream
(language acclimation:english))
(format stream
"A binary tree was expected,~@
but instead the following was found:~@
~s"
(tree condition)))
(defmethod acclima... | (cl:in-package #:clump-binary-tree)
(defmethod acclimation:report-condition
((condition invalid-binary-tree)
stream
(language acclimation:english))
(format stream
"A binary tree was expected,~@
but instead the following was found:~@
~s"
(tree condition)))
(defmethod acclima... | Add English condition reporter for LEFT-SUBTREE-MUST-BE-NON-NIL. | Add English condition reporter for LEFT-SUBTREE-MUST-BE-NON-NIL.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
6da5530c15c164dd1a7f4cd4a1a315ba0a0d1155 | Code/Reader/Source-tracking/stream.lisp | Code/Reader/Source-tracking/stream.lisp | (cl:in-package #:sicl-source-tracking-reader)
(defun make-contents ()
(make-array 10
:fill-pointer 0
:element-type 'character
:adjustable t))
(defclass source-tracking-stream
(trivial-gray-streams:fundamental-character-input-stream)
((%original :initarg :original :reader original)
(%co... | (cl:in-package #:sicl-source-tracking-reader)
(defun make-contents ()
(make-array 10
:fill-pointer 0
:element-type 'character
:adjustable t))
(defclass source-tracking-stream
(trivial-gray-streams:fundamental-character-input-stream)
((%original :initarg :original :reader original)
(%co... | Define method on UNREAD-CHAR specialized to SOURCE-TRACKING-STREAM. | Define method on UNREAD-CHAR specialized to SOURCE-TRACKING-STREAM.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
843ec78da48e9e3b3bea1525640ab17a88018476 | Code/Loop/type-spec.lisp | Code/Loop/type-spec.lisp | ;;;; Copyright (c) 2014
;;;;
;;;; 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 user of
... | ;;;; Copyright (c) 2014
;;;;
;;;; 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 user of
... | Use suffix -PARSER for parser functions. | Use suffix -PARSER for parser functions.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
95ca666f64d2e48bb4b8a69c46f2f86111c1d675 | lisp/dump-sbcl.lisp | lisp/dump-sbcl.lisp | (ros:include "util")
(defpackage :roswell.dump.sbcl
(:use :cl :roswell.util))
(in-package :roswell.dump.sbcl)
(defun dump-executable (cmds out script)
(declare (ignore script))
(sb-ext:save-lisp-and-die
out
;; no need to do GC because of :purify t by default
;; however, this only affects old cheyneyGC
... | (ros:include "util")
(defpackage :roswell.dump.sbcl
(:use :cl :roswell.util))
(in-package :roswell.dump.sbcl)
(defun dump-executable (cmds out script)
(declare (ignore script))
(sb-ext:save-lisp-and-die
out
;; no need to do GC because of :purify t by default
;; however, this only affects old cheyneyGC
... | Check for sb-core-compression feature before turning on compression for SBCL. | Check for sb-core-compression feature before turning on compression for SBCL.
| Common Lisp | mit | roswell/roswell,snmsts/roswell,snmsts/roswell,roswell/roswell,snmsts/roswell,roswell/roswell,snmsts/roswell,roswell/roswell |
e2019d8a0e32e3be99fe8be8c44efba760e20aa1 | tests/asdf.lisp | tests/asdf.lisp | (in-package "BASIC-BINARY-IPC.TESTS")
(defmethod asdf:perform ((operation asdf:test-op) (component (eql (asdf:find-system "basic-binary-ipc-tests"))))
(lisp-unit:run-tests :all "BASIC-BINARY-IPC.TESTS"))
| (in-package "BASIC-BINARY-IPC.TESTS")
(defmethod asdf:perform ((operation asdf:test-op) (component (eql (asdf:find-system "basic-binary-ipc-tests"))))
(dolist (pkg (list "BASIC-BINARY-IPC.TESTS"))
(let ((report (lisp-unit:run-tests :all pkg)))
(print-failures report)
(print-errors report))))
| Print failures and errors when performing ASDF:TEST-SYSTEM. | Print failures and errors when performing ASDF:TEST-SYSTEM.
| Common Lisp | bsd-2-clause | markcox80/basic-binary-ipc,markcox80/basic-binary-ipc |
a8f4737d8bc52905389622268abe8cba0e0fbd76 | swap.lisp | swap.lisp | ;; Tested on SBCL
(defmacro swap (x y)
(let ((tmp-sym (gensym)))
`(let (,tmp-sym)
(setf ,tmp-sym ,x)
(setf ,x ,y)
(setf ,y ,tmp-sym))))
(defun use-swap ()
(let ((a 1)
(b 2))
(swap a b)
(format t "a: ~A, b: ~A~%" a b))
(let ((my-list (list 3 4)))
(swap (first my-list)... | ;; Tested on SBCL
(defmacro swap (x y)
(let ((tmp-sym (gensym)))
`(let ((,tmp-sym ,x))
(setf ,x ,y)
(setf ,y ,tmp-sym))))
(defun use-swap ()
(let ((a 1)
(b 2))
(swap a b)
(format t "a: ~A, b: ~A~%" a b))
(let ((my-list (list 3 4)))
(swap (first my-list) (second my-list))
... | Set the temp symbol immediately, for consistent with our other languages. | Set the temp symbol immediately, for consistent with our other languages.
| Common Lisp | mit | Wilfred/comparative_macrology,Wilfred/comparative_macrology,Wilfred/comparative_macrology,Wilfred/comparative_macrology |
dabf1fc0f8f202cce04451eff8d29d3dda80fef6 | lisphys.asd | lisphys.asd | ;;;; lisphys.asd
(asdf:defsystem #:lisphys
:serial t
:description "Describe lisphys here"
:author "Guillaume <guillaume.saupin@gmail.com>"
:license "Specify license here"
:depends-on (#:clunit
#:alexandria)
:components ((:file "infpre")
(:file "package")
(:file "memoization")
... | ;;;; lisphys.asd
(asdf:defsystem #:lisphys
:serial t
:description "Describe lisphys here"
:author "Guillaume <guillaume.saupin@gmail.com>"
:license "Specify license here"
:depends-on (#:clunit
#:alexandria)
:components ((:file "infpre")
(:file "package")
(:file "memoization")
... | Add twist and displacement to project. | Add twist and displacement to project.
| Common Lisp | mit | kayhman/lisphys,kayhman/lisphys |
c7853e851555c99ba87525dcceb2d906f0f9d821 | 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 :initform nil :accessor contents)))
| (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)))
| Change from :INITFORM to :INITARG in leaf contents slot. | Change from :INITFORM to :INITARG in leaf contents slot.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
47ab880b4f78496a8edca6654d63c51318faa24e | 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... | Add method specialized to UNWIND-INSTRUCTION. | Add method specialized to UNWIND-INSTRUCTION.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
cf3457ae22cd9a10e923197d42806b0c57a03c70 | repository.lisp | repository.lisp | (in-package :mu-support)
;;; repository definition
(defun server-location ()
(if (find :docker *features*)
(progn (format t "~&running inside a docker~%")
"http://database:8890")
(progn (format t "~&running on localhost~%")
"http://localhost:8890")))
(defparameter *repository*
(make-... | (in-package :mu-support)
;;; repository definition
(defun server-location ()
(if (find :docker *features*)
(progn (format t "~&running inside a docker~%")
"http://database:8890")
(progn (format t "~&running on localhost~%")
"http://localhost:8890")))
(defclass mu-semtech-repository (cl... | Include mu-session-id header in sparql requests | Include mu-session-id header in sparql requests
Extends cl-fuseki::virtuoso-repository class and fuseki::query-raw
method to allow received headers to be passed on.
| Common Lisp | mit | mu-semtech/mu-cl-support |
e2a533e624d12eb7d9d53b1efd6b2a4c4ee7458f | package.lisp | package.lisp | ;;;; $Id$
;;;; $URL$
;;;; See the LICENSE file for licensing information.
(in-package :cl-user)
#+lispworks (require "comm")
(eval-when (:execute :load-toplevel :compile-toplevel)
(defpackage :usocket
(:use :cl)
(:export #:socket-connect ; socket constructors and methods
#:socket-listen
... | ;;;; $Id$
;;;; $URL$
;;;; See the LICENSE file for licensing information.
(in-package :cl-user)
#+lispworks (require "comm")
(eval-when (:execute :load-toplevel :compile-toplevel)
(defpackage :usocket
(:use :cl)
(:export #:socket-connect ; socket constructors and methods
#:socket-listen
... | Add the 'with-server-socket' macro to the list of exported symbols. | Add the 'with-server-socket' macro to the list of exported symbols.
| Common Lisp | mit | mcna/usocket |
416fc204369add2dccc995b15d19756402e755d7 | Code/Boot/customize-r2.lisp | Code/Boot/customize-r2.lisp | (cl:in-package #:sicl-boot)
(defun customize-r2 (boot)
(define-make-instance boot)
(define-direct-slot-definition-class boot)
(define-find-class boot))
| (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)))
| Load a file containing support code for ENSURE-GENERIC-FUNCTION-USING-CLASS. | Load a file containing support code for ENSURE-GENERIC-FUNCTION-USING-CLASS.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
0602fe214c02d0002c951c246f9265f6b88923d9 | Code/Reader/Fast/condition-reporters-english.lisp | Code/Reader/Fast/condition-reporters-english.lisp | (cl:in-package #:sicl-read)
(defmethod cleavir-i18n:report-condition
((condition unmatched-right-parenthesis)
stream
(language cleavir-i18n:english))
(format stream "Unmatched right parenthesis found."))
(defmethod cleavir-i18n:report-condition
((condition only-dots-in-token)
stream
(lan... | (cl:in-package #:sicl-read)
(defmethod cleavir-i18n:report-condition
((condition unmatched-right-parenthesis)
stream
(language cleavir-i18n:english))
(format stream "Unmatched right parenthesis found."))
(defmethod cleavir-i18n:report-condition
((condition only-dots-in-token)
stream
(lan... | Add method on REPORT-CONDITION specialized to MULTIPLE-OBJECTS-FOLLOWING-DOT. | Add method on REPORT-CONDITION specialized to MULTIPLE-OBJECTS-FOLLOWING-DOT.
| 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 |
ff374245a1b194b88165bd50b1b7fee3af6c94a2 | common.lisp | common.lisp | ;;; Common functions for solving problems
(defun primep (n)
"Predicate to test the primality of N. If composite, the second
return value is the lowest factor."
(loop for i from 2 to (sqrt n)
when (= 0 (mod n i)) return (values nil i) finally (return t)))
(defun factors (n)
"Return the prime factors of N."
... | ;;; Common functions for solving problems
(defun primep (n)
"Predicate to test the primality of N. If composite, the second
return value is the lowest factor."
(when (> n 1)
(loop for i from 2 to (sqrt n)
when (= 0 (mod n i)) return (values nil i) finally (return t))))
(defun factors (n)
"Return the ... | Fix definition of primep for 1. | Fix definition of primep for 1.
| Common Lisp | unlicense | skeeto/euler-cl |
8a9e3c47f89b1deefd7732ff8d9e2dea880a0ecb | lispkit.asd | lispkit.asd | ;; -*- mode: common-lisp -*-
(defsystem lispkit
:version "0.0.1"
:description "Lispy browser"
:licence "BSD"
:components ((:file "lispkit" :depends-on ("macros" "packages" "keys"))
(:file "keys" :depends-on ("packages" "browser" "events" "commands"))
(:file "browser" :depends-on ("... | ;; -*- mode: common-lisp -*-
(defsystem lispkit
:version "0.0.1"
:description "Lispy browser"
:licence "BSD"
:serial t
:components ((:file "packages")
(:file "user")
(:file "settings")
(:file "commands")
(:file "macros")
(:file "jumps"... | Use the :serial option in the asd file | Use the :serial option in the asd file
| Common Lisp | bsd-2-clause | AeroNotix/lispkit,AeroNotix/lispkit |
9476504aba879881ca89ef994b0e5c8e0464ab95 | clobber.asd | clobber.asd | (cl:in-package #:asdf-user)
(defsystem :clobber
:components
((:file "packages")
(:file "clobber" :depends-on ("packages"))
(:file "demo" :depends-on ("clobber"))
(:file "demo2" :depends-on ("clobber"))))
| (cl:in-package #:asdf-user)
(defsystem :clobber
:serial t
:components
((:file "packages")
(:file "clobber")
(:file "demo")
(:file "demo2")))
| Use option :SERIAL T to simplify system definition. | Use option :SERIAL T to simplify system definition.
| Common Lisp | bsd-2-clause | robert-strandh/Clobber |
8556ca1fa62a9184c57e6ec3981d15b4898eb9f8 | split-sequence.asd | split-sequence.asd | ;;; -*- Lisp -*-
(defsystem :split-sequence
:version "1.0"
:maintainer "Sharp Lispers <sharplispers@googlegroups.com>"
:components ((:file "split-sequence"))
:in-order-to ((asdf:test-op (asdf:load-op :split-sequence-tests)))
:perform (asdf:test-op :after (op c)
(funcall (intern (symbol-name '#:r... | ;;; -*- Lisp -*-
(defsystem :split-sequence
:version "1.0"
:description "Splits a sequence into a list of subsequences
delimited by objects satisfying a test."
:maintainer "Sharp Lispers <sharplispers@googlegroups.com>"
:components ((:file "split-sequence"))
:in-order-to ((asdf:test-op (asdf:load-op :split... | Add :description to system definition. | Add :description to system definition.
| Common Lisp | mit | sharplispers/split-sequence |
2b3c91ce3eeef6fb10188411a0e0c32d651f9813 | fare-memoization.asd | fare-memoization.asd | ;;; -*- Mode: Lisp ; Base: 10 ; Syntax: ANSI-Common-Lisp -*-
(defsystem "fare-memoization"
:description "memoizing functions the correct, portable way"
:long-description "define memoized functions and memoize previously defined functions"
:license "MIT"
:author "Francois-Rene Rideau"
:version "1.0.0"
:compo... | ;;; -*- Mode: Lisp ; Base: 10 ; Syntax: ANSI-Common-Lisp -*-
(defsystem "fare-memoization"
:description "memoizing functions the correct, portable way"
:long-description "define memoized functions and memoize previously defined functions"
:license "MIT"
:author "Francois-Rene Rideau"
:version "1.0.0"
:compo... | Make .asd file nicer for ASDF 3 | Make .asd file nicer for ASDF 3
Also drop ASDF 2 support
| Common Lisp | mit | fare/fare-memoization |
14641d994cd0891b43b0409291806527db843443 | 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))
| (cl:in-package #:clump-2-3-tree)
(defgeneric delete (leaf))
(defgeneric delete-child (parent child))
(defmethod delete ((leaf leaf))
(delete-child (parent leaf) leaf))
| Define method on DELETE specialized to LEAF. | Define method on DELETE specialized to LEAF.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
6467ea351471786daa7650151f67266a1b2df3f6 | eval-bot.asd | eval-bot.asd | (defsystem :eval-bot
:depends-on (:bordeaux-threads :trivial-irc :alexandria :split-sequence
:babel)
:components
((:file "sandbox-impl" :depends-on ("common"))
(:file "sandbox-extra" :depends-on ("common" "sandbox-impl" "sandbox-cl"))
(:file "sandbox-cl" :depends-on ("sandbo... | (defsystem "eval-bot"
:description "An IRC bot for Common Lisp code evaluation"
:author "Teemu Likonen <tlikonen@iki.fi>"
:licence "GNU Affero General Public License version 3"
:depends-on ("bordeaux-threads"
"trivial-irc" "alexandria" "split-sequence" "babel")
:components
((:file "sandbox-im... | Add description, author and licence information to .asd file | Add description, author and licence information to .asd file
| Common Lisp | agpl-3.0 | tlikonen/cl-eval-bot,tlikonen/cl-eval-bot |
264eceae53001563ddbcff6861af3c9753d67deb | Code/Cleavir/Concrete-syntax-tree/concrete-syntax-tree.lisp | Code/Cleavir/Concrete-syntax-tree/concrete-syntax-tree.lisp | (cl:in-package #:cleavir-cst)
(defclass cst ()
(;; This slot contains the Common Lisp expression that is
;; represented by the CST. It is guaranteed that there is sharing
;; between the expression of a CST and the expression of each child
;; of the CST.
(%expression :initarg :expression :reader expressi... | (cl:in-package #:cleavir-cst)
(defclass cst ()
(;; This slot contains the Common Lisp expression that is
;; represented by the CST. It is guaranteed that there is sharing
;; between the expression of a CST and the expression of each child
;; of the CST.
(%expression :initarg :expression :accessor expres... | Add writer for the EXPRESSION slot. | Add writer for the EXPRESSION slot.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL |
05306e25bb0ef60d27d8cb8fd993c57f5e033863 | 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)))
| (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)))
| Load a file containing the definition of the class STANDARD-OBJECT. | Load a file containing the definition of the class STANDARD-OBJECT.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
2f4cec2a8a67e9013bf95dca3f181a1be61788ed | erlangen.asd | erlangen.asd | ;;;; System definition for ERLANGEN.
(defsystem erlangen
:description
"Distributed asychronous message passing system for Common Lisp."
:author "Max Rottenkolber <max@mr.gy>"
:license "Not licensed"
:components ((:file "conditions")
(:file "mailbox")
(:file "algorithms")
... | ;;;; System definition for ERLANGEN.
(defsystem erlangen
:description
"Distributed asychronous message passing system for Common Lisp."
:author "Max Rottenkolber <max@mr.gy>"
:license "Not licensed"
:components ((:file "conditions")
(:file "mailbox")
(:file "algorithms")
... | Add missing dependencies to ERLANGEN system. | Add missing dependencies to ERLANGEN system.
| Common Lisp | agpl-3.0 | eugeneia/erlangen |
68ec7a3660679c447b9429c0d7ec87ba31dbedcb | library.lisp | library.lisp | (cl:in-package :%open-asset-import-library)
(define-foreign-library assimp
(:windows "assimp.dll" );; :calling-convention :stdcall ?
#++(:unix "libassimp.so")
(:unix (:or "libassimp.so.3" "libassimp3.0.so" "libassimp.so")))
(use-foreign-library assimp)
| (cl:in-package :%open-asset-import-library)
(define-foreign-library assimp
(:darwin "libassimp.dylib")
(:windows "assimp.dll" );; :calling-convention :stdcall ?
#++(:unix "libassimp.so")
(:unix (:or "libassimp.so.3" "libassimp3.0.so" "libassimp.so")))
(use-foreign-library assimp)
| Add support for OS X | Add support for OS X
libassimp can be installed by:
> brew install assimp | Common Lisp | mit | 3b/classimp |
f983956a1b96d17a5a544ecd3a627209a690a723 | Code/Loop/thereis-clause.lisp | Code/Loop/thereis-clause.lisp | ;;;; Copyright (c) 2014
;;;;
;;;; 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 user of
... | ;;;; Copyright (c) 2014
;;;;
;;;; 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 user of
... | Use existing FORM-MIXIN class as a superclass. | Use existing FORM-MIXIN class as a superclass.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL |
ee4db0d064fa1fcea4f1c2b2c9c4072a20f9457f | Code/Cleavir/Eliminate-TYPEQ/cleavir-eliminate-typeq.asd | Code/Cleavir/Eliminate-TYPEQ/cleavir-eliminate-typeq.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem #:cleavir-eliminate-typeq
:depends-on (:cleavir-mir)
:serial t
:components
((:file "packages")
(:file "eliminate-typeq")))
| (cl:in-package #:common-lisp-user)
(asdf:defsystem :cleavir-eliminate-typeq
:depends-on (:cleavir-mir)
:serial t
:components
((:file "packages")
(:file "eliminate-typeq")))
| Use keyword symbol to name system. | Use keyword symbol to name system.
| 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 |
ece61483d5c341638ed8b6943c488700698dfb1a | 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 :cl-sqlite))
| (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))
| Add :iterate as an explicit dep | Add :iterate as an explicit dep
(Also fix sqlite's name)
| Common Lisp | mit | isoraqathedh/umpns |
e7a4e1c8584bba34da7afc52163ec6e03779a89c | uri.lisp | uri.lisp | (in-package :cl-user)
(defpackage :dipper.uri
(:use :cl :alexandria :dipper.util)
(:export :database-uri
:parse-database-uri
:database-uri-scheme
:database-uri-subprotocol
:database-uri-host
:database-uri-port
:database-uri-path
:database-... | (in-package :cl-user)
(defpackage :dipper.uri
(:use :cl :alexandria :dipper.util)
(:export :database-uri
:parse-database-uri
:database-uri-scheme
:database-uri-subprotocol
:database-uri-host
:database-uri-port
:database-uri-path
:database-... | Add an ability to override parsed URI component values. | Add an ability to override parsed URI component values.
| Common Lisp | mit | mikeivanov/dipper,mikeivanov/dipper |
959a26521a1e19552854df47439703d3a73f2a1e | 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... | Return NIL for all error situations. | Return NIL for all error situations.
| Common Lisp | mit | torhenrik/cl-brreg |
798e3a5d276f7394d77b664900bfbe0a6afb190e | Code/String/General/conditions.lisp | Code/String/General/conditions.lisp | ;;;; Copyright (c) 2014, 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" with no warranty. The us... | ;;;; Copyright (c) 2014, 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" with no warranty. The us... | Remove obsolete :REPORT option from condition BAG-CONTAINS-NON-CHARACTER. | Remove obsolete :REPORT option from condition BAG-CONTAINS-NON-CHARACTER.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
37bab95353598462654754777e4c20a94f87ae9c | cl-js.asd | cl-js.asd | (when (asdf:find-system :local-time nil) (pushnew :js-dates *features*))
(asdf:defsystem :cl-js
:depends-on (:parse-js :cl-ppcre #+js-dates :local-time)
:serial t
:components
((:file "package")
(:file "utils")
(:file "js")
(:file "jsos")
(:file "url-encode")
(:file "json")
(:file "deflib")
... | (when (asdf:find-system :local-time nil) (pushnew :js-dates *features*))
(asdf:defsystem :cl-js
:description "JavaScript-to-CL compiler and runtime"
:depends-on (:parse-js :cl-ppcre #+js-dates :local-time)
:serial t
:components
((:file "package")
(:file "utils")
(:file "js")
(:file "jsos")
(:file... | Add :description to .asd file | Add :description to .asd file
| Common Lisp | mit | akapav/js,akapav/js,akapav/js,marijnh/js,marijnh/js,marijnh/js,jimiejosh/js,jimiejosh/js,jimiejosh/js |
158ef4e1eaecb5105bb4bd3c6b824948b42fc0ba | Test/test-2-3-tree.lisp | Test/test-2-3-tree.lisp | (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)
())
(defmethod initialize-instance :after ((object 2-node-size) &key)
(r... | (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)
())
(defmethod initialize-instance :after ((object 2-node-size) &key)
(r... | Define :AFTER method on 3-NODE-SIZE that computes sum of child sizes. | Define :AFTER method on 3-NODE-SIZE that computes sum of child sizes.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
6fd16e301c04889d6e352cf6f0e48d53baab0937 | Code/Sequences/sicl-sequence.asd | Code/Sequences/sicl-sequence.asd | (cl:in-package #:asdf-user)
(defsystem :sicl-sequences
:depends-on (:lisp-unit)
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "sequences")
(:file "condition-reporters-en")
(:file "docstrings-en")))
| (cl:in-package #:asdf-user)
(defsystem :sicl-sequence
:depends-on (:lisp-unit)
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "sequences")
(:file "condition-reporters-en")
(:file "docstrings-en")))
| Change system name to correspond to file name. | Change system name to correspond to file name.
| 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 |
c2568911618226fdbb3822c0428a246fb1286a0f | bfs.lisp | bfs.lisp | ; find the shortest path between two nodes in an unweighted graph
; ie perform a breadth first search
; the graph is a list of nodes
; a node is a list whose first element is the name of the node
; and whose remaining elements are the names of any neighbours
; (set-graph '((a b c) (b a) (c a)))
(setq graph nil)
(defu... | ; find the shortest path between two nodes in an unweighted graph
; ie perform a breadth first search
; the graph is a list of nodes
; a node is a list whose first element is the name of the node
; and whose remaining elements are the names of any neighbours
; (set-graph '((a b c) (b a) (c a)))
(setq graph nil)
(defu... | Add predicate to determine if two nodes are neighbours | Add predicate to determine if two nodes are neighbours
| Common Lisp | mit | richardmillson/Lisp |
b11612e22b695ec0477d9a88a2178b87a100c1de | site-generator.asd | site-generator.asd | ;;;; site-generator.asd
(asdf:defsystem #:site-generator
:serial t
:description "Describe site-generator here"
:author "Alex Charlton <alex.n.charlton@gmail.com>"
:license "BSD-2"
:depends-on (:let-plus :alexandria :iterate :hunchentoot :com.dvlsoft.clon :inferior-shell :cl-ppcre :cl-fad)
:components ((:fi... | ;;;; site-generator.asd
(asdf:defsystem #:site-generator
:serial t
:description "Describe site-generator here"
:author "Alex Charlton <alex.n.charlton@gmail.com>"
:license "BSD-2"
:depends-on (:let-plus :alexandria :iterate :hunchentoot :com.dvlsoft.clon :inferior-shell :cl-ppcre :cl-fad :bordeaux-threads :o... | Update asdf file for test-server | Update asdf file for test-server
| Common Lisp | bsd-2-clause | AlexCharlton/site-generator,AlexCharlton/site-generator |
41e5d6b5992b7948fe5e23cce7b0f0657c15baa7 | lem-js-mode/lem-js-mode.asd | lem-js-mode/lem-js-mode.asd | (defsystem "lem-js-mode"
:depends-on ("lem-core")
:serial t
:components ((:file "js-mode")))
| (defsystem "lem-js-mode"
:depends-on ("lem-core"
"lem-xml-mode")
:serial t
:components ((:file "js-mode")))
| Add a dependency to js-mode on xml-mode. | Add a dependency to js-mode on xml-mode.
| Common Lisp | mit | cxxxr/lem,snmsts/lem,snmsts/lem,cxxxr/lem,snmsts/lem,snmsts/lem,cxxxr/lem,cxxxr/lem |
44c0a1c639d0ef5de14b6911ba77500db7d471ad | rplugin/lisp/lisp-interface.lisp | rplugin/lisp/lisp-interface.lisp | (in-package :cl-user)
(defpackage #:lisp-interface
(:use #:cl #:cl-neovim)
(:shadowing-import-from #:cl #:defun #:eval))
(in-package :lisp-interface)
(defmacro echo-output (&body forms)
(let ((output (gensym)))
`(let ((,output (with-output-to-string (*standard-output*)
,@forms)))
... | (in-package :cl-user)
(defpackage #:lisp-interface
(:use #:cl #:cl-neovim)
(:shadowing-import-from #:cl #:defun #:eval))
(in-package :lisp-interface)
(defmacro echo-output (&body forms)
(let ((output (gensym)))
`(let ((,output (with-output-to-string (*standard-output*)
,@forms)))
... | Add :Lispdo command (lisp equivalent of :pydo) | Add :Lispdo command (lisp equivalent of :pydo)
| Common Lisp | mit | adolenc/cl-neovim,adolenc/cl-neovim |
4ffd84b8320cc607f75cecfa7d10b56acde97a2d | environment/transpiler/targets/php/core/objectp.lisp | environment/transpiler/targets/php/core/objectp.lisp | (fn object? (x)
(is_object x))
(fn assoc-array? (x)
(& (not (array? x))
(is_array x)
(is_int (key x))))
| (fn object? (x)
(is_object x))
(fn assoc-array? (x)
(& (is_array x)
(is_string (key x))))
| Test if first item has a string key. | ASSOC-ARRAY?: Test if first item has a string key.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
6628a038acc344ed3da8f5a22b1953ac7e1c0305 | environment/stage2/with.lisp | environment/stage2/with.lisp | ;;;; nix operating system project
;;;; list processor environment
;;;; Copyright (C) 2005-2008 Sven Klose <pixel@copei.de>
(defmacro with (alst &rest body)
; Make new WITH for rest of assignment list.
(labels ((sub ()
(if (cddr alst)
`((with ,(cddr alst) ,@body))
body... | ;;;; nix operating system project
;;;; list processor environment
;;;; Copyright (C) 2005-2008 Sven Klose <pixel@copei.de>
(defmacro with (alst &rest body)
; Make new WITH for rest of assignment list.
(labels ((sub ()
(if (cddr alst)
`((with ,(cddr alst) ,@body))
body... | Allow LAMBDA keyword in function value. | WITH: Allow LAMBDA keyword in function value.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
9fd19eb79431bfe2b18fb4351f31ac47683dc7e9 | com.gigamonkeys.json.asd | com.gigamonkeys.json.asd | ;;
;; Copyright (c) 2009-2010, Gigamonkeys Consulting All rights reserved.
;;
(defsystem com.gigamonkeys.json
:author "Peter Seibel <peter@gigamonkeys.com>"
:components
((:file "packages")
(:file "json" :depends-on ("packages"))
(:file "json-builder" :depends-on ("packages")))
:depend... | ;;; Copyright (c) 2009-2011, Peter Seibel.
;;; All rights reserved. See COPYING for details.
(defsystem com.gigamonkeys.json
:author "Peter Seibel <peter@gigamonkeys.com>"
:description "Library for reading and writing JSON-formatted data."
:components
((:file "packages")
(:file "json" :depends... | Add description to .asd file. | Add description to .asd file.
| Common Lisp | bsd-3-clause | gigamonkey/monkeylib-json |
18fa84e3f8110b61141fbd4c7bafe9b5655ddba4 | libssh2.asd | libssh2.asd | ;;; -*- mode: Lisp; syntax: Common-Lisp; -*-
(in-package :asdf)
(cl:eval-when (:load-toplevel :execute)
(asdf:operate 'asdf:load-op 'cffi-grovel))
(defsystem :libssh2
:description "Trivial libssh2 bindings"
:version "0.1"
:author "Oleksii Shevchuk <alxchk@gmail.com>"
:license "Public Domain... | ;;; -*- mode: Lisp; syntax: Common-Lisp; -*-
(in-package :asdf)
(eval-when (:compile-toplevel :load-toplevel :execute)
(asdf:load-system "cffi-grovel"))
(defsystem :libssh2
:description "Trivial libssh2 bindings"
:version "0.1"
:author "Oleksii Shevchuk <alxchk@gmail.com>"
:license "Public ... | Use :defsystem-depends-on in asd file | Use :defsystem-depends-on in asd file
| Common Lisp | mit | darabi/cl-libssh2 |
9a3519a7f2171aeb2d59898d1a5da93e12ee0bf8 | bencode.asd | bencode.asd | ;;; -*- Mode: Lisp -*-
(defpackage #:bencode-system (:use #:asdf #:cl))
(in-package #:bencode-system)
(defsystem #:bencode
:description "Bencode"
:version "3.0.0"
:author "Johan Andersson <nilsjohanandersson@gmail.com>"
:license "MIT"
:components ((:file "package")
(:file "dictionary" :depend... | ;;; -*- Mode: Lisp -*-
(defpackage #:bencode-system (:use #:asdf #:cl))
(in-package #:bencode-system)
(defsystem #:bencode
:description "Bencode"
:version "3.0.1"
:author "Johan Andersson <nilsjohanandersson@gmail.com>"
:license "MIT"
:components ((:file "package")
(:file "dictionary" :depend... | Bump patch version for accurate doc and use of digit-char-p. | Bump patch version for accurate doc and use of digit-char-p.
| Common Lisp | mit | nja/cl-bencode |
2f4465187c85bf93008ae3c804c57a42e5faaf07 | lindsey.asd | lindsey.asd | (defsystem #:lindsey
;;:depends-on ()
:serial t
:components ((:file "package")
(:file "Point2D")
;(:file "Vector2D")
;(:file "Polynomial")
;(:file "Intersections")
))
| (defsystem #:lindsey
;;:depends-on ()
:serial t
:components ((:file "package")
(:file "point2d")
(:file "vector2d")
;;(:file "Polynomial")
;;(:file "Intersections")
))
| Rename files to lower case and add vector2d file | Rename files to lower case and add vector2d file
| Common Lisp | mit | dmitrys99/lindsey |
c3e2caf915a695bbd10b44e1bcd1e829764c1fd1 | environment/stage4/number-sym.lisp | environment/stage4/number-sym.lisp | ;;;;; TRE transpiler
;;;;; Copyright (c) 2009 Sven Klose <pixel@copei.de>
(defun number-sym (x)
(with (digit
(fn (if (< _ 24)
(+ #\a _)
(+ (- #\0 24) _)))
rec
(fn (unless (= 0 _)
(with (m (mod _ 34))
(cons (digit m)
(rec (/ (- _ m) 34)))))))
(make-symbol (list-string (cons... | ;;;;; TRE transpiler
;;;;; Copyright (c) 2010 Sven Klose <pixel@copei.de>
(defun number-sym (x)
(with (digit
(fn (if (< _ 24)
(+ #\a _)
(+ (- #\0 24) _)))
rec
(fn (unless (= 0 _)
(with (m (mod _ 34))
(cons (digit m)
(rec (/ (- _ m) 34)))))))
(make-symbol (list-string (ncon... | Work around Firefox hash bug. | Work around Firefox hash bug.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
4aa66a2085cac022fa6f1b3b0fed3d89436cb63c | all.lisp | all.lisp | (sys.int::cal "home/me/package.lisp")
(sys.int::cal "home/me/line.lisp")
(sys.int::cal "home/me/mark.lisp")
(sys.int::cal "home/me/editor.lisp")
(sys.int::cal "home/me/buffer.lisp")
(sys.int::cal "home/me/point.lisp")
(sys.int::cal "home/me/minibuffer.lisp")
(sys.int::cal "home/me/redisplay.lisp")
(sys.int::cal "home/m... | (delete-package :me)
(sys.int::cal "home/me/package.lisp")
(sys.int::cal "home/me/line.lisp")
(sys.int::cal "home/me/mark.lisp")
(sys.int::cal "home/me/editor.lisp")
(sys.int::cal "home/me/buffer.lisp")
(sys.int::cal "home/me/point.lisp")
(sys.int::cal "home/me/minibuffer.lisp")
(sys.int::cal "home/me/redisplay.lisp")... | Delete :me package before compiling and loading. | Delete :me package before compiling and loading.
| Common Lisp | mit | burtonsamograd/med |
5e78b36b0244055c2c6162f555cbbe58fd982624 | src/library.lisp | src/library.lisp | (in-package :sdl2)
(defctype sdl2-ffi::size-t :unsigned-int)
(define-foreign-library libsdl2
(t (:default "libSDL2")))
#+-(use-foreign-library libsdl2)
| (in-package :sdl2)
(defctype sdl2-ffi::size-t :unsigned-int)
(define-foreign-library libsdl2
(:unix (:or "libSDL2-2.0.so.0" "libSDL2"))
(t (:default "libSDL2")))
(use-foreign-library libsdl2)
| Load using specific SONAME in :unix | Load using specific SONAME in :unix
| Common Lisp | mit | lispgames/cl-sdl2,lispgames/cl-sdl2,zombie-raptor/cl-sdl2,zombie-raptor/cl-sdl2 |
b2a4d20fab9341fba3971e89a7aab23ef28f3218 | tests/tests.lisp | tests/tests.lisp | (cl:defpackage #:definitions-systems_tests
(:use #:cl #:parachute))
(cl:in-package #:definitions-systems_tests)
(defmacro are (comp expected form &optional description &rest format-args)
`(is ,comp ,expected (multiple-value-list ,form) ,description ,@format-args))
(define-test "main"
(flet ((basic-tests (syste... | (cl:defpackage #:definitions-systems_tests
(:use #:cl #:parachute))
(cl:in-package #:definitions-systems_tests)
(defmacro are (comp expected form &optional description &rest format-args)
`(is ,comp ,expected (multiple-value-list ,form) ,description ,@format-args))
(define-test "main"
(flet ((basic-tests (syste... | Use FALSE instead of (is eq nil) | Use FALSE instead of (is eq nil)
| Common Lisp | unlicense | Hexstream/definitions-systems |
e15549e0a763d41fbe854559741b6d9aabdf72b7 | clouseau.asd | clouseau.asd | ;;; -*- lisp -*-
(defpackage :clouseau.system
(:use :cl :asdf))
(in-package :clouseau.system)
(defsystem :clouseau
:depends-on (:mcclim)
:serial t
:components
((:module "Apps/Inspector"
:pathname #.(make-pathname :directory '(:relative "Apps" "Inspector"))
:components
... | ;;; -*- lisp -*-
(cl:in-package :asdf-user)
(defsystem :clouseau
:depends-on (:mcclim)
:serial t
:components
((:module "Apps/Inspector"
:pathname #.(make-pathname :directory '(:relative "Apps" "Inspector"))
:components
((:file "package")
(:file "disassembly" ... | 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 |
3e3e9f4e71e82dbb679d1edd5312b7062eb8ceb6 | 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 new convert entry point. | Use new convert entry point.
| 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 |
52cfb9934ef055cdbb3675692c7ddb8d0236e013 | Code/Boot/phase3.lisp | Code/Boot/phase3.lisp | (cl:in-package #:sicl-boot)
(defclass header ()
((%class :initarg :class :accessor class)
(%rack :initarg :rack :reader rack)))
(defun define-allocate-general-instance (env)
(setf (sicl-genv:fdefinition 'sicl-clos:allocate-general-instance env)
(lambda (class size)
(make-instance 'header
:class class
... | (cl:in-package #:sicl-boot)
(defclass header ()
((%class :initarg :class :accessor class)
(%rack :initarg :rack :reader rack)))
(defun define-allocate-general-instance (env)
(setf (sicl-genv:fdefinition 'sicl-clos:allocate-general-instance env)
(lambda (class size)
(make-instance 'header
:class class
... | Load a file containing function definitions for class finalization. | Load a file containing function definitions for class finalization.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
b28018ac458bca68b85e0b2e0d3387cb3f409434 | source/addstr.lisp | source/addstr.lisp | (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... | (in-package :de.anvi.croatoan)
(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, as
many chars will be added that will fit on the line.
If the coordinates y and x are given, move to the dest... | Refactor add-str to use add-char instead of change-attributes | Refactor add-str to use add-char instead of change-attributes
| Common Lisp | mit | McParen/croatoan |
335d5e96ad4df731beebe255baa7083152ce5857 | test/environments.lisp | test/environments.lisp | (in-package :clutter)
(def-suite environments :in clutter)
(in-suite environments)
(test stack-frame)
(test *stack*)
(test binding
(let* ((ns (make-namespace))
(symbol (make-clutter-symbol :name "test" :namespace ns))) ;TODO: clutter-gensym to ensure no collision
(is (not (clutter-boundp symbol :lexic... | (in-package :clutter)
(def-suite environments :in clutter)
(in-suite environments)
(test stack-frame)
(test *stack*)
(test binding
(mapc #'(lambda (env)
(let* ((ns (make-namespace))
(symbol (make-clutter-symbol :name "test" :namespace ns))) ;TODO: clutter-gensym to ensure no collisio... | Expand binding test to cover all subenvs. | Expand binding test to cover all subenvs.
| Common Lisp | mit | clutter-lang/clutter |
6d99516e9a443827b5628727b5d75a2f52371079 | minion.asd | minion.asd | ;;;; See the LICENSE file for licensing information.
(defsystem minion
:name "minion"
:author "Brian Mastenbrook"
:version "0.1.0"
:licence "MIT"
:description "IRC bot for SBCL"
:depends-on
(:cl-irc :cl-ppcre :split-sequence
:irc-bot drakma)
:properties ((#:author-email . "cl-irc-devel@common-lisp.... | ;;;; See the LICENSE file for licensing information.
(asdf:defsystem :minion
:name "minion"
:author "Brian Mastenbrook"
:version "0.1.0"
:licence "MIT"
:description "IRC bot for SBCL"
:depends-on
(:cl-irc :cl-ppcre :split-sequence
:irc-bot :drakma)
:properties ((#:author-email . "cl-irc-devel@commo... | Use keywords for system names, and explicitly specify ASDF:DEFSYSTEM. | Use keywords for system names, and explicitly specify ASDF:DEFSYSTEM.
| Common Lisp | mit | stassats/lisp-bots,stassats/lisp-bots |
3219000ad9abfd64df240911bf211f7826e28453 | 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 (parent child))
(defmethod link-left ((parent node) (child node))
(setf (left parent) child))
(defmethod link-left ((parent node-with-parent) (child node-with-parent))
(call-next-method)
(setf (parent child) parent... | (cl:in-package #:clump-binary-tree)
;;; Make CHILD the left child of NODE.
(defgeneric link-left (parent child))
(defmethod link-left ((parent node) child)
(setf (left parent) child))
(defmethod link-left ((parent node-with-parent) (child node-with-parent))
(call-next-method)
(setf (parent child) parent))
;;;... | Allow for the child to be NIL. | Allow for the child to be NIL.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
ae72e3d10f184c9d856a31c15785eeac4ce1db29 | bukvonesis.asd | bukvonesis.asd | ;;;; bukvonesis.asd
(asdf:defsystem #:bukvonesis
:serial t
:description "Growing cyrillic characters for latin-only fonts."
:author "Boian Tzonev <boiantz@gmail.com>"
:license "Apache License, Version 2.0"
:depends-on ("hunchentoot" "parenscript" "ponon" "lparallel" "closure-template" "clws") ;;todo remove p... | ;;;; bukvonesis.asd
(asdf:defsystem #:bukvonesis
:serial t
:description "Growing cyrillic characters for latin-only fonts."
:author "Boian Tzonev <boiantz@gmail.com>"
:license "Apache License, Version 2.0"
:depends-on ("hunchentoot" "parenscript" "ponon" "lparallel" "closure-template" "clws") ;;todo remove p... | Include clws server file in project. | Include clws server file in project.
| Common Lisp | apache-2.0 | dardoria/bukvonesis,dardoria/bukvonesis,dardoria/bukvonesis |
6dd229693494ff6f8988be727a21acaacb893efc | tests/let_test.lsp | tests/let_test.lsp | (describe simple-let
(== (let ())
nil)
(== (let ()
42)
42))
(describe let-with-multiple-expr-body
(== (let ()
1
2)
2))
(describe let-bindings
(== (let* ((x 1)
(y 2))
... | (describe simple-let
(== (let ())
nil)
(== (let ()
42)
42))
(describe let-with-multiple-expr-body
(== (let ()
1
2)
2))
(describe let-bindings
(== (let* ((x 1)
(y 2))
... | Fix typo (copy-paste single quotes). | Fix typo (copy-paste single quotes).
| Common Lisp | bsd-3-clause | SteelSeries/golisp,SteelSeries/golisp,SteelSeries/golisp |
cf9e3e407abaa93b5ea12eaf0100abee2e2eb537 | map.asd | map.asd | (defsystem :map
:serial t
:description "Octave-like functionality for lisp!"
:version "0.1.0"
:author "Matt Novenstern <fisxoj@gmail.com>"
:components ((:file "package")
(:file "conditions")
(:module utilities
:components ((:file "printing")
(:file "missing-functions")))
(:... | (defsystem :map
:serial t
:description "Octave-like functionality for lisp!"
:version "0.1.0"
:author "Matt Novenstern <fisxoj@gmail.com>"
:components ((:file "package")
(:file "conditions")
(:module utilities
:components ((:file "printing")
(:file "missing-functions")))
(:... | Load macros before the functions that use them | Load macros before the functions that use them
| Common Lisp | agpl-3.0 | fisxoj/map |
ed9dfe979e2ee2c057923b45287dd432230b2cc2 | Code/Iteration/sicl-iteration.asd | Code/Iteration/sicl-iteration.asd | (in-package #:asdf-user)
(defsystem :sicl-iteration
:depends-on (:cleavir-code-utilities
:cleavir-internationalization
:sicl-iteration-support)
:serial t
:components
((:file "dotimes")
(:file "dolist")
(:file "iteration")))
| (in-package #:asdf-user)
(defsystem :sicl-iteration
:depends-on (:cleavir-code-utilities
:cleavir-internationalization
:sicl-iteration-support)
:serial t
:components
((:file "dotimes-defmacro")
(:file "dolist-defmacro")
(:file "do-dostar-defmacro")))
| Make component names match real file names. | Make component names match real file names.
| 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 |
176aca3b63a2204bc9bd88048d241b3bc7836afd | package.lisp | package.lisp | ;;;; package.lisp
(defpackage #:spinneret
(:use #:cl #:parenscript #:alexandria)
(:export #:with-html #:with-html-string #:html
#:*html* #:*html-fill-column* #:*html-min-room*
#:*html-lang* #:*html-charset*
#:*html-path*
#:deftemplate #:do-elements
#:deftag
... | ;;;; package.lisp
(defpackage #:spinneret
(:use #:cl #:parenscript #:alexandria)
(:export #:with-html #:with-html-string #:html
#:*html* #:*html-fill-column* #:*html-min-room*
#:*html-lang* #:*html-charset*
#:*html-path*
#:do-elements
#:deftag
#:*un... | Remove deftemplate from exported symbols | Remove deftemplate from exported symbols
The functionality was removed on e2cbe0e22dd2e9e6c50daf5d7081fc7a02e64d1c
| Common Lisp | mit | ruricolist/spinneret |
3920a67b0cdfeb87d738634545c8bf1e7207fdb4 | com.gigamonkeys.utilities.asd | com.gigamonkeys.utilities.asd | ;;
;; Copyright (c) 2005-2010, Peter Seibel. All rights reserved.
;;
(defsystem com.gigamonkeys.utilities
:description "Peter Seibel's collection of 'utilities'."
:components
((:file "packages")
(:file "heap" :depends-on ("packages"))
(:file "clos" :depends-on ("packages"))
(:file "date" :depends-on ("p... | ;;
;; Copyright (c) 2005-2010, Peter Seibel. All rights reserved.
;;
(defsystem com.gigamonkeys.utilities
:description "Peter Seibel's collection of 'utilities'."
:components
((:file "packages")
(:file "heap" :depends-on ("packages"))
(:file "clos" :depends-on ("packages"))
(:file "date" :depends-on ("p... | Add newline to end of file. | Add newline to end of file.
| Common Lisp | bsd-3-clause | gigamonkey/monkeylib-utilities |
e39a51394c8d065f3fa761f072a13523cf052914 | 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)))
| (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 :initform nil :accessor contents)))
| Define new class LEAF for the leaves of the 2-3 tree. | Define new class LEAF for the leaves of the 2-3 tree.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
e2a0052e02a8ef415137449fc8140ba2528a1028 | split-sequence.asd | split-sequence.asd | ;;; -*- Lisp -*-
(defsystem :split-sequence
:author "Arthur Lemmens <alemmens@xs4all.nl>"
:maintainer "Sharp Lispers <sharplispers@googlegroups.com>"
:description "Splits a sequence into a list of subsequences
delimited by objects satisfying a test."
:license "public domain"
:version (:read-file-form "vers... | ;;; -*- Lisp -*-
(defsystem :split-sequence
:author "Arthur Lemmens <alemmens@xs4all.nl>"
:maintainer "Sharp Lispers <sharplispers@googlegroups.com>"
:description "Splits a sequence into a list of subsequences
delimited by objects satisfying a test."
:license "public domain"
:version (:read-file-form "vers... | Add version.sexp as static file | Add version.sexp as static file
This ensures it is copied by bundle-op
| Common Lisp | mit | sharplispers/split-sequence |
93a7f49f32d3f5442312f09bdbabcdc7fd0b5caf | src/base/asdf.lisp | src/base/asdf.lisp | ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
;;;
;;; --- ASDF component classes
;;;
(in-package :iolib.base)
(defclass :iolib-muffled-source-file (asdf:cl-source-file) ())
(macrolet ((with-muffled-output (&body body)
`(let ((*load-print* nil)
(*load-verbose* t)
... | ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
;;;
;;; --- ASDF component classes
;;;
(in-package :iolib.base)
(defclass :iolib-muffled-source-file (asdf:cl-source-file) ())
(macrolet ((with-muffled-output (&body body)
`(let ((*load-print* nil)
(*load-verbose* nil)
... | Set {COMPILE,LOAD}-VERBOSE to T when compiling IOLIB-SOURCE-FILEs | Set {COMPILE,LOAD}-VERBOSE to T when compiling IOLIB-SOURCE-FILEs
| Common Lisp | mit | tiago4orion/iolib,dkochmanski/iolib,attila-lendvai/iolib,tiago4orion/iolib,lispnik/iolib,sionescu/iolib,sionescu/iolib,sionescu/iolib,deadtrickster/iolib,tiago4orion/iolib,lispnik/iolib,dkochmanski/iolib,shamazmazum/iolib,attila-lendvai/iolib,shamazmazum/iolib,lispnik/iolib,deadtrickster/iolib,shamazmazum/iolib,deadtri... |
488868b83e3058be4dd3e8b8534a8f873c9d86c2 | 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 a file containing the definition of the class standard-object. | Load a file containing the definition of the class standard-object.
| 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 |
891bf3fac51ab2839839a7939edd45d0fbc671a8 | environment/transpiler/targets/javascript/environment/apply.lisp | environment/transpiler/targets/javascript/environment/apply.lisp | ;;;;; tré – Copyright (c) 2008–2010,2013 Sven Michael Klose <pixel@copei.de>
(dont-obfuscate apply call)
(declare-cps-exception apply %nconc last butlast)
(declare-native-cps-function apply)
(defun apply (fun &rest lst)
(when-debug
(| (function? fun)
(error "First argument ~A is not a function." fun))
(| (... | ;;;;; tré – Copyright (c) 2008–2010,2013 Sven Michael Klose <pixel@copei.de>
(dont-obfuscate apply call)
(declare-cps-exception apply %nconc last butlast)
(declare-native-cps-function apply)
(defun apply (fun &rest lst)
(when-debug
(| (function? fun)
(error "First argument ~A is not a function." fun))
(| (... | Fix call to non-CPS function from CPS function. | Fix call to non-CPS function from CPS function.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
1db47a6d4cac62897d3dd02a5942a5c9f8dae536 | environment/transpiler/toplevel/init.lisp | environment/transpiler/toplevel/init.lisp | ;;;;; tré – Copyright (c) 2008–2012 Sven Michael Klose <pixel@copei.de>
(defun transpiler-make-expex (tr)
(let ex (make-expex)
(= (transpiler-expex tr) ex
(expex-transpiler ex) tr
(expex-function-collector ex)
(lx (tr)
#'((fun args)
(transpiler-add-wanted-function ,tr fun)))
... | ;;;;; tré – Copyright (c) 2008–2012 Sven Michael Klose <pixel@copei.de>
(defun transpiler-make-expex (tr)
(let ex (make-expex)
(= (transpiler-expex tr) ex
(expex-transpiler ex) tr
(expex-function-collector ex)
(lx (tr)
#'((fun args)
(transpiler-add-wanted-function ,tr fun)))
... | Switch on assertions with *ASSERT*. | Switch on assertions with *ASSERT*.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
a2eb565ee4df543a3cb97d94888ec2dbbc5cf71d | 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"))
| (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 file containing macro DEFUN. | Load file containing macro DEFUN.
| 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 |
c763449217f364c055223cd793e19a8bfd9a1065 | chyat.lisp | chyat.lisp | (in-package :stupid-chyat)
(defvar *acceptor*)
(define-easy-handler (root :uri "/") ()
(generate-html-response))
(define-easy-handler (postmsg :uri "/postmsg") ((message :real-name "msg"))
(let ((ua-stripped (strip-tags (user-agent)))
(message-stripped (strip-tags message)))
(cond
((and (string... | (in-package :stupid-chyat)
(defvar *acceptor*)
(define-easy-handler (root :uri "/") ()
(generate-html-response))
(define-easy-handler (postmsg :uri "/postmsg") ((message :real-name "msg"))
(let ((ua-stripped (strip-tags (user-agent)))
(message-stripped (strip-tags message)))
(cond
((or (null me... | Handle post click more carefully (but still in ugly way) | Handle post click more carefully (but still in ugly way)
| Common Lisp | bsd-2-clause | shamazmazum/stupid-chyat |
8af3827abbcb0c700c732494d64465a20354b761 | Code/Boot/customize-r2.lisp | Code/Boot/customize-r2.lisp | (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... | (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... | Use file suffix for loading. | Use file suffix for loading.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
8d9233f8e10737faf8ea24bfdba74c3c83fa8253 | Test/test-splay.lisp | Test/test-splay.lisp | (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... | (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 function for testing the SPLAY operation on a single tree. | Add function for testing the SPLAY operation on a single tree.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
1e870fa3341b845d3d2ab450c6b5a48d7e62a60a | glkit.asd | glkit.asd | (defpackage :glkit.asdf
(:use #:cl #:asdf))
(in-package :glkit.asdf)
#+(or sbcl ccl cmucl ecl lispworks allegro)
(eval-when (:compile-toplevel :load-toplevel :execute)
(pushnew :glkit-sv *features*))
(defsystem :glkit
:description "Various utilities for OpenGL"
:author ("rpav")
:license "MIT"
:version "0... | (defpackage :glkit.asdf
(:use #:cl #:asdf))
(in-package :glkit.asdf)
#+(or (and sbcl (not windows)) ccl cmucl ecl lispworks allegro)
(eval-when (:compile-toplevel :load-toplevel :execute)
(pushnew :glkit-sv *features*))
(defsystem :glkit
:description "Various utilities for OpenGL"
:author ("rpav")
:license... | Exclude (and sbcl windows) from depending on static-vectors | Exclude (and sbcl windows) from depending on static-vectors
| Common Lisp | mit | lispgames/glkit |
b1db098690e3564b7f01d3abb38d091d99ef9b49 | conditions.lisp | conditions.lisp | ;;;; Generic conditions.
(in-package :erlangen.conditions)
(define-condition timeout (error) ()
(:documentation
"*Description:*
Describes an error condition that can occur when using functions with
a timeout. It denotes a that the operations was unable to
successfully complete within a given duratio... | ;;;; Generic conditions.
(in-package :erlangen.conditions)
(define-condition timeout (error) ()
(:documentation
"*Description:*
Describes an error condition that can occur when using functions with
a timeout. It denotes a that the operation was unable to
successfully complete within a given duration... | Fix typo in docstring of TIMEOUT. | Fix typo in docstring of TIMEOUT.
| Common Lisp | agpl-3.0 | eugeneia/erlangen |
647b056ea3479771d789c9c79f8edb21739ca650 | src/site.lisp | src/site.lisp | (defpackage :fu-er-com
(:use :cl :hunchentoot :cl-who :parenscript)
(:export :start-server :stop-server))
(in-package :fu-er-com)
(defparameter *server* nil)
(defun stop-server ()
(when *server*
(stop *server*)
(setq *server* nil)))
(defun start-server ()
(stop-server)
(start (make-instance 'easy-a... | (defpackage :fu-er-com
(:use :cl :hunchentoot :cl-who :parenscript)
(:export :start-server :stop-server))
(in-package :fu-er-com)
(defparameter *server* nil)
(defun stop-server ()
(when *server*
(stop *server*)
(setq *server* nil)))
(defun start-server ()
(stop-server)
(start (make-instance 'easy-a... | Add in the html foundation | Add in the html foundation
| Common Lisp | mit | jeaye/fu-er.com |
071c4a1fedae334ad89edda9f44b7b9247e5685a | all.lisp | all.lisp | (defun cal (file)
(handler-bind
;; automatically choose 'smash existing class' when loading
((t (lambda (c)
(let ((restart (find-restart 'continue)))
(when restart (invoke-restart restart))))))
(sys.int::cal file)))
(cal "home/med/package.lisp")
(cal "home/med/line.lisp")
(cal... | (defun cal (file)
(handler-bind
;; automatically choose 'smash existing class' when loading
((t (lambda (c)
(invoke-restart 'continue))))
(sys.int::cal file)))
(cal "home/med/package.lisp")
(cal "home/med/line.lisp")
(cal "home/med/mark.lisp")
(cal "home/med/editor.lisp")
(cal "home/med/bu... | Update cal to directly invoke the continue restart. | Update cal to directly invoke the continue restart.
| Common Lisp | mit | burtonsamograd/med |
5d20f9e3a5a3403a2616180dba66e6b25657125c | Code/Cleavir/Reaching-definitions/cleavir-reaching-definitions.asd | Code/Cleavir/Reaching-definitions/cleavir-reaching-definitions.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :cleavir-reaching-definitions
:depends-on (:cleavir-utilities)
:components
((:file "packages")
(:file "reaching-definitions" :depends-on ("packages"))))
| (cl:in-package #:asdf-user)
(defsystem :cleavir-reaching-definitions
:depends-on (:cleavir-utilities)
:components
((:file "packages")
(:file "reaching-definitions" :depends-on ("packages"))))
| 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,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL |
e5c5fca9002a1028beb3bda9994df49a88e15d3d | Binary-tree/replace-child.lisp | Binary-tree/replace-child.lisp | (cl:in-package #:clump-binary-tree)
(defgeneric replace-child (node old-child new-child))
(defmethod replace-child ((node null) (old-child node) new-child)
new-child)
| (cl:in-package #:clump-binary-tree)
(defgeneric replace-child (node old-child new-child))
(defmethod replace-child ((node null) (old-child node) new-child)
new-child)
(defmethod replace-child ((node node) (old-child node) new-child)
(cond ((eq old-child (left node))
(setf (left node) new-child))
((eq old-chil... | Add method on REPLACE-CHILD specialized to NODE. | Add method on REPLACE-CHILD specialized to NODE.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
510fe70c5da4724f05b7788cad04459c6adb6ad3 | turtle-geometry.asd | turtle-geometry.asd | ;;;; turtle-geometry.asd
(asdf:defsystem #:turtle-geometry
:description "Describe turtle-geometry here"
:author "Name <your@email.com>"
:license "Licenceless Rider"
:depends-on (#:err)
:serial t
:pathname "src/"
:components ((:file "package")
(:file "globals")
(:file "utils"... | ;;;; turtle-geometry.asd
(asdf:defsystem #:turtle-geometry
:description "Describe turtle-geometry here"
:author "Name <your@email.com>"
:license "Licenceless Rider"
:depends-on (#:err)
:serial t
:pathname "src/"
:components ((:file "package")
(:file "globals")
(:file "utils"... | Add new file to asdf description. | Add new file to asdf description.
| Common Lisp | mit | hahahahaman/turtle-geometry |
7091b941534e39a2adf16425f2b965060619b231 | package.lisp | package.lisp | ;;;; $Id$
;;;; $URL$
;;;; See the LICENSE file for licensing information.
#+lispworks (cl:require "comm")
(cl:eval-when (:execute :load-toplevel :compile-toplevel)
(cl:defpackage :usocket
(:use :cl)
(:export #:*wildcard-host*
#:*auto-port*
#:socket-connect ; socket constructors... | ;;;; $Id$
;;;; $URL$
;;;; See the LICENSE file for licensing information.
#+lispworks (cl:require "comm")
(cl:eval-when (:execute :load-toplevel :compile-toplevel)
(cl:defpackage :usocket
(:use :cl)
(:export #:*wildcard-host*
#:*auto-port*
#:socket-connect ; socket constructors... | Add missing symbols to the export list. | Add missing symbols to the export list.
| Common Lisp | mit | mcna/usocket |
bf66698878767171abe500fc1a857ac084709ead | environment/platforms/shared/url/path-append.lisp | environment/platforms/shared/url/path-append.lisp | ; tré – Copyright (c) 2010–2014,2016 Sven Michael Klose <pixel@copei.de>
(defun path-append (dir &rest path-components)
(@ (x path-components dir)
(= dir (+ (trim-tail dir "/") "/" (trim x "/")))))
| ; tré – Copyright (c) 2010–2014,2016 Sven Michael Klose <pixel@copei.de>
(defun path-append (dir &rest path-components)
(@ (x (remove-if #'not path-components) dir)
(= dir (+ (trim-tail dir "/") "/" (trim x "/")))))
| Deal with NIL to add. | Deal with NIL to add.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
db3ca18af7b66478c35a4db797e0db032e700198 | dishes.asd | dishes.asd | ;;;; dishes.asd
(asdf:defsystem #:dishes
:serial t
:description "Some simple reader macros."
:author "Matt Niemeir <matt.niemeir@gmail.com>"
:license "BSD 2-clause"
:depends-on ()
:components ((:file "package")
(:file "utils")
(:file "dishes")))
(asdf:defsystem #:dishes-test
... | ;;;; dishes.asd
(asdf:defsystem #:dishes
:serial t
:description "Some simple reader macros."
:author "Matt Niemeir <matt.niemeir@gmail.com>"
:license "BSD 2-clause"
:depends-on ()
:components ((:file "package")
(:file "utils")
(:file "dishes"))
:in-order-to ((test-op (load-o... | Update .asd to allow YARTY to watch tests file | Update .asd to allow YARTY to watch tests file
| Common Lisp | bsd-2-clause | m-n/dishes |
cef704a207dd1499ceb58ca3a279bd9e8a258104 | 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,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
fa04de4a1bf8185aa2aa420be135931b7d8bb284 | tutorials/spin-physics-local.lisp | tutorials/spin-physics-local.lisp | ;;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: SILVER-SWORD-TUTORIALS; Base: 10 -*- file: spin-physics-local.lisp
;;;; Copyright (c) 2013 "the Phoeron" Colin J.E. Lupton <//thephoeron.com>
;;;; See LICENSE for additional information.
(in-package :silver-sword-tutorials)
;; CL-PLPLOT is failing miserably, so we'l... | ;;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: SILVER-SWORD-TUTORIALS; Base: 10 -*- file: spin-physics-local.lisp
;;;; Copyright (c) 2013 "the Phoeron" Colin J.E. Lupton <//thephoeron.com>
;;;; See LICENSE for additional information.
(in-package :silver-sword-tutorials)
;; CL-PLPLOT is failing miserably, so we'l... | Add local variables for spin-physics tutorial | Add local variables for spin-physics tutorial
| Common Lisp | mit | thephoeron/silver-sword |
807c6c26ff78aaf22a9020ddf055342a09d859d2 | split-sequence.asd | split-sequence.asd | ;;; -*- Lisp -*-
(defsystem :split-sequence
:author "Arthur Lemmens <alemmens@xs4all.nl>"
:maintainer "Sharp Lispers <sharplispers@googlegroups.com>"
:description "Splits a sequence into a list of subsequences
delimited by objects satisfying a test."
:license "MIT"
:version (:read-file-form "version.sexp")... | ;;; -*- Lisp -*-
(defsystem :split-sequence
:author "Arthur Lemmens <alemmens@xs4all.nl>"
:maintainer "Sharp Lispers <sharplispers@googlegroups.com>"
:description "Splits a sequence into a list of subsequences
delimited by objects satisfying a test."
:license "MIT"
:version (:read-file-form "version.sexp")... | Define TEST-OP within DEFSYSTEM (the modern way) | Define TEST-OP within DEFSYSTEM (the modern way)
| Common Lisp | mit | sharplispers/split-sequence |
64d47143f80caca74fe624ccf559f9b72a8503e9 | 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... | Add method specialized to ENTER-INSTRUCTION. | Add method specialized to ENTER-INSTRUCTION.
| 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 |
80518b51867a5ad495243c8e48581a2dcdf04745 | com.gigamonkeys.markup.asd | com.gigamonkeys.markup.asd | ;;
;; Copyright (c) 2010, Peter Seibel. All rights reserved.
;;
(defsystem com.gigamonkeys.markup
:name "com.gigamonkeys.markup"
:components
((:file "packages")
(:file "markup" :depends-on ("packages"))
(:file "tests" :depends-on ("packages")))
:depends-on
(:cl-ppcre
:com.gigamonkeys.macro-utilities... | ;;
;; Copyright (c) 2010, Peter Seibel. All rights reserved.
;;
(defsystem com.gigamonkeys.markup
:name "com.gigamonkeys.markup"
:description "Library for parsing Markup-formatted text."
:components
((:file "packages")
(:file "markup" :depends-on ("packages"))
(:file "tests" :depends-on ("packages")))
... | Add description to .asd file. | Add description to .asd file.
| Common Lisp | bsd-3-clause | gigamonkey/monkeylib-markup |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.