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 |
|---|---|---|---|---|---|---|---|---|---|
566b542d254c1a3b339d767440abaa3d38d0cb39 | glkit-examples.asd | glkit-examples.asd | (defpackage :glkit.asdf
(:use #:cl #:asdf))
(in-package :glkit.asdf)
(defsystem :glkit-examples
:description "Various utilities for OpenGL"
:author ("rpav")
:license "MIT"
:version "0.0"
:depends-on (:sdl2kit-examples :glkit)
:pathname "examples"
:serial t
:components
((:file "package")
(:fil... | (defpackage :glkit.asdf
(:use #:cl #:asdf))
(in-package :glkit.asdf)
(defsystem :glkit-examples
:description "Various utilities for OpenGL"
:author ("rpav")
:license "MIT"
:version "0.0"
:depends-on (:sdl2kit-examples :glkit)
:pathname "examples"
:serial t
:components
((:file "package")
(:fil... | Add 410 example to asd | Add 410 example to asd
| Common Lisp | mit | lispgames/glkit |
3f899117f6db56478bdbf07bffad0ae33566650b | src/toys.lisp | src/toys.lisp | (in-package :6502)
(defparameter *benchmark*
(asm " ;; Clear the Decimal and Carry status bits
CLD
CLC
;; Set the Accumulator and X and Y regs to zero
LDA #$00
LDX #$00
LDY #$00
;; Increment Y until it wraps around to zero, then proceed to 0x0b
... | (in-package :6502)
(defparameter *benchmark*
(asm " ;; Clear the Carry status bit
CLC
;; Set the Accumulator and X and Y regs to zero
LDA #$00
LDX #$00
LDY #$00
;; Increment Y until it wraps around to zero, then proceed to 0x0b
loop:
INY
... | Remove extraneous CLD from example. | Remove extraneous CLD from example. | Common Lisp | bsd-2-clause | kingcons/cl-6502,kingcons/cl-6502,redline6561/cl-6502,redline6561/cl-6502 |
983286ad78286800fdc2eaea704113e25f641d00 | 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 ROTATE-LEFT. | Add English documentation for function ROTATE-LEFT.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
adc782ffd24c97a3d9f99d4cc90c902eb2f4ddf3 | environment/stage1/let.lisp | environment/stage1/let.lisp | ;;;;; tré - Copyright (c) 2005-2006,2008,2010-2012 Sven Michael Klose <pixel@copei.de>
;; Create new local variable.
(defmacro let (place expr &body body)
(?
(not body)
(progn
(print place)
(print expr)
(print body)
(%error "body expected"))
(cons? place)
(%error "place is not an atom")
`... | ;;;;; tré – Copyright (c) 2005-2006,2008,2010–2012 Sven Michael Klose <pixel@copei.de>
;; Create new local variable.
(defmacro let (place expr &body body)
(?
(not body)
(progn
(print place)
(print expr)
(print body)
(%error "body expected"))
(cons? place)
(progn
(print place)
(%err... | Print place if it's not an atom. | Print place if it's not an atom.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
be57028fc9eaf9f0217d5c11e59dd1632ca84f55 | Code/Backends/Extrinsic-HIR-compiler/define-global-environment.lisp | Code/Backends/Extrinsic-HIR-compiler/define-global-environment.lisp | (cl:in-package #:sicl-extrinsic-hir-compiler)
(defclass environment (sicl-simple-environment:simple-environment)
())
| (cl:in-package #:sicl-extrinsic-hir-compiler)
(defclass environment (sicl-extrinsic-environment:environment)
())
| Make the extrinsic environment a superclass. | Make the extrinsic environment a superclass.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
ed7f24d2f79f522401808b6cdc04e4a6d0276364 | Binary-tree/iterative-traversal.lisp | Binary-tree/iterative-traversal.lisp | (cl:in-package #:clump-binary-tree)
(defgeneric iterative-traversal (tree enter))
(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))))
(loop... | (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))))
... | Add new parameter to generic function definition. | Add new parameter to generic function definition.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
959e1a609d6cfcffd049d7226e191deb37babc76 | 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)
(defun define-effective-slot-definition-class-phase3 (env1 env2)
(setf (sicl-genv:fdefinition 'sicl-clos:effective-slot-definition-class
env1)
(lambda (&rest args)
(declare (ignore args))
(sicl-genv:find-class 'sicl-clos:standard-effective-slot-definition
env2))))
(d... | Define EFFECTIVE-SLOT-DEFINITION-CLASS in phase 3. | Define EFFECTIVE-SLOT-DEFINITION-CLASS in phase 3.
| 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 |
d86ace7274d5b01600cd92d5c40c9905bf1af17a | Code/Compiler/Extrinsic-environment/import-from-sicl-global-environment.lisp | Code/Compiler/Extrinsic-environment/import-from-sicl-global-environment.lisp | (cl:in-package #:sicl-extrinsic-environment)
(defun import-from-sicl-global-environment (environment)
(setf (sicl-env:special-variable 'sicl-env:*global-environment* environment t)
environment))
| (cl:in-package #:sicl-extrinsic-environment)
(defun import-from-sicl-global-environment (environment)
;; This variable is deprecated. Uses of it should be replaced by
;; uses of the constant sicl-env:+global-environment+
(setf (sicl-env:special-variable 'sicl-env:*global-environment* environment t)
environment... | Create new constant variable in addition to existing special variable. | Create new constant variable in addition to existing special variable.
| 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 |
f5a7e892a04afaf0a0561f867c1bfca35329889f | environment/transpiler/lib/compiled-list.lisp | environment/transpiler/lib/compiled-list.lisp | ;;;;; tré – Copyright (c) 2005–2009,2011–2012 Sven Michael Klose <pixel@copei.de>
(defun %compiled-atom (x quoted?)
(? (& quoted? x (symbol? x))
(list 'quote x)
x))
(defun compiled-list (x &key (quoted? nil))
(? (cons? x)
`(cons ,(%compiled-atom x. quoted?)
,(compiled-list .x :quoted? q... | ;;;;; tré – Copyright (c) 2005–2009,2011–2012 Sven Michael Klose <pixel@copei.de>
(defun %compiled-atom (x quoted?)
(? (& quoted? x (symbol? x))
(list 'quote x)
x))
(defun compiled-list (x &key (quoted? nil))
(? (cons? x)
`(%%%cons ,(%compiled-atom x. quoted?)
,(compiled-list .x :quo... | Use %%%CONS instead of CONS to work around infinite loops due to argument expansions. | Use %%%CONS instead of CONS to work around infinite loops due to argument expansions.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
8cee76af8aa36d6a3dee5e43816af6ea9e00a5f0 | 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 support code for DEFCLASS. | Load a file containing support code for DEFCLASS.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL |
b9dc4f7dd1ca99f1e64e18cc34ea6a261b88c1ab | Code/Cons/low.lisp | Code/Cons/low.lisp | (cl:in-package #:sicl-cons)
(defun car (list)
(declare (type list list))
(if (consp list)
(cleavir-primop:car list)
nil))
(defun cdr (list)
(declare (type list list))
(if (consp list)
(cleavir-primop:cdr list)
nil))
(defun rplaca (cons object)
(declare (type cons cons))
(cleavir... | (cl:in-package #:sicl-cons)
(defun car (list)
(if (consp list)
(cleavir-primop:car list)
(if (null list)
nil
(error 'must-be-list :datum list))))
(defun cdr (list)
(if (consp list)
(cleavir-primop:cdr list)
(if (null list)
nil
(error 'must-be-list :datum list))))
(defun rpla... | Use explicit test for type of argument. | Use explicit test for type of argument.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
cbc071b3eca6e9662fd2054a3fd4554862f729e5 | Code/Cleavir/Dataflow-analysis/dataflow-analysis.lisp | Code/Cleavir/Dataflow-analysis/dataflow-analysis.lisp | (cl:in-package #:cleavir-dataflow-analysis)
(defclass operation ()
((%instruction :initarg :instruction :reader instruction)
(%inputs :initform '() :initarg inputs :accessor inputs)
(%outputs :initform '() :initarg outputs :accessor outputs)))
| (cl:in-package #:cleavir-dataflow-analysis)
(defclass operation ()
((%instruction :initarg :instruction :reader instruction)
(%inputs :initform '() :initarg inputs :accessor inputs)
(%outputs :initform '() :initarg outputs :accessor outputs)))
(defclass dataflow ()
((%operations :initarg :operations :access... | Define class for result of analysis. | Define class for result of analysis.
| 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 |
009779c99674ecfb0ec44dc6907072a36b307c4a | environment/stage1/loops.lisp | environment/stage1/loops.lisp | ;;;;; tré – Copyright (c) 2005–2008,2010–2012 Sven Michael Klose <pixel@copei.de>
(defmacro do (binds (test &rest result) &body body)
(let tag (gensym)
`(block nil
(let* ,(mapcar #'((b)
`(,(car b) ,(cadr b)))
binds)
(tagbody
,tag
(? ,test
(return ... | ;;;;; tré – Copyright (c) 2005–2008,2010–2012 Sven Michael Klose <pixel@copei.de>
(defmacro do (binds (test &rest result) &body body)
(let tag (gensym)
`(block nil
(let* ,(mapcar #'((b)
`(,(car b) ,(cadr b)))
binds)
(tagbody
,tag
(? ,test
(return ... | Make integer of number of times. | DOTIMES: Make integer of number of times.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
beffe237132f2f4c8cd26267841fea9dcd3efc58 | 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 "common")
(:file "sequences")
(:file "condition-reporters-en")
(:file "docstrings-en")))
(defsystem :sicl-sequences-tiny
:depends-on (:lisp-unit)
:serial t
:compon... | (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")))
(defsystem :sicl-sequences-tiny
:depends-on (:lisp-unit)
:serial t
:co... | Use new component name in system definitions. | Use new component name in system definitions.
| 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 |
715357523d7fe41565cdca386c5351716aed2898 | environment/transpiler/middle-end/graph/metacode-to-cblocks.lisp | environment/transpiler/middle-end/graph/metacode-to-cblocks.lisp | ;;;;; tré - Copyright (c) 2010-2011 Sven Klose <pixel@copei.de>
(defun reassignment? (fi x)
(and (%setq? x)
(funinfo-in-args-or-env? fi (%setq-place x))))
(defun metacode-splitpoint? (statements)
(or (vm-jump? x.)
(number? .x.)
(reassignment? fi x.)))
(defun copy-until-cblock-end (cb fi x)
(... | ;;;;; tré - Copyright (c) 2010-2011 Sven Klose <pixel@copei.de>
(defun reassignment? (fi x)
(and (%setq? x)
(funinfo-in-args-or-env? fi (%setq-place x))))
(defun metacode-splitpoint? (fi x)
(or (vm-jump? x.)
(number? .x.)
(reassignment? fi x.)))
(defun copy-until-cblock-end (cb fi x)
(let re... | Fix arguments in some call. | Fix arguments in some call.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
2e354a36353eb8fd5e1863f01ca1438e229c6e06 | source/minibuffer-helper.lisp | source/minibuffer-helper.lisp | ;;;; SPDX-FileCopyrightText: Atlas Engineer LLC
;;;; SPDX-License-Identifier: BSD-3-Clause
(in-package :nyxt)
(export-always '*yes-no-choices*)
(defparameter *yes-no-choices* '(:yes "yes" :no "no")
"The suggestions when asking the user for a yes/no choice.
See `if-confirm'.
The first suggestion poses as a default."... | ;;;; SPDX-FileCopyrightText: Atlas Engineer LLC
;;;; SPDX-License-Identifier: BSD-3-Clause
(in-package :nyxt)
(export-always '*yes-no-choices*)
(defparameter *yes-no-choices* '(:yes "yes" :no "no")
"The suggestions when asking the user for a yes/no choice.
See `if-confirm'.
The first suggestion poses as a default."... | Fix typo in `if-confirm' docstring. | Fix typo in `if-confirm' docstring.
| Common Lisp | bsd-3-clause | jmercouris/NeXT,jmercouris/NeXT |
2db1199aa131ef421bef69fbb4a68413ca0ca19a | 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)
(defun main (&rest args)
(declare (ignore args))
(within-main-loop
(let ((window (gtk-window-new :toplevel))
(view (webkit.fo... | (defpackage lispkit
(:use :gtk :gdk :gdk-pixbuf :gobject
:drakma :cl-webkit
:glib :gio :pango :cairo :common-lisp)
(:export #:main))
(in-package :lispkit)
(defun main (&rest args)
(declare (ignore args))
(within-main-loop
(let ((window (gtk-window-new :toplevel))
(view (webkit.fo... | Destroy the webview on frame exit | Destroy the webview on frame exit
| Common Lisp | bsd-2-clause | AeroNotix/lispkit,AeroNotix/lispkit |
3b88e1c9841aa1e93b7bdcdbe19bd15781d177ee | Code/Compiler/Extrinsic-environment/import-from-host-common-lisp.lisp | Code/Compiler/Extrinsic-environment/import-from-host-common-lisp.lisp | (cl:in-package #:sicl-extrinsic-environment)
(defun import-special-operators (environment)
(loop for symbol being each external-symbol in '#:common-lisp
when (special-operator-p symbol)
do (setf (sicl-env:special-operator symbol environment) t)))
;;; Enter every Common Lisp class into the environment.
(defun im... | (cl:in-package #:sicl-extrinsic-environment)
;;; Enter every Common Lisp class into the environment.
(defun import-classes (environment)
(loop for symbol being each external-symbol in '#:common-lisp
for class = (find-class symbol nil)
unless (null class)
do (setf (sicl-env:find-class symbol environment)
cl... | Remove function IMPORT-SPECIAL-OPERATORS. No longer needed. | Remove function IMPORT-SPECIAL-OPERATORS. No longer needed.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL |
2f5ce5419823797773eac0bae0ec56888bac41f8 | glkit-examples.asd | glkit-examples.asd | (defpackage :glkit.asdf
(:use #:cl #:asdf))
(in-package :glkit.asdf)
(defsystem :glkit-examples
:description "Various utilities for OpenGL"
:author ("rpav")
:license "MIT"
:version "0.0"
:depends-on (:sdl2kit-examples :glkit)
:pathname "examples"
:serial t
:components
((:file "vaos")
(:file "... | (defpackage :glkit.asdf
(:use #:cl #:asdf))
(in-package :glkit.asdf)
(defsystem :glkit-examples
:description "Various utilities for OpenGL"
:author ("rpav")
:license "MIT"
:version "0.0"
:depends-on (:sdl2kit-examples :glkit)
:pathname "examples"
:serial t
:components
((:file "vaos")
(:file "... | Add vao-shader-150 to the asd | Add vao-shader-150 to the asd
| Common Lisp | mit | lispgames/glkit |
088d9b938654225cad0caa6cee6af5fc019a7582 | import-export.lisp | import-export.lisp | (in-package :rucksack)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Import/export
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; The contents of a rucksack can be exported to a single file. The file will
;; contain enough information to recon... | (in-package :rucksack)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Import/export
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; The contents of a rucksack can be exported to a single file. The file will
;; contain enough information to recon... | Change DEFGENERIC IMPORT-RUCKSACK to DEFUN IMPORT-RUCKSACK to fix a compiler warning reported by Brad Beveridge. | Change DEFGENERIC IMPORT-RUCKSACK to DEFUN IMPORT-RUCKSACK
to fix a compiler warning reported by Brad Beveridge.
| Common Lisp | mit | quek/rucksack |
fcc2384c8994bb58c9f0efd35f8a904bd897c421 | cl-cat.asd | cl-cat.asd | ;;;; The MIT License (MIT)
;;;; Copyright (c) 2015 Huang Xuxing
;;;; Permission is hereby granted, free of charge, to any person obtaining
;;;; a copy of this software and associated documentation files
;;;; (the "Software"), to deal in the Software without restriction,
;;;; including without limitation the rights to... | ;;;; The MIT License (MIT)
;;;; Copyright (c) 2015 Huang Xuxing
;;;; Permission is hereby granted, free of charge, to any person obtaining
;;;; a copy of this software and associated documentation files
;;;; (the "Software"), to deal in the Software without restriction,
;;;; including without limitation the rights to... | Add short description in ASDF file | Add short description in ASDF file
| Common Lisp | mit | AugustusHuang/cl-cat |
d8a5076cd7aad553e3ae6a64f1f205f50bb809dc | Code/Cleavir/Abstract-syntax-tree/scope-related-asts.lisp | Code/Cleavir/Abstract-syntax-tree/scope-related-asts.lisp | (cl:in-package #:cleavir-ast)
(defclass scope-ast (ast)
((%child-ast :initarg :child-ast :reader child-ast)
(%variable-ast :initarg :variable-ast :reader variable-ast)))
| (cl:in-package #:cleavir-ast)
(defclass scope-ast (ast)
((%child-ast :initarg :child-ast :reader child-ast)
(%variable-ast :initarg :variable-ast :reader variable-ast)))
(cleavir-io:define-save-info scope-ast
(:child-ast child-ast)
(:variable-ast variagble-ast))
| Define save info for new AST class. | Define save info for new AST class.
| 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 |
0108c9cfdbb0042d5a7404ac9f59177531ac9bdb | Code/Cleavir/Generate-AST/Test/cleavir-generate-ast-test.asd | Code/Cleavir/Generate-AST/Test/cleavir-generate-ast-test.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :cleavir-generate-ast-test
:depends-on (:cleavir-generate-ast
:cleavir-ast-transformations
:cleavir-ast-interpreter)
:serial t
:components
((:file "packages")
(:file "environment")
(:file "minimal-compilation")
(:file "generate-ast")))... | (cl:in-package #:asdf-user)
(defsystem :cleavir-generate-ast-test
:depends-on (:cleavir-generate-ast
:cleavir-ast-transformations
:cleavir-ast-interpreter)
:serial t
:components
((:file "packages")
(:file "environment")
(:file "minimal-compilation")
(:file "generate-ast")))
| Use package ASDF-USER for system definition. | Use package ASDF-USER for system definition.
| 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 |
db8d7977b99830c1bb168c48f2e16c710291e470 | 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 RETURN-INSTRUCTION. | Add method specialized to RETURN-INSTRUCTION.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
60e3df8519843e0b21806b7b585eb99424bea5ca | environment/stage4/hcache.lisp | environment/stage4/hcache.lisp | ;;;;; tré – Copyright (c) 2010,2012 Sven Michael Klose <pixel@copei.de>
(defun %hcache-remove (plc vals)
(& plc vals
(| (not .vals)
(%hcache-remove plc .vals))
(| (hremove plc vals.)
t)))
(defun hcache-remove (plc &rest vals)
(%hcache-remove plc vals))
(defun %hcache (plc vals)
(& plc vals
(| (... | ;;;;; tré – Copyright (c) 2010,2012–2013 Sven Michael Klose <pixel@copei.de>
(defun hcache-remove (plc &rest vals)
(& plc vals
(| (not .vals)
(apply #'hcache-remove plc .vals))
(| (hremove plc vals.)
t)))
(defun hcache (plc &rest vals)
(& plc vals
(| (& (not .vals)
(href plc vals.))
(appl... | Return NIL if place is NIL. | Return NIL if place is NIL.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
bd75d5395cfe07929ff0a498848923c9336b14c2 | ttnr.asd | ttnr.asd | (asdf:defsystem #:ttnr
:depends-on (#:alexandria #:trees #:bmgraph #:bmgraph-bestpath #:minimal-graph)
:components ((:file "ttnr")
(:file "utils")
(:file "series-parallel-optimizations")))
| (asdf:defsystem #:ttnr
:depends-on (#:alexandria #:bmgraph #:bmgraph-bestpath #:minimal-graph)
:components ((:file "ttnr")
(:file "utils")
(:file "series-parallel-optimizations")))
| Remove stale Trees system dependency | Remove stale Trees system dependency
| Common Lisp | mit | guaq/cl-ttnr |
76fb8637db3a5e89b53be06b0a484b7f18e347e7 | environment/stage4/unique.lisp | environment/stage4/unique.lisp | ;;;;; TRE environment
;;;;; Copyright (c) 2009 Sven Klose <pixel@copei.de>
(defun unique-0 (head tail)
(when head
(if (= head tail.)
(unique-0 head .tail)
(cons head
(unique-0 tail. .tail)))))
(defun unique (x &key (test #'<=))
(let sorted (sort x :test test)
(unique-0 sorted. .sorted)))
| ;;;;; TRE environment
;;;;; Copyright (c) 2010 Sven Klose <pixel@copei.de>
(defun unique (x &key (test #'eql))
(when x
(if (member x. .x :test test)
(unique .x :test test)
(cons x.
(unique .x :test test)))))
| Use a more general algorithm. | UNIQUE: Use a more general algorithm.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
37da61fda746a1bb1c78cd9300a31365e011eda1 | Code/CLOS/defgeneric-defmacro.lisp | Code/CLOS/defgeneric-defmacro.lisp | (cl:in-package #:sicl-clos)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; DEFGENERIC.
;;; FIXME: Add options and methods
(defmacro defgeneric (&environment env name lambda-list)
(let* ((arg-type (cleavir-code-utilities:lambda-list-type-specifier lambda-list))
(function-type `(func... | (cl:in-package #:sicl-clos)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; DEFGENERIC.
;;; FIXME: Add options and methods
(defmacro defgeneric (&environment env name lambda-list)
(let* ((arg-type (cleavir-code-utilities:lambda-list-type-specifier lambda-list))
(function-type `(func... | Use function for accessing global environment. | Use function for accessing global environment.
| 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 |
2689415ee2f52bbec9f9a0b88ca5c548a73a7aac | ichr.asd | ichr.asd | (asdf:defsystem :ichr
:name "iCHR"
:description "NES character bitmap converter"
:author "Andy Hefner <ahefner@gmail.com>"
:license "MIT-style license"
:depends-on (:asm6502 :skippy)
:serial t
:components ((:file "ichr")))
| (asdf:defsystem :ichr
:name "iCHR"
:description "NES character bitmap converter"
:author "Andy Hefner <ahefner@gmail.com>"
:license "MIT-style license"
:version "1.0.0"
:depends-on (:asm6502 :skippy)
:serial t
:components ((:file "ichr")))
| Add version to ASD file | Add version to ASD file
| Common Lisp | mit | ahefner/asm6502,ahefner/asm6502 |
1c2f86ae0b2f31332e3a5739c3f86522ec2cfcc4 | gigamonkey-distcompiler.asd | gigamonkey-distcompiler.asd | ;;
;; Copyright (c) 2010, Peter Seibel. All rights reserved.
;;
(defsystem gigamonkey-distcompiler
:components
((:file "packages")
(:file "tarhash" :depends-on ("packages"))
(:file "distcompiler" :depends-on ("packages" "tarhash")))
:depends-on (:ironclad
:com.gigamonkeys.pathnames
... | ;;
;; Copyright (c) 2010, Peter Seibel. All rights reserved.
;;
(defsystem gigamonkey-distcompiler
:components
:description "Tool for generating Quicklisp dists."
((:file "packages")
(:file "tarhash" :depends-on ("packages"))
(:file "distcompiler" :depends-on ("packages" "tarhash")))
:depends-on (:ironcl... | Add description to .asd file. | Add description to .asd file.
| Common Lisp | bsd-3-clause | gigamonkey/quicklisp-distcompiler |
f326d3660b32c3e434d65da9f05a9e3dcc3110b6 | 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, obtain 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."))
| (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 docstring for function RIGHT. | Add docstring for function RIGHT.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
1812067b33e67216042e0f0dd0978d36fbd50b53 | trivial-documentation.asd | trivial-documentation.asd | ;;;; System definition for TRIVIAL-DOCUMENTATION.
(defsystem trivial-documentation
:description
"Extract documentation and definitions for symbols and packages."
:author "Max Rottenkolber <max@mr.gy>"
:license "GNU AGPL"
:components ((:file "extract"))
:depends-on ("closer-mop"))
| ;;;; System definition for TRIVIAL-DOCUMENTATION.
(defsystem trivial-documentation
:description
"Extract documentation and definitions for symbols and packages."
:author "Max Rottenkolber <max@mr.gy>"
:license "GNU AGPL"
:components ((:file "extract"))
:depends-on ("closer-mop" #+sbcl"sb-introspect"))
| Add sb-introspect dependency on SBCL. | Add sb-introspect dependency on SBCL.
| Common Lisp | agpl-3.0 | eugeneia/trivial-documentation |
3cd5677faef672acfcc3bd4caf9c6b38c5eca354 | sbcl.lisp | sbcl.lisp | ;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
(in-package :swap-bytes)
#+x86
(defun swap-bytes-16 (integer)
(declare (type (unsigned-byte 16) integer))
(swap-bytes-16 integer))
(defun swap-bytes-32 (integer)
(declare (type (unsigned-byte 32) integer))
(swap-bytes-32 integer))
#+x86-64
(defun swap-bytes-64 (... | ;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
(in-package :swap-bytes)
#+x86
(defun swap-bytes-16 (integer)
(declare (type (unsigned-byte 16) integer))
(swap-bytes-16 integer))
#+(or x86 x86-64)
(defun swap-bytes-32 (integer)
(declare (type (unsigned-byte 32) integer))
(swap-bytes-32 integer))
#+x86-64
(def... | Add reader conditional for clarity | Add reader conditional for clarity
| Common Lisp | mit | sionescu/swap-bytes |
33c35be2ff4e80e21e2b712eec1fe43746e2d01d | 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)
... | Remove definition of class STANDARD-CLASS in compilation environment. | Remove definition of class STANDARD-CLASS in compilation environment.
| 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 |
eb5a0957e2d8c2c5d3331ccef273feeeba036ec5 | split-sequence.asd | split-sequence.asd | ;;; -*- Lisp -*- mode
(defpackage #:split-sequence-system (:use #:cl #:asdf))
(in-package :split-sequence-system)
(defsystem :split-sequence
:version "20011114.1"
:components ((:file "split-sequence"))
:in-order-to ((asdf:test-op (asdf:load-op :split-sequence-tests)))
:perform (asdf:test-op :after (op c)
... | ;;; -*- Lisp -*-
(defsystem :split-sequence
:version "20011114.1"
: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 '#:run!) '#:5am) :split-sequence)))
(defsystem :split-se... | Remove useless DEFPACKAGE from the .asd file | Remove useless DEFPACKAGE from the .asd file
| Common Lisp | mit | sharplispers/split-sequence |
fbe2b3c2c50c2e2e7078414a5a8d46289b3763df | Code/Boot/create-bridge-classes.lisp | Code/Boot/create-bridge-classes.lisp | (cl:in-package #:sicl-boot)
(defun create-bridge-classes (boot)
(let ((c (c1 boot))
(r (r2 boot)))
(ld "../CLOS/t-defclass.lisp" c r)
(ld "../CLOS/standard-object-defclass.lisp" c r)
(ld "../CLOS/metaobject-defclass.lisp" c r)
(ld "../CLOS/specializer-defclass.lisp" c r)
(ld "../CLOS/class-defcl... | (cl:in-package #:sicl-boot)
(defun create-bridge-classes (boot)
(let ((c (c1 boot))
(r (r2 boot)))
(ld "../CLOS/t-defclass.lisp" c r)
(ld "../CLOS/standard-object-defclass.lisp" c r)
(ld "../CLOS/metaobject-defclass.lisp" c r)
(ld "../CLOS/method-combination-defclass.lisp" c r)
(ld "../CLOS/spec... | Load a file containing the definition of METHOD-COMBINATION. | Load a file containing the definition of METHOD-COMBINATION.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL |
c281f2a13cf8bf1cb011018a5b25c230aa36c2a0 | t/init/postgres.lisp | t/init/postgres.lisp | (in-package :cl-user)
(defpackage integral-test.init.postgres
(:use :cl
:integral)
(:export :connect-to-testdb))
(in-package :integral-test.init.postgres)
(defun connect-to-testdb ()
(disconnect-toplevel)
(connect-toplevel :postgres
:database-name "integral_test"
... | (in-package :cl-user)
(defpackage integral-test.init.postgres
(:use :cl
:integral)
(:export :connect-to-testdb))
(in-package :integral-test.init.postgres)
(defun connect-to-testdb ()
(disconnect-toplevel)
(connect-toplevel :postgres
:database-name "integral_test"
... | Fix the user name of PostgreSQL. | Fix the user name of PostgreSQL.
| Common Lisp | bsd-3-clause | fukamachi/integral,Rudolph-Miller/integral |
5933add9c9e80bc138e1840a7437b195a9b7c05a | Code/Environment/setf.lisp | Code/Environment/setf.lisp | (in-package #:sicl-global-environment)
(defmacro setf (&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)
(declare ... | (in-package #:sicl-global-environment)
(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)
... | Use new condition to report syntax error in SETF. | Use new condition to report syntax error in SETF.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL |
b5949c7c8a72d833fec5684687ee7836c8cee243 | Code/Tags/tags.lisp | Code/Tags/tags.lisp | (in-package :sicl.tags)
;;; Number of bytes in a machine word.
(cl:defparameter +machine-word-length+ 64)
;;; The basic type that raw memory contains.
(cl:deftype machine-word ()
`(cl:unsigned-byte ,+machine-word-length+))
;;; Number of bits used for first-order tag
(cl:defparameter +number-of-low-tag-bits+ 3)
;... | (cl:in-package #:sicl.tags)
;;; Number of bytes in a machine word.
(cl:defparameter +machine-word-length+ 64)
;;; The basic type that raw memory contains.
(cl:deftype machine-word ()
`(cl:unsigned-byte ,+machine-word-length+))
;;; Number of bits used for first-order tag
(cl:defparameter +number-of-low-tag-bits+ 3... | Use explicit package marker for IN-PACKAGE. | Use explicit package marker for IN-PACKAGE.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
1dda9c2245b4b3573de75baef5d8ff90f7b77243 | Code/Reader/Source-tracking/read.lisp | Code/Reader/Source-tracking/read.lisp | (cl:in-package #:sicl-reader)
(defparameter *syntax-trees* '())
(defun read (&optional
(input-stream *standard-input*)
(eof-error-p t)
(eof-value nil)
(recursive-p nil))
(let ((*preserve-whitespace* recursive-p)
(*syntax-trees* (cons (list nil) *syntax-trees*)))
(let ((result (r... | (cl:in-package #:sicl-reader)
(defparameter *syntax-trees* '())
(defun read (&optional
(input-stream *standard-input*)
(eof-error-p t)
(eof-value nil)
(recursive-p nil))
(let ((*preserve-whitespace* recursive-p)
(*syntax-trees* (cons (list nil) *syntax-trees*)))
(let ((result (r... | Rename stream argument and give it a reasonable default value. | Rename stream argument and give it a reasonable default value.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
5d4d603016f5dcd2a2152472afd94003e6d4e5e9 | 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 errors. | Return NIL for all errors.
| Common Lisp | mit | torhenrik/cl-brreg |
a3c7c8f9f9c4d8c5488dc261a672366b2610f96e | Code/Cleavir/SSA-form/cleavir-ssa-form.asd | Code/Cleavir/SSA-form/cleavir-ssa-form.asd | (cl:in-package #:asdf-user)
(defsystem :cleavir-ssa-form
:depends-on (:cleavir-utilities
:cleavir-dominance)
:components
((:file "packages")
(:file "ssa-form" :depends-on ("packages"))))
| (cl:in-package #:asdf-user)
(defsystem :cleavir-ssa-form
:depends-on (:cleavir-utilities
:cleavir-dominance)
:serial t
:components
((:file "packages")
(:file "ssa-form")))
| Simplify system by using option :SERIAL T. | Simplify system by using option :SERIAL T.
| 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 |
4ce5eed4f10ef7b7ceb3de652464acdce308281d | Code/Reader/Source-tracking/read.lisp | Code/Reader/Source-tracking/read.lisp | (cl:in-package #:sicl-reader)
(defparameter *syntax-trees* '())
(defun read (&optional
(input-stream *standard-input*)
(eof-error-p t)
(eof-value nil)
(recursive-p nil))
(let ((*preserve-whitespace* recursive-p)
(*syntax-trees* (cons (list nil) *syntax-trees*)))
(let ((result (r... | (cl:in-package #:sicl-source-tracking-reader)
(defparameter *syntax-trees* '())
(defun sicl-reader:read
(&optional
(input-stream *standard-input*)
(eof-error-p t)
(eof-value nil)
(recursive-p nil))
(let ((sicl-reader::*preserve-whitespace* recursive-p)
(*syntax-trees* (cons (list ni... | Use specific package and adjust references accordingly. | Use specific package and adjust references accordingly.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
f69143ed9f3fa3e256d15feffc936cab28de797d | Problem004/CommonLisp/solution_1.lisp | Problem004/CommonLisp/solution_1.lisp | ;; Common Lisp Script
;; Manoel Vilela
(defun reverse-digits (n)
(labels ((next (n v)
(if (zerop n)
v
(multiple-value-bind (q r)
(truncate n 10)
(next q (+ (* v 10) r))))))
(next n 0)))
(defun palindromep (n)
(= n (reverse-... | ;; Common Lisp Script
;; Manoel Vilela
(defun reverse-digits (n)
(labels ((next (n v)
(if (zerop n)
v
(multiple-value-bind (q r)
(truncate n 10)
(next q (+ (* v 10) r))))))
(next n 0)))
(defun palindromep (n)
(= n (reverse-... | Fix a problem with CLISP compilation | Problem004: Fix a problem with CLISP compilation
Sometimes the nested loop may return nil and, at least CLISP, maximize
keyword expansion need be a REAL number.
This doesn't occurs in SBCL. By the way, SBCL execution is much much faster.
CLISP: 10.153 s
SBCL: 0.230 s
Maybe I need change the compiler on ./stats.py l... | 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... |
6b5a63996b417853379defb68e94f7f7b97bb959 | Code/Compiler/Extrinsic-environment/import-from-sicl-global-environment.lisp | Code/Compiler/Extrinsic-environment/import-from-sicl-global-environment.lisp | (cl:in-package #:sicl-extrinsic-environment)
;;; Add every global environment function into the environment.
(defun import-from-sicl-global-environment (environment)
(loop for symbol being each external-symbol in '#:sicl-global-environment
when (fboundp symbol)
do (setf (sicl-env:fdefinition symbol environment)
... | (cl:in-package #:sicl-extrinsic-environment)
;;; Add every global environment function into the environment.
(defun import-from-sicl-global-environment (environment)
(loop for symbol being each external-symbol in '#:sicl-global-environment
when (fboundp symbol)
do (setf (sicl-env:fdefinition symbol environment)
... | Define variable *GLOBAL-ENVIRONMENT* in the exitrinsic environment. | Define variable *GLOBAL-ENVIRONMENT* in the exitrinsic environment.
| 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 |
5b1ccbac8d5d43ed2f853313d038dc1661892b02 | 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 2-NODE. | Define method on REPLACE specialized to 2-NODE.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
8aec28aa76275ed9914fad8a2d53eea990978cbc | local-function.asd | local-function.asd | (in-package :cl-user)
(defpackage #:local-function-asd
(:use :cl :asdf) )
(in-package #:local-function-asd)
(defsystem local-function
:name "local-function"
:version "0.2.0"
:maintainer "SUZUKI Shingo"
:author "SUZUKI Shingo"
:licence "MIT"
:description "local-function: a variant of named-let with no-r... | (in-package :cl-user)
(defpackage #:local-function-asd
(:use :cl :asdf) )
(in-package #:local-function-asd)
(defsystem local-function
:name "local-function"
:version "0.2.0"
:maintainer "SUZUKI Shingo"
:author "SUZUKI Shingo"
:licence "MIT"
:description "local-function: a variant of named-let with no-r... | Fix ambiguous parameter name and its typo | Fix ambiguous parameter name and its typo
| Common Lisp | mit | ichimal/local-function |
7371b9c5ca46af989ebaad1a4566c089e577a87e | 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 SPECIALIZER. | Load a file containing the definition of the class SPECIALIZER.
| 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 |
3f5108e96b4441e0871226d6d5c54828af866b83 | 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... | Increment column count in default case. | Increment column count in default case.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
0115b35ef670bbff1076c06e138a37f1b3bffc03 | environment/stage3/with-struct.lisp | environment/stage3/with-struct.lisp | ; tré – Copyright (C) 2006,2008,2012,2014–2015 Sven Michael Klose <pixel@hugbox.org>
(defmacro with-struct (typ strct &body body)
(alet (assoc-value typ *struct-defs*)
`(let* ((,typ ,strct)
,@(@ [let n (%struct-field-name _)
`(,n (,(%struct-accessor-name typ n) ,strct))]
... | ; tré – Copyright (C) 2006,2008,2012,2014–2015 Sven Michael Klose <pixel@hugbox.org>
(defmacro with-struct (typ strct &body body)
(alet (assoc-value typ *struct-defs*)
`(#'((,typ ,@(@ #'%struct-field-name !))
,@(@ [%struct-field-name _] !)
,@body)
,strct ,@(@ [`(,(%struct-accessor-na... | Make only a single function for all slots. | Make only a single function for all slots.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
472df9032fe3d3c3622698b9321a4b635700489e | hexstream-project-template.asd | hexstream-project-template.asd | (asdf:defsystem #:hexstream-project-template
:author "Jean-Philippe Paradis <hexstream@gmail.com>"
;; See the UNLICENSE file for details.
:license "Public Domain"
:description "I unsophistically copy/paste and rename/modify these files to start a new project, currently."
:depends-on ()
:version "0.1"... | (asdf:defsystem #:hexstream-project-template
:author "Jean-Philippe Paradis <hexstream@gmail.com>"
;; See the UNLICENSE file for details.
:license "Public Domain"
:description "I unsophistically copy/paste and rename/modify these files to start a new project, currently."
:depends-on ()
:version "0.1"
... | Remove 2 extraneous spaces in ASD file. | Remove 2 extraneous spaces in ASD file.
| Common Lisp | unlicense | Hexstream/hexstream-project-template |
e65eb281a1ba2809191058cec5cfdca87e5c1f58 | 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... | Use unexported names for slot writers. | Use unexported names for slot writers.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
3f27900d21d122c02c910ff78605087630b65ebd | 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 macro DEFCLASS. | Load a file containing the definition of the macro DEFCLASS.
| 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 |
098469f3f29a9982324a847a3754206eb88ab293 | cl-autowrap.asd | cl-autowrap.asd | (defpackage :cl-autowrap.asdf
(:use #:cl #:asdf))
(in-package :cl-autowrap.asdf)
(defsystem :cl-autowrap
:description "Import c2ffi specs and generate CFFI wrappers"
:author "Ryan Pavlik"
:license "BSD-2-Clause"
:version "1.0"
:depends-on (:alexandria :cffi :cl-json :cl-ppcre
:external-pro... | (defpackage :cl-autowrap.asdf
(:use #:cl #:asdf))
(in-package :cl-autowrap.asdf)
(defsystem :cl-autowrap
:description "Import c2ffi specs and generate CFFI wrappers"
:author "Ryan Pavlik"
:license "BSD-2-Clause"
:version "1.0"
:depends-on (:alexandria :cffi :cl-json :cl-ppcre
:external-pro... | Change load order so WRAPPER is available to SFFI | Change load order so WRAPPER is available to SFFI
| Common Lisp | bsd-2-clause | rpav/cl-autowrap,rpav/cl-autowrap,rpav/cl-autowrap |
d24e414afc6d87adfb6cdb318a77954844dadfb7 | src/iolib.syscalls.asd | src/iolib.syscalls.asd | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
(in-package :common-lisp-user)
(eval-when (:compile-toplevel :load-toplevel :execute)
(asdf:oos 'asdf:load-op :cffi-grovel))
(asdf:defsystem :iolib.syscalls
:description "Syscalls and foreign types."
:maintainer "Stelian Ionescu <sionescu... | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
(in-package :common-lisp-user)
(eval-when (:compile-toplevel :load-toplevel :execute)
(asdf:oos 'asdf:load-op :cffi-grovel))
(asdf:defsystem :iolib.syscalls
:description "Syscalls and foreign types."
:maintainer "Stelian Ionescu <sionescu... | Change soname of syscall wrapper library. | Change soname of syscall wrapper library.
| Common Lisp | mit | attila-lendvai/iolib,deadtrickster/iolib,sionescu/iolib,shamazmazum/iolib,lispnik/iolib,sionescu/iolib,vsedach/iolib-simple-mux,lispnik/iolib,sionescu/iolib,dkochmanski/iolib,tiago4orion/iolib,lispnik/iolib,tiago4orion/iolib,tiago4orion/iolib,deadtrickster/iolib,deadtrickster/iolib,attila-lendvai/iolib,dkochmanski/ioli... |
24e12a56b546a6abc1fc71559e2cf29711351292 | 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 | SteelSeries/golisp,SteelSeries/golisp,SteelSeries/golisp |
eae93763072210f87a8decf428b8bda879f2dce8 | libraries/ospama/tests/test-generic.lisp | libraries/ospama/tests/test-generic.lisp | (in-package :cl-user)
(prove:plan nil)
(defvar *test-package-name* "hello")
(defvar *test-complex-package-name* "nyxt")
(prove:subtest "Package list"
(prove:ok (< 0 (length (ospama:list-packages))))
(prove:ok (typep (first (ospama:list-packages)) 'ospama:os-package)))
(prove:subtest "Find package"
(prove:is (... | (in-package :cl-user)
(prove:plan nil)
(defvar *test-package-name* "hello")
(defvar *test-complex-package-name* "nyxt")
(defvar *multi-version-package-name* "linux-libre")
(prove:subtest "Package list"
(prove:ok (< 0 (length (ospama:list-packages))))
(prove:ok (typep (first (ospama:list-packages)) 'ospama:os-pac... | Test finding multiple package versions. | libraries/ospama: Test finding multiple package versions.
| Common Lisp | bsd-3-clause | jmercouris/NeXT,jmercouris/NeXT |
eff3d757bd56c6879dc2d082274ed3c87a7d9ebe | local-time.asd | local-time.asd | (defpackage #:local-time.system
(:use :common-lisp :asdf))
(in-package #:local-time.system)
(defsystem :local-time
:name "local-time"
:version "0.9.1"
:author "Daniel Lowe <dlowe@sanctuary.org>"
:description "A library for manipulating dates and times, based on a paper by Erik Naggum"
:components ((:file ... | (defpackage #:local-time.system
(:use :common-lisp :asdf))
(in-package #:local-time.system)
(defsystem :local-time
:name "local-time"
:version "0.9.1"
:author "Daniel Lowe <dlowe@sanctuary.org>"
:description "A library for manipulating dates and times, based on a paper by Erik Naggum"
:components ((:file ... | Comment out the in-package form by default | Comment out the in-package form by default
| Common Lisp | mit | deadtrickster/local-time,orivej/local-time,webcheckout/local-time |
e5932d133307a661eeb2ad277c639f3938d541a7 | packages.lisp | packages.lisp | ;;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: BIT-SMASHER; Base: 10 -*-
;;;; packages.lisp
;;;; Copyright (c) 2014 "the Phoeron" Colin J.E. Lupton <//thephoeron.com>
;;;; See LICENSE for additional information.
(in-package :cl-user)
(defpackage #:bit-smasher
(:nicknames #:bitsmash)
(:use :cl :cl-user :ironc... | ;;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: BIT-SMASHER; Base: 10 -*-
;;;; packages.lisp
;;;; Copyright (c) 2014 "the Phoeron" Colin J.E. Lupton <//thephoeron.com>
;;;; See LICENSE for additional information.
(in-package :cl-user)
(defpackage #:bit-smasher
(:nicknames #:bitsmash)
(:use :cl :cl-user :ironc... | Add type-checking, type-casting functions to package exports | Add type-checking, type-casting functions to package exports
| Common Lisp | mit | thephoeron/bit-smasher |
79010ca87aacf5a342fbcca8a9f096145dd9c620 | 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 phase3 (boot)
(let ((c (c1 boot))
(r (r2 boot)))
(define-effective-slot-definition-class boot)
(ld "../CLOS/class-finalization-support.lisp" c r)
(export-to-host '... | (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
... | Define a function for defining ALLOCATE-GENERAL-INSTANCE. | Define a function for defining ALLOCATE-GENERAL-INSTANCE.
| 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 |
041bab29d537f2d7d478a9f07e9051e3689db182 | Code/Boot/phase3.lisp | Code/Boot/phase3.lisp | (cl:in-package #:sicl-boot)
(defun phase3 (boot)
(let ((c (c1 boot))
(r (r2 boot)))
(define-effective-slot-definition-class boot)))
| (cl:in-package #:sicl-boot)
(defun phase3 (boot)
(let ((c (c1 boot))
(r (r2 boot)))
(define-effective-slot-definition-class boot)
(ld "../CLOS/class-finalization-support.lisp" c r)))
| Load file containing support code for class finalization. | Load file containing support code for class finalization.
| 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 |
27005382069f5d86aeeda1dee977170177c64b4c | Extensions/fonts/mcclim-fonts.asd | Extensions/fonts/mcclim-fonts.asd | #| dummy system to make Quicklisp happy |#
(defsystem #:mcclim-fonts)
(defsystem #:mcclim-fonts/truetype
:depends-on (#:clim-basic #:zpb-ttf #:cl-vectors #:cl-paths-ttf #:cl-aa #:alexandria)
:components ((:static-file "README.md")
(:file "truetype-package")
(:file "fontconfig"... | #| dummy system to make Quicklisp happy |#
(defsystem #:mcclim-fonts)
(defsystem #:mcclim-fonts/truetype
:depends-on (#:clim-basic #:zpb-ttf #:cl-vectors #:cl-paths-ttf #:cl-aa #:alexandria)
:components ((:static-file "README.md")
(:file "truetype-package")
(:file "fontconfig"... | Remove log4cl from the dependencies for the freetype system | Remove log4cl from the dependencies for the freetype system
| Common Lisp | lgpl-2.1 | slyrus/mcclim,slyrus/mcclim |
375fedbe2f6a77b4d5d5a29cd390411f648857c3 | Code/CLOS/built-in-class-finalization.lisp | Code/CLOS/built-in-class-finalization.lisp | (in-package #:sicl-clos)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Computing the effective slots of a built-in class.
(defun compute-built-in-slots (class)
(let* ((superclasses (class-precedence-list class))
(direct-slots (mapcar #'direct-slots superclasses))
(concatenated (... | (in-package #:sicl-clos)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Computing the effective slots of a built-in class.
(defun compute-built-in-slots (class)
(let* ((superclasses (class-precedence-list class))
(direct-slots (mapcar #'direct-slots superclasses))
(concatenated (... | Update calls to renamed function. | Update calls to renamed function.
| 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 |
249d052982d551d21734bc7df7ce69fabae0af7f | purl.asd | purl.asd | ;;;; System definition for PURL.
(defpackage purl-asd
(:documentation
"System definition for PURL.")
(:use :cl :asdf))
(in-package :purl-asd)
(defsystem purl
:description "Parse and print URLs as described in RFC 1738."
:author "Max Rottenkolber <max@mr.gy>"
:license "GNU AGPL"
:version "1.1"
:compo... | ;;;; System definition for PURL.
(defpackage purl-asd
(:documentation
"System definition for PURL.")
(:use :cl :asdf))
(in-package :purl-asd)
(defsystem purl
:description "Parse and print URLs as described in RFC 1738."
:author "Max Rottenkolber <max@mr.gy>"
:license "GNU AGPL"
:version "1.1"
:compo... | Replace dependency mpc with maxpc. | Replace dependency mpc with maxpc.
| Common Lisp | agpl-3.0 | eugeneia/purl |
c76cad30d1f739d7cb53d3b98b108da39dad1056 | Code/Boot/print-object-defmethods-phase2.lisp | Code/Boot/print-object-defmethods-phase2.lisp | (cl:in-package #:sicl-boot)
(defmethod print-object ((class standard-class) stream)
(format stream
"#<Ersatz standard class ~s>"
(sicl-clos:class-name class)))
(defmethod print-object ((class sicl-clos:built-in-class) stream)
(format stream
"#<Ersatz built-in class ~s>"
(sicl-clos:class-name class)))
... | (cl:in-package #:sicl-boot)
(defmethod print-object ((class standard-class) stream)
(format stream
"#<Bridge standard class ~s>"
(sicl-clos:class-name class)))
(defmethod print-object ((class sicl-clos:built-in-class) stream)
(format stream
"#<Bridge built-in class ~s>"
(sicl-clos:class-name class)))
... | Fix incorrect terminology in PRINT-OBJECT methods. | Fix incorrect terminology in PRINT-OBJECT methods.
| 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 |
4a95c8b7b5c2967e56920770e75e36dd7a66ab66 | jumps.lisp | jumps.lisp | (in-package :lispkit)
(defparameter *jumps* (make-hash-table :test #'equal))
(defun defjump (place prefix url)
(setf (gethash prefix place) url))
(defjump *jumps* "g" "http://google.com/search?=~a")
(defun lookup-jump (s table)
(gethash s table))
(defun extract-jump-str (s)
(split-sequence " " s :test #'str... | (in-package :lispkit)
(defparameter *jumps* (make-hash-table :test #'equal))
(defun defjump (place prefix url)
(setf (gethash prefix place) url))
(defjump *jumps* "g" "http://google.com/search?q=~a")
(defun lookup-jump (s table)
(gethash s table))
(defun extract-jump-str (s)
(split-sequence " " s :test #'st... | Set the Google jump URL to the proper thing | Set the Google jump URL to the proper thing
| Common Lisp | bsd-2-clause | AeroNotix/lispkit,AeroNotix/lispkit |
8fd0c25ff34eafea4b10c68dfc8a389fdc674660 | Code/Cons-high/sicl-cons-high.asd | Code/Cons-high/sicl-cons-high.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 | vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
00064e979304269c7b569507da25708efae94b62 | base/pkgdcl.lisp | base/pkgdcl.lisp | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
;;;
;;; --- Package definition.
;;;
(in-package :common-lisp-user)
(defpackage :iolib.base
(:use #:common-lisp :alexandria)
(:shadow #:defun #:defmethod
#:defmacro #:define-compiler-macro)
(:export #:return* #:defun #:defmethod
... | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
;;;
;;; --- Package definition.
;;;
(in-package :common-lisp-user)
(defpackage :iolib.base
(:use #:common-lisp :alexandria)
(:shadow #:defun #:defmethod
#:defmacro #:define-compiler-macro)
(:export #:return* #:defun #:defmethod
... | Fix symbol exporting from IOLIB.BASE | Fix symbol exporting from IOLIB.BASE
Signed-off-by: Stelian Ionescu <c3ad3339b5ffc3418808e627431a7cb60f2334f3@common-lisp.net>
| Common Lisp | mit | lispnik/iolib,deadtrickster/iolib,dkochmanski/iolib,tiago4orion/iolib,dkochmanski/iolib,vsedach/iolib-simple-mux,tiago4orion/iolib,tiago4orion/iolib,deadtrickster/iolib,sionescu/iolib,attila-lendvai/iolib,shamazmazum/iolib,attila-lendvai/iolib,sionescu/iolib,attila-lendvai/iolib,dkochmanski/iolib,lispnik/iolib,deadtric... |
e5bee2562c3d6f54e99c583b6f4f1815e05195b8 | all.lisp | all.lisp | (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... | (sys.int::cal "home/med/package.lisp")
(in-package :med)
(defmacro awhen (cond &body body)
`(let ((it ,cond))
(when it
,@body)))
(defun cal (file)
(handler-bind
;; automatically choose 'smash existing class' when loading
((t (lambda (c)
(declare (ignore c))
(awhen (f... | Stop stack overflow when loaded from sys.int. | Stop stack overflow when loaded from sys.int.
| Common Lisp | mit | burtonsamograd/med |
b896fbf47e4f0637f2174691a0491ceb7d27ea4e | Code/Boot/Phase2/fill.lisp | Code/Boot/Phase2/fill.lisp | (cl:in-package #:sicl-boot-phase2)
(defun ld (filename environment)
(format *trace-output* "Loading file ~a~%" filename)
(finish-output *trace-output*)
(sicl-extrinsic-environment:load-source-with-environments
(asdf:system-relative-pathname :sicl-boot-phase2 filename)
(sicl-boot-phase1:compilation-environm... | (cl:in-package #:sicl-boot-phase2)
(defun ld (filename environment)
(format *trace-output* "Loading file ~a~%" filename)
(finish-output *trace-output*)
(sicl-extrinsic-environment:load-source-with-environments
(asdf:system-relative-pathname :sicl-boot-phase2 filename)
(sicl-boot-phase1:compilation-environm... | Save new definition in environment. | Save new definition in environment.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
59611758db17c2b900280b6ba6c8937307359b7f | package.lisp | package.lisp | ;; -*- Syntax: Ansi-Common-Lisp; Mode: lisp; -*-
(defpackage cl-dot
(:use :common-lisp)
(:export #:attributed #:node
#:*dot-path*
#:*neato-path*
#:graph-object-knows-of #:graph-object-node
#:graph-object-points-to #:graph-object-pointed-to-by
#:generate-graph-... | ;; -*- Syntax: Ansi-Common-Lisp; Mode: lisp; -*-
(defpackage cl-dot
(:use :common-lisp)
(:export #:attributed #:node
#:*dot-path*
#:*neato-path*
#:graph-object-knows-of #:graph-object-node
#:graph-object-points-to #:graph-object-pointed-to-by
#:graph-object-ed... | Put deprecated symbols into extra export | Put deprecated symbols into extra export
git-svn-id: c85a71f3e7cf752db9973e11a7b5f9797dd6d327@58 3eedd062-5d29-411c-93cb-ccde70ca5252
| Common Lisp | mit | daveloyall/cl-dot,scymtym/cl-dot,michaelw/cl-dot |
5e2ab15466898b570303fcd09dc808f1669e5fe6 | slime-helper.lisp | slime-helper.lisp | ;;;; slime-helper.lisp
(defpackage #:quicklisp-slime-helper
(:use #:cl)
(:export #:install)
(:shadowing-import-from #:alexandria
#:copy-file)
(:shadowing-import-from #:ql-dist
#:ensure-installed
#:find-system)
(:shadowing-import-fr... | ;;;; slime-helper.lisp
(defpackage #:quicklisp-slime-helper
(:use #:cl)
(:export #:install)
(:shadowing-import-from #:alexandria
#:copy-file)
(:shadowing-import-from #:ql-dist
#:ensure-installed
#:find-system)
(:shadowing-import-fr... | Add info about setting inferior-lisp-program. | Add info about setting inferior-lisp-program.
| Common Lisp | mit | quicklisp/quicklisp-slime-helper |
73dfbb6e015a28ebed873266e4e8190e509b43de | cl-dot.asd | cl-dot.asd | ;; -*- Syntax: Ansi-Common-Lisp; Mode: lisp; -*-
(asdf:defsystem :cl-dot
:version "0.9.0"
:description "Generate Dot Output from Arbitrary Lisp Data"
:author "Juho Snellman <jsnell@iki.fi>"
:maintainer "Michael Weber <michaelw@foldr.org>"
:depends-on (:uiop)
:serial t
:components
((:file "package")
... | ;; -*- Syntax: Ansi-Common-Lisp; Mode: lisp; -*-
(asdf:defsystem :cl-dot
:version "0.9.0"
:description "Generate Dot Output from Arbitrary Lisp Data"
:author "Juho Snellman <jsnell@iki.fi>"
:maintainer "Michael Weber <michaelw@foldr.org>"
:depends-on (:uiop)
:serial t
:components
((:file "package")
... | Clean up the ASD file. | Clean up the ASD file.
The docs module specification was erroneous and served no real purpose.
This commit removes the module to stop ASDF from complaining.
| Common Lisp | mit | michaelw/cl-dot |
0d16630f000644db37844512fb510e15d212fa71 | Code/Compiler/sicl-compiler.asd | Code/Compiler/sicl-compiler.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :sicl-compiler
:depends-on (:sicl-code-utilities
:sicl-compiler-utilities
:sicl-compiler-basic-blocks
:sicl-compiler-dominance
:sicl-compiler-liveness
:sicl-compiler-reaching-definitions
:sicl-compiler-def-use-chains
... | (cl:in-package #:common-lisp-user)
(asdf:defsystem :sicl-compiler
:depends-on (:sicl-code-utilities
:sicl-compiler-utilities
:sicl-compiler-basic-blocks
:sicl-compiler-dominance
:sicl-compiler-liveness
:sicl-compiler-reaching-definitions
:sicl-compiler-def-use-chains
... | Add file compile-time-compile.lisp. Depend on system sicl-type. | Add file compile-time-compile.lisp. Depend on system sicl-type.
| 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 |
16370d9835ef73c5bb68fa111e1448e47a4e6840 | 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
| Common Lisp | bsd-3-clause | luismbo/arnesi |
e83c8a2805b027e4147ddf44e639a6632f6abbd7 | Code/Reader/Source-tracking/read.lisp | Code/Reader/Source-tracking/read.lisp | (cl:in-package #:sicl-reader)
(defparameter *syntax-trees* '())
(defun read (&optional
(input-stream *standard-input*)
(eof-error-p t)
(eof-value nil)
(recursive-p nil))
(let ((*preserve-whitespace* recursive-p)
(*syntax-trees* (cons (list nil) *syntax-trees*)))
(let ((result (r... | (cl:in-package #:sicl-reader)
(defparameter *syntax-trees* '())
(defun read (&optional
(input-stream *standard-input*)
(eof-error-p t)
(eof-value nil)
(recursive-p nil))
(let ((*preserve-whitespace* recursive-p)
(*syntax-trees* (cons (list nil) *syntax-trees*)))
(let ((result (r... | Rename stream argument and give it a reasonable default value. | Rename stream argument and give it a reasonable default value.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
edad2b822918c59a2fddb58fd0add3cf83ff9050 | environment/transpiler/environment/equality.lisp | environment/transpiler/environment/equality.lisp | ;;;;; TRE transpiler environment
;;;;; Copyright (c) 2008-2009 Sven Klose <pixel@copei.de>
(defun eq (x y)
(%%%eq x y))
(defun eql (x y)
(unless x ; Convert falsity to 'null'.
(setq x nil))
(unless y
(setq y nil))
(or (eq x y)
(%%%= x y)))
| ;;;;; TRE transpiler environment
;;;;; Copyright (c) 2008-2009,2011 Sven Klose <pixel@copei.de>
(defun eq (x y)
(%%%eq x y))
(defun eql (x y)
(unless x ; Convert falsity to 'null'.
(setq x nil))
(unless y
(setq y nil))
(or (%%%eq x y)
(= x y)))
| Use = insteal of %%%=. | EQUAL: Use = insteal of %%%=.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
d45f2891f25bd5e48a04484c64eb7aa62b2067c2 | Code/Compiler/Extrinsic-environment/fill.lisp | Code/Compiler/Extrinsic-environment/fill.lisp | (cl:in-package #:sicl-extrinsic-environment)
(loop for symbol being each external-symbol in '#:common-lisp
when (special-operator-p symbol)
do (setf (sicl-env:special-operator symbol *environment*) t))
(setf (sicl-env:constant-variable t *environment*) t)
(setf (sicl-env:constant-variable nil *environment*) ni... | (cl:in-package #:sicl-extrinsic-environment)
(loop for symbol being each external-symbol in '#:common-lisp
when (special-operator-p symbol)
do (setf (sicl-env:special-operator symbol *environment*) t))
(setf (sicl-env:constant-variable t *environment*) t)
(setf (sicl-env:constant-variable nil *environment*) ni... | Add default SETF expander to extrinsic environment. | Add default SETF expander to extrinsic environment.
| 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 |
8145feb1793ee3ba0964defd7bf4b4ee19627ae2 | Binary-tree/iterative-traversal.lisp | Binary-tree/iterative-traversal.lisp | (cl:in-package #:clump-binary-tree)
(defgeneric iterative-traversal (tree visit))
(defmethod iterative-traversal ((tree node-with-parent) visit)
(let ((current-node tree))
(loop do (if (or (not (funcall visit current-node))
(and (null (left current-node))
(null (right current-node))))
(loop for p... | (cl:in-package #:clump-binary-tree)
(defgeneric iterative-traversal (tree enter))
(defmethod iterative-traversal ((tree node-with-parent) enter)
(let ((current-node tree))
(loop do (if (or (not (funcall enter current-node))
(and (null (left current-node))
(null (right current-node))))
(loop for p... | Rename parameter in preparation for adding another. | Rename parameter in preparation for adding another.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
f0cf252890bac7fe5b066be26a4c1d5c1f8b3db4 | tests/asdf.lisp | tests/asdf.lisp | (in-package "BASIC-BINARY-PACKET.TESTS")
(defmethod asdf:perform ((op asdf:test-op) (component (eql (asdf:find-system "basic-binary-packet-tests"))))
(lisp-unit:run :all "BASIC-BINARY-PACKET.TESTS"))
| (in-package "BASIC-BINARY-PACKET.TESTS")
(defmethod asdf:perform ((op asdf:test-op) (component (eql (asdf:find-system "basic-binary-packet-tests"))))
(lisp-unit:run-tests :all "BASIC-BINARY-PACKET.TESTS"))
| Use LISP-UNIT:RUN-TESTS rather than LISP-UNIT:RUN. | Use LISP-UNIT:RUN-TESTS rather than LISP-UNIT:RUN.
| Common Lisp | bsd-2-clause | markcox80/basic-binary-ipc,markcox80/basic-binary-ipc |
7c7b16c6ef4b0050a9b15e4d5b766fba21d08344 | test/neo4cl-test.asd | test/neo4cl-test.asd | (asdf:defsystem #:neo4cl-test
:serial t
:license "MIT license"
:author "James Fleming <james@electronic-quill.net>"
:description "Test suite for neo4cl"
:depends-on (#:neo4cl
#:fiveam)
:components ((:file "neo4cl-test")))
(defpackage #:neo4cl-test
(:use #:cl
#:neo4cl)
(:export ne... | (asdf:defsystem #:neo4cl-test
:serial t
:license "MIT license"
:author "James Fleming <james@electronic-quill.net>"
:description "Test suite for neo4cl"
:depends-on (#:neo4cl
#:fiveam)
:components ((:file "neo4cl-test")))
(defpackage #:neo4cl-test
(:use #:cl)
(:export neo4cl))
| Remove unnecessary :use statement from defpackage | Remove unnecessary :use statement from defpackage
| Common Lisp | apache-2.0 | equill/neo4cl |
9fc53cda297e377bc71f9fafd38858fe0be0a75c | Code/Boot/customize-r1.lisp | Code/Boot/customize-r1.lisp | (cl:in-package #:sicl-boot)
(defun define-ensure-generic-function-r1 (boot)
(setf (sicl-genv:fdefinition 'ensure-generic-function (r1 boot))
(lambda (function-name &rest arguments)
(if (sicl-genv:fboundp function-name (r1 boot))
(sicl-genv:fdefinition function-name (r1 boot))
(setf (sicl-genv:fdefi... | (cl:in-package #:sicl-boot)
(defun define-ensure-generic-function-r1 (boot)
(setf (sicl-genv:fdefinition 'ensure-generic-function (r1 boot))
(lambda (function-name &rest arguments)
(let ((args (copy-list arguments)))
(loop while (remf args :environment))
(if (sicl-genv:fboundp function-name (r1 boot))
... | Remove the :ENVIRONMENT keyword argument before calling MAKE-INSTANCE. | Remove the :ENVIRONMENT keyword argument before calling MAKE-INSTANCE.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
944cd5d30dd3d194141a90215e8c776bd407c442 | Code/Loop/never-clause.lisp | Code/Loop/never-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 | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
3d44785f31c0b3850aff0646e50cc8ae67181436 | src/ffi/ft2-init.lisp | src/ffi/ft2-init.lisp | (in-package :freetype2-ffi)
;; Initialization
(defcfun ("FT_Init_FreeType" ft-init-freetype) ft-error
(library (:pointer ft-library)))
(export 'ft-init-freetype)
(defcfun ("FT_Done_FreeType" ft-done-freetype) ft-error
(library ft-library))
(export 'ft-done-freetype)
| (in-package :freetype2-ffi)
;; Initialization
(defcfun ("FT_Init_FreeType" ft-init-freetype) ft-error
(library (:pointer ft-library)))
(export 'ft-init-freetype)
;; This takes an FT_Library, which is natively a pointer, but if
;; we make it ft-library here, CFFI will expect a wrapper, which
;; is undesirable in... | Change parameter type for finalization | Change parameter type for finalization
| Common Lisp | bsd-3-clause | rpav/cl-freetype2,rpav/cl-freetype2 |
21d36b79f937d0cb9ae3a7aeabe451894e12b1b3 | images.lisp | images.lisp | (defpackage :docker/images
(:use :common-lisp :docker/request)
(:export #:list-images))
(in-package :docker/images)
(defun list-images (&optional all)
(request-json (format nil "/images/json~@[?all=1~]" all)))
(defun inspect-images (name)
(request-json (format nil "/images/~a/json" name)))
(defun image-hist... | (defpackage :docker/images
(:use :common-lisp :docker/request)
(:export #:list-images))
(in-package :docker/images)
(defun list-images (&key all)
(request-json (format nil "/images/json~:[~;?all=1~]" all)))
(defun inspect-images (name)
(request-json (format nil "/images/~a/json" name)))
(defun image-history... | Use keyword instead of optional arguments | Use keyword instead of optional arguments
| Common Lisp | mit | davazp/cl-docker |
d47c58d728b946c8a30472fda2e03973191a185f | pkgdcl.lisp | pkgdcl.lisp | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; ;;;
;;; Free Software published under an MIT-like license. See LICENSE ;;;
;;; ;;;
;;; Copyright (c) 2012 Googl... | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; ;;;
;;; Free Software published under an MIT-like license. See LICENSE ;;;
;;; ;;;
;;; Copyright (c) 2012 Googl... | Use COMMON-LISP package in mysqlnd | Use COMMON-LISP package in mysqlnd
| Common Lisp | mit | dkochmanski/qmynd,qitab/qmynd |
bd4d33a29631ca13cafeb808cc9e748c19aaae91 | tests/opcodes.lisp | tests/opcodes.lisp | (in-package :6502-tests)
(def-suite opcodes :in 6502-tests)
(in-suite opcodes)
(deftest brk-sets-flags
"brk flag (4) and disable interrupts flag (2) must be set."
(6502::brk #x00)
(is (plusp (status-bit :break cpu)))
(is (plusp (status-bit :interrupt cpu))))
(deftest brk-adds-3-bytes-to-stack
"Program Coun... | (in-package :6502-tests)
(def-suite opcodes :in 6502-tests)
(in-suite opcodes)
(deftest brk-sets-flags
"brk flag (4) and disable interrupts flag (2) must be set."
(6502::brk #x00 cpu)
(is (plusp (status-bit :break cpu)))
(is (plusp (status-bit :interrupt cpu))))
(deftest brk-adds-3-bytes-to-stack
"Program ... | Update tests for new cpu passing. | Update tests for new cpu passing.
| Common Lisp | bsd-2-clause | redline6561/cl-6502,redline6561/cl-6502,kingcons/cl-6502,kingcons/cl-6502 |
811b00ecd341bb8e761ebad8a4e51d182d915c9a | 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 define-ensure-generic-function (boot)
(setf (sicl-genv:fdefinition 'ensure-generic-function (r2 boot))
(lambda (function-name &rest arguments)
(d... | (cl:in-package #:sicl-boot)
(defun define-validate-superclass (boot)
(setf (sicl-genv:fdefinition 'sicl-clos:validate-superclass (r2 boot))
(constantly t)))
(defun define-ensure-generic-function (boot)
(setf (sicl-genv:fdefinition 'ensure-generic-function (r2 boot))
(lambda (function-name &rest arguments)
(d... | Check that generic function has been properly defined in R3. | Check that generic function has been properly defined in R3.
| 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 |
43cf8e17ced20a4c7030106500179b726759218e | 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... | Increment column count in default case. | Increment column count in default case.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL |
c403725895fba36ecc3a7437064132aa1336a4fc | garten/tools.lisp | garten/tools.lisp | ;;;; tools.lisp
;;;; Copyright (c) 2015 Thayne McCombs <astrothayne@gmail.com>
(uiop:define-package :garten/tools
(:use :cl :garten/grower)
(:import-from :alexandria :with-gensyms)
(:export #:with-grower))
(in-package :garten/tools)
(defmacro with-grower ((feeder type &rest args) &body body)
"Execute BODY... | ;;;; tools.lisp
;;;; Copyright (c) 2015 Thayne McCombs <astrothayne@gmail.com>
(uiop:define-package :garten/tools
(:use :cl :garten/grower :iterate)
(:import-from :alexandria #:with-gensyms)
(:export #:with-grower
#:growing #:feeding))
(in-package :garten/tools)
(defmacro with-grower ((feeder typ... | Add iterate macro clause for growing sequences. | Add iterate macro clause for growing sequences.
| Common Lisp | mit | bytecurry/colliflower |
2bd867e3cb5973b33fba082217d76c44a4eabd10 | utils.lisp | utils.lisp | ;;;; utils.lisp
(in-package #:githappy)
(defun url-encode (string)
(drakma:url-encode string :utf-8))
(defun utf8-string (octets)
(trivial-utf-8:utf-8-bytes-to-string octets))
(defun jref (json key)
"Extract KEY from JSON. If KEY is an integer, use ELT; if it's a
string, use GETHASH; if it's a list, call jr... | ;;;; utils.lisp
(in-package #:githappy)
(defun url-encode (string)
(drakma:url-encode string :utf-8))
(defun utf8-string (octets)
(trivial-utf-8:utf-8-bytes-to-string octets))
(defun jref (json key)
"Extract KEY from JSON. If KEY is an integer, use ELT; if it's a
string, use GETHASH; if it's a list, call jr... | Add SLEEP-UNTIL, for future rate limiting perhaps. | Add SLEEP-UNTIL, for future rate limiting perhaps.
| Common Lisp | mit | xach/githappy |
b065283cd8086480c783a9d3cc218501848fe97b | src/scenefile/scenefile.lisp | src/scenefile/scenefile.lisp | (in-package :robray)
(defun scene-file-type (filename)
(let ((filetype (file-type filename)))
(if filetype
(string-case (string-downcase filetype)
("urdf" :urdf)
(("robray" "curly") :curly)
(otherwise (error "Unrecognized scene file suffix: ~A" filetype)))
:curly)))
... | (in-package :robray)
(defun scene-file-type (filename)
(let ((filetype (file-type filename)))
(if filetype
(string-case (string-downcase filetype)
("urdf" :urdf)
(("robray" "curly") :curly)
(otherwise (error "Unrecognized scene file suffix: ~A" filetype)))
:curly)))
... | Use PATHNAME as a rope | Use PATHNAME as a rope
| Common Lisp | bsd-3-clause | ndantam/amino,KeliangH/amino,ndantam/amino,golems/amino,golems/amino,ndantam/amino,golems/amino,KeliangH/amino,golems/amino,ndantam/amino,KeliangH/amino,KeliangH/amino,golems/amino,KeliangH/amino,ndantam/amino,golems/amino,KeliangH/amino,ndantam/amino |
a0924da2c0df3d6cdd14bd75e09f589fe546bbdc | 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... | Create a one-char buffer for UNREAD-CHAR. | Create a one-char buffer for UNREAD-CHAR.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
2778f823a22f0b31a250b200b5716951acfcf11e | projects/codecs/Lisp/src/rl-glue-codec/rl-version.lisp | projects/codecs/Lisp/src/rl-glue-codec/rl-version.lisp |
;;; Copyright 2008 Gabor Balazs
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable law or agreed... |
;;; Copyright 2008 Gabor Balazs
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable law or agreed... | Change version from RC2 to RC3. | Change version from RC2 to RC3.
| Common Lisp | apache-2.0 | GarethNelson/rl-glue-ext,aksmas/rl-glue-ext,pclarke91/rl-glue-ext,GarethNelson/rl-glue-ext,pclarke91/rl-glue-ext,aksmas/rl-glue-ext,pclarke91/rl-glue-ext,GarethNelson/rl-glue-ext,aksmas/rl-glue-ext,pclarke91/rl-glue-ext,GarethNelson/rl-glue-ext,GarethNelson/rl-glue-ext,pclarke91/rl-glue-ext,aksmas/rl-glue-ext,aksmas/rl... |
109e45ffe156d941ec1b6542a98fbb29b9cd78f0 | t/cl-emoji.lisp | t/cl-emoji.lisp | (in-package :cl-user)
(defpackage cl-emoji-test
(:use :cl
:cl-emoji
:prove))
(in-package :cl-emoji-test)
;; NOTE: To run this test file, execute `(asdf:test-system :cl-emoji)' in your Lisp.
(with-open-file (s (asdf:system-relative-pathname
:cl-emoji (pathname (format nil "data/emoji_~a.lisp"
... | (in-package :cl-user)
(defpackage cl-emoji-test
(:use :cl
:cl-emoji
:prove))
(in-package :cl-emoji-test)
;; NOTE: To run this test file, execute `(asdf:test-system :cl-emoji)' in your Lisp.
(with-open-file (s (asdf:system-relative-pathname
:cl-emoji (pathname (format nil "data/emoji_~a.lisp"
... | Reduce over-nesting not be needed | Reduce over-nesting not be needed
| Common Lisp | mit | ta2gch/cl-emoji |
ecfc56b3acf3927513495ab8408e13539cf513fd | 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 | tmccombs/usocket,lispnik/usocket,dkochmanski/usocket |
8a1e1809633517b6ac7debb18087b848b0061086 | src/config.lisp | src/config.lisp | ;; Common Lisp Script
;; Manoel Vilela
(defpackage :lisp-chat/config
(:use :cl)
(:export :*debug*
:*host*
:*port*))
(in-package :lisp-chat/config)
(defparameter *debug* t "Run application in debug mode with extra info in terminal")
(defparameter *host* "localhost" "Host used in server and c... | ;; Common Lisp Script
;; Manoel Vilela
(defpackage :lisp-chat/config
(:use :cl)
(:export :*debug*
:*host*
:*port*))
(in-package :lisp-chat/config)
(defparameter *debug* t "Run application in debug mode with extra info in terminal")
(defparameter *host* "bikelis.com" "Host used in server and... | Use bikelis.com as default host | Use bikelis.com as default host | Common Lisp | mit | ryukinix/lisp-chat,ryukinix/lisp-chat |
4a34c08d47ab976c6de6313a26b9bc670307ad5e | Code/Cleavir/Type-inference/cleavir-type-inference.asd | Code/Cleavir/Type-inference/cleavir-type-inference.asd | (cl:in-package #:asdf-user)
(defsystem cleavir-type-inference
:depends-on (:cleavir-hir)
:serial t
:components
((:file "packages")
(:file "dictionary")
(:file "type-descriptor")
(:file "sanity-checks")
(:file "filter")
(:file "bag-equal")
(:file "bag-join")
(:file "update")
(:file "tran... | (cl:in-package #:asdf-user)
(defsystem cleavir-type-inference
:depends-on (:cleavir-hir)
:serial t
:components
((:file "packages")
(:file "dictionary")
(:file "type-descriptor")
(:file "sanity-checks")
(:file "filter")
(:file "bag-equal")
(:file "bag-join")
(:file "update")
(:file "tran... | Add new component to system definition. | Add new component to system definition.
| 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 |
7b7327030e1934737b7bc82d90da0f8c02eb82ea | special.lisp | special.lisp | (in-package #:spinneret)
(declaim (stream *html*))
(defparameter *html* (make-synonym-stream '*standard-output*)
"Output stream for HTML generation.")
(declaim (string *html-lang* *html-charset*))
(defparameter *html-lang* "en")
(defparameter *html-charset* "UTF-8")
(declaim (type (integer -1 #.(1- most-positiv... | (in-package #:spinneret)
(declaim (stream *html*))
(defparameter *html* (make-synonym-stream '*standard-output*)
"Output stream for HTML generation.")
(declaim (string *html-lang* *html-charset*))
(defparameter *html-lang* "en")
(defparameter *html-charset* "UTF-8")
(declaim (type (integer -1 #.(1- most-positiv... | Add assertion that the var is null at the top level. | Add assertion that the var is null at the top level.
| Common Lisp | mit | ruricolist/spinneret |
d5871d97c5fb28f579d56f5a5a1c57c895c7afe5 | src/static-vectors.asd | src/static-vectors.asd | ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
#+(or allegro cmu ecl sbcl)
(eval-when (:compile-toplevel :load-toplevel :execute)
(asdf:oos 'asdf:load-op :cffi-grovel))
(asdf:defsystem :static-vectors
:description "Create vectors allocated in static memory."
:author "Stelian Ionescu <sionescu@cddr.org>"
:vers... | ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
(defsystem :static-vectors
:description "Create vectors allocated in static memory."
:author "Stelian Ionescu <sionescu@cddr.org>"
:version "1.0"
:licence "MIT"
:defsystem-depends-on (#+(or allegro cmu ecl sbcl) :cffi-grovel)
:depends-on (:alexandria :cffi)
... | Move dependency on cffi-grovel into :defsystem-depends-on | Move dependency on cffi-grovel into :defsystem-depends-on
| Common Lisp | mit | sionescu/static-vectors |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.