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 |
|---|---|---|---|---|---|---|---|---|---|
f47f3080dd4363ada9c82b85d18202b260366572 | Bindings/Lisp/apitest.lisp | Bindings/Lisp/apitest.lisp | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; libbrlapi - A library providing access to braille terminals for applications.
;
; Copyright (C) 2006-2018 by Mario Lang <mlang@delysid.org>
;
; libbrlapi comes with ABSOLUTELY NO WARRANTY.
;
; This is free software, placed under the terms... | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; libbrlapi - A library providing access to braille terminals for applications.
;
; Copyright (C) 2006-2018 by Mario Lang <mlang@delysid.org>
;
; libbrlapi comes with ABSOLUTELY NO WARRANTY.
;
; This is free software, placed under the terms... | Improve the way that brlapi.lisp is found. (ml) | Improve the way that brlapi.lisp is found. (ml)
| Common Lisp | lgpl-2.1 | brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty |
accd18679bc5d40122d72822f0f5042f789b3a0a | 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)) | ;;
;; 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
... | Add needed dependencies to .asd. | Add needed dependencies to .asd.
| Common Lisp | bsd-3-clause | gigamonkey/quicklisp-distcompiler |
94d044b3463c27330e0b1ce56fb1713941e9349c | Code/Cleavir/HIR-transformations/Boolean-elimination/find-boolean-tests.lisp | Code/Cleavir/HIR-transformations/Boolean-elimination/find-boolean-tests.lisp | (cl:in-package #:cleavir-boolean-elimination)
(defun find-boolean-tests (initial-instruction)
(let ((result '()))
(cleavir-ir:map-instructions-arbitrary-order
(lambda (instruction)
(when (typep instruction 'cleavir-ir:eq-instruction)
(destructuring-bind (i1 i2) (cleavir-ir:inputs instruction)
(... | (cl:in-package #:cleavir-boolean-elimination)
;;; We search for EQ-INSTRUCTIONs where one of the inputs is a
;;; LOAD-TIME-VALUE-INPUT with a constant form of NIL, meaning that
;;; the instruction tests its other input as a Boolean. We return a
;;; list of such instructions in the program.
(defun find-boolean-tests (... | Add comment explaining what the function does. | Add comment explaining what the function does.
| 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 |
e317ff2ce9f305d98584047cd59171a2d0b56463 | Code/Loop/parse-common.lisp | Code/Loop/parse-common.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
... | Add a parser that recognizes things that are not clause keywords. | Add a parser that recognizes things that are not clause keywords.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL |
4b8145a7cae4d1530ba25c95774fa5d4d424e333 | src/feeds.lisp | src/feeds.lisp | (in-package :coleslaw)
(defun date-to-timestamp (date)
"Convert a post DATE to a local-time timestamp."
(destructuring-bind (date time) (cl-ppcre:split " " date)
(apply 'local-time:encode-timestamp 0
(mapcar #'parse-integer
(append (reverse (cl-ppcre:split ":" time))
... | (in-package :coleslaw)
(defun make-pubdate (&optional date)
"Make a RFC1123 pubdate representing the current time or DATE, when supplied."
(let ((timestamp (if date
(date-to-timestamp date)
(local-time:now))))
(local-time:format-rfc1123-timestring nil timestamp)))
... | Remove DATE-TO-TIMESTAMP since it was unused. | Remove DATE-TO-TIMESTAMP since it was unused.
| Common Lisp | bsd-2-clause | redline6561/coleslaw,kingcons/coleslaw,superjudge/coleslaw,Ferada/coleslaw,6x13/coleslaw |
4d79c34ab91d1a3a0b803372e0cbed4a2238eb93 | 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)))
| (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)))
| Add method on PRINT-OBJECT specialized to BUILT-IN-CLASS. | Add method on PRINT-OBJECT specialized to BUILT-IN-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 |
f55a5f4b0c796aba7d1668cac60e820d77f07c8b | db.lisp | db.lisp | (defun make-cd (title artist rating ripped)
(list :title title :artist artist :rating rating :ripped ripped))
(defvar *db* nil)
(defun add-cd (cd)
(push cd *db*))
(defun dump-db ()
(dolist (cd *db*)
(format t "~{~a:~10t~a~%~}~%" cd)))
(defun dump-db-short ()
(format t "~{~{~a:~10t~a~%~}~%~}" *db*))
(de... | (defun make-cd (title artist rating ripped)
(list :title title :artist artist :rating rating :ripped ripped))
(defvar *db* nil)
(defun add-cd (cd)
(push cd *db*))
(defun dump-db ()
(dolist (cd *db*)
(format t "~{~a:~10t~a~%~}~%" cd)))
(defun dump-db-short ()
(format t "~{~{~a:~10t~a~%~}~%~}" *db*))
(de... | Add function to save database to file | Add function to save database to file
| Common Lisp | mit | MattBlack85/lisping |
ee514f588f7ba92c8844539aeaae3f646b9a434c | t/packages.lisp | t/packages.lisp | ;;;; -*- lisp -*-
(defpackage :it.bese.yaclml.test
(:use :common-lisp
:arnesi
:iterate
:it.bese.yaclml
:it.bese.FiveAM))
(unless (5am:get-test :it.bese)
(5am:def-suite :it.bese))
(5am:def-suite :it.bese.yaclml :in :it.bese)
| ;;;; -*- lisp -*-
(defpackage :it.bese.yaclml.test
(:use :common-lisp
:arnesi
:iterate
:it.bese.yaclml
:it.bese.FiveAM))
(eval-when (:compile-toplevel :load-toplevel :execute)
(unless (5am:get-test :it.bese)
(5am:def-suite :it.bese)))
(5am:def-suite :it.bese.yaclml :in :it.bese)
| Make sure the :it.bese suite is defined in time. | Make sure the :it.bese suite is defined in time.
| Common Lisp | bsd-3-clause | sharplispers/yaclml |
09960a884c8dc44a6e6b5aac39cbd8cc868310d1 | Code/Environment/other-functions.lisp | Code/Environment/other-functions.lisp | (cl:in-package #:sicl-global-environment)
(defvar *global-environment*)
(defun expand-place (place environment)
(when (null environment)
(setf environment *global-environment*))
(cond ((symbolp place)
(let ((expansion (cleavir-env:symbol-macro-expansion place environment)))
(if (eq place expansion)
... | (cl:in-package #:sicl-global-environment)
(defvar *global-environment*)
(defun expand-place (place environment)
(when (null environment)
(setf environment *global-environment*))
(cond ((symbolp place)
(let ((expansion (cleavir-env:symbol-macro-expansion place environment)))
(if (eq place expansion)
... | Use new Cleavir function to find the global environment. | Use new Cleavir function to find the global environment.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
16013be44b5acc230c5925074e8affc9031737a6 | html.lisp | html.lisp | (fn html-option (value name selected)
(string-concat "<option value=\"" value "\""
(& (string== selected value)
" selected")
">" name "</option>"))
(fn html-options (x selected)
(apply #'string-concat (@ [html-option _. ._ selected] x)))
| (fn html-option (value name selected)
(string-concat "<option value=\"" value "\""
(& (eql selected value)
" selected")
">" name "</option>"))
(fn html-options (x selected)
(apply #'string-concat (@ [html-option _. ._ selected] x)))
| Use EQL instead of STRING== to find selected options. | HTML-OPTION: Use EQL instead of STRING== to find selected options.
| Common Lisp | mit | SvenMichaelKlose/phitamine |
65a83e6f9700c014c6bc1802127e10d2e067aaf8 | 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 TYPEP in preparation for a new one as a generic function. | Remove definition of TYPEP in preparation for a new one as a generic function.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
d21f716ef455a235711d307d5329e4364cec9d78 | 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"
... | Test follows new emoji-list format | Test follows new emoji-list format
| Common Lisp | mit | ta2gch/cl-emoji |
2a56e9a5ec7d67338ac4affb9d8eabbb58a0f7fd | exercises/practice/hello-world/hello-world.lisp | exercises/practice/hello-world/hello-world.lisp | (defpackage #:hello-world
(:use #:cl)
(:export #:hello))
(in-package #:hello-world)
(defun hello ())
| (defpackage #:hello-world
(:use #:cl)
(:export #:hello))
(in-package #:hello-world)
(defun hello () "Put your greeting here.")
| Add in stub string for the exercise. | Add in stub string for the exercise.
This is meant to be the VERY FIRST exercise - so extra hand-holding
required.
The benefit of this hand-holding is that now the student will have
been shown how to make literal strings - so I won't feel bad about
using literal strings without further explanation.
| Common Lisp | mit | exercism/xlisp,exercism/xlisp |
f367c0f67e6c422ed9b5efa5c562e76395bdf1ae | kpathsea.lisp | kpathsea.lisp | ;;; An interface to Kpathsea (TeX's file search library)
;;; Copr. 2002 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
;;; This is free software, licensed under GNU GPL (see file COPYING)
(in-package :kpathsea)
(defun find-file (name)
#+cmu
(let ((process
(extensions:run-program "kpsewhich" (list (namestr... | ;;; An interface to Kpathsea (TeX's file search library)
;;; Copr. 2002 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
;;; This is free software, licensed under GNU GPL (see file COPYING)
(in-package :kpathsea)
;; We use CLOCC PORT to run programs if we are not running in CMUCL or SBCL.
#-(or cmu sbcl)
(require... | Implement for SBCL; implement for all other platforms using CLOCC PORT. | (find-file): Implement for SBCL; implement for all other platforms
using CLOCC PORT.
| Common Lisp | lgpl-2.1 | slyrus/cl-bibtex,slyrus/cl-bibtex |
f6594f7858701db9c551ef5dfc5149c45dc36cf0 | src/main.lisp | src/main.lisp | ; bender – Copyright (c) 2014–2015 Sven Michael Klose <pixel@copei.de>
(load "./environment/platforms/shared/read-binary.lisp")
(load "./environment/platforms/shared/xml2lml.lisp")
(load "src/6502.lisp")
(load "src/instruction.lisp")
(load "src/print.lisp")
(load "src/disassembler.lisp")
(load "src/instruction-map.li... | ; bender – Copyright (c) 2014–2015 Sven Michael Klose <pixel@copei.de>
(load "./environment/platforms/shared/read-binary.lisp")
(load "./environment/platforms/shared/xml2lml.lisp")
(load "src/6502.lisp")
(load "src/instruction.lisp")
(load "src/print.lisp")
(load "src/disassembler.lisp")
(load "src/instruction-map.li... | Load the CBM basic keywords. | Load the CBM basic keywords.
| Common Lisp | bsd-2-clause | SvenMichaelKlose/bender,SvenMichaelKlose/bender,SvenMichaelKlose/bender |
2fb9392ea8643a6b7ffdebb0f29215e08d0e1af3 | Code/Cleavir/Concrete-syntax-tree/lambda-list.lisp | Code/Cleavir/Concrete-syntax-tree/lambda-list.lisp | (cl:in-package #:cleavir-cst)
(defclass optional-parameter ()
(;; This slot contains the CST for the obligatory variable of the
;; optional parameter.
(%variable-cst :initarg :variable-cst :reader variable-cst)
;; This slot contains a CST for the INIT-FORM of the optional
;; parameter. If no INIT-FORM w... | (cl:in-package #:cleavir-cst)
(defclass optional-parameter ()
(;; This slot contains the CST for the obligatory variable of the
;; optional parameter.
(%variable-cst :initarg :variable-cst :reader variable-cst)
;; This slot contains a CST for the INIT-FORM of the optional
;; parameter. If no INIT-FORM w... | Define a class for representing a list of optional parameters. | Define a class for representing a list of optional parameters.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
5ee7924ba93d3277ee5419f46b92574a3a507be3 | environment/stage1/basic-conditional.lisp | environment/stage1/basic-conditional.lisp | ;;;; nix operating system project
;;;; list processor environment
;;;; Copyright (C) 2005 Sven Klose <pixel@copei.de>
;;;;
;;;; Basic conditional operators
(defmacro if (test true &optional false)
(cond
(false
`(cond
(,test ,true)
(t ,false)))
(t `(cond (,test ,true)))))
(%defun comp... | ;;;; nix operating system project
;;;; list processor environment
;;;; Copyright (C) 2005 Sven Klose <pixel@copei.de>
;;;;
;;;; Basic conditional operators
(defmacro if (test true &optional false)
(cond
(false
`(cond
(,test ,true)
(t ,false)))
(t `(cond (,test ,true)))))
(%defun comp... | Use NOT instead of EQ - breaks transpiler/javascript otherwise. | Use NOT instead of EQ - breaks transpiler/javascript otherwise.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
7573f7f444eb3c25e08013733b9bdef90e8473b7 | src/syswm.lisp | src/syswm.lisp | (in-package :sdl2)
(defun get-window-wm-info (window)
(c-with ((info sdl2-ffi:sdl-syswm-info))
(setf (info :version :major) sdl2-ffi:+sdl-major-version+
(info :version :minor) sdl2-ffi:+sdl-minor-version+
(info :version :patch) sdl2-ffi:+sdl-patchlevel+)
(sdl-get-window-wm-info window (in... | (in-package :sdl2)
(defun get-window-wm-info (window)
(c-with ((info sdl2-ffi:sdl-syswm-info))
(setf (info :version :major) sdl2-ffi:+sdl-major-version+
(info :version :minor) sdl2-ffi:+sdl-minor-version+
(info :version :patch) sdl2-ffi:+sdl-patchlevel+)
(sdl-get-window-wm-info window (in... | Make sure not to build subsystem code for platforms that don't support it | Make sure not to build subsystem code for platforms that don't support it
| Common Lisp | mit | lispgames/cl-sdl2,lispgames/cl-sdl2 |
205d0372bf51b2b4bc1a7fee98e4fee4c05d90d9 | t/numbers.lisp | t/numbers.lisp | ;;;; -*- lisp -*-
(in-package :it.bese.arnesi)
(def-suite :it.bese.arnesi.numbers :in :it.bese.arnesi)
(in-suite :it.bese.arnesi.numbers)
(test mulf
(let ((a 0))
(is (= 0 (mulf a 10)))
(is (= 0 a)))
(let ((a 1))
(is (= 4 (mulf a 4)))
(is (= 1 (mulf a (/ 4))))
(is (= 1 a))))
(test minf
(l... | ;;;; -*- lisp -*-
(in-package :it.bese.arnesi)
(def-suite :it.bese.arnesi.numbers :in :it.bese.arnesi)
(in-suite :it.bese.arnesi.numbers)
(test mulf
(let ((a 0))
(is (= 0 (mulf a 10)))
(is (= 0 a)))
(let ((a 1))
(is (= 4 (mulf a 4)))
(is (= 1 (mulf a (/ 4))))
(is (= 1 a))))
(test minf
(l... | Use FiveAM's new random testing for the parse-float test | Use FiveAM's new random testing for the parse-float test
darcs-hash:20060124140012-dd2a1-3d8e2da1166317bcce072289d9f721be2002a19e.gz
| Common Lisp | bsd-3-clause | kmizumar/arnesi_dev |
ad743e8a007814863202339ba9054afa415a80dd | Code/Iteration/sicl-iteration-support.asd | Code/Iteration/sicl-iteration-support.asd | (in-package #:asdf-user)
(defsystem :sicl-iteration-support
:depends-on (:cleavir-code-utilities
:cleavir-internationalization)
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "utilities")
(:file "condition-reporters-en")
(:file "docstrings-en")))
| (cl:in-package #:asdf-user)
(defsystem :sicl-iteration-support
:depends-on (:cleavir-code-utilities
:cleavir-internationalization)
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "utilities")
(:file "condition-reporters-en")
(:file "docstrings-en")))
| Use explicit package prefix with IN-PACKAGE. | Use explicit package prefix with IN-PACKAGE.
| 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 |
985dbd97a30f5110800bf3d71cf7e8641d846ff2 | source/renderer-gobject-gtk.lisp | source/renderer-gobject-gtk.lisp | ;;;; SPDX-FileCopyrightText: Atlas Engineer LLC
;;;; SPDX-License-Identifier: BSD-3-Clause
;;;; This file produces two warnings due to redefinitions of
;;;; renderer-thread-p and ffi-initialize.
;;;;
;;;; This is necessary to modify the behavior of renderer-gtk to use
;;;; gobject to launch/manage the main GTK thread.... | ;;;; SPDX-FileCopyrightText: Atlas Engineer LLC
;;;; SPDX-License-Identifier: BSD-3-Clause
;;;; This file produces two warnings due to redefinitions of
;;;; renderer-thread-p and ffi-initialize.
;;;;
;;;; This is necessary to modify the behavior of renderer-gtk to use
;;;; gobject to launch/manage the main GTK thread.... | Fix case in debug message. | GObject-GTK: Fix case in debug message.
| Common Lisp | bsd-3-clause | jmercouris/NeXT,jmercouris/NeXT |
5aeeac0415db18c6b16d2df84f68fe4df5fbe555 | Code/CLOS/standard-direct-slot-definition-defclass.lisp | Code/CLOS/standard-direct-slot-definition-defclass.lisp | (cl:in-package #:sicl-clos)
(defclass standard-direct-slot-definition
(standard-slot-definition direct-slot-definition)
())
| ;;;; Copyright (c) 2013 - 2015
;;;;
;;;; Robert Strandh (robert.strandh@gmail.com)
;;;;
;;;; All rights reserved.
;;;;
;;;; Redistribution and use in source and binary forms, with or
;;;; without modification, are permitted provided that the following
;;;; conditions are met:
;;;;
;;;; 1. Redistributions of source ... | Add copyright dates and license statement. | Add copyright dates and license statement.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL |
e68bd0c3b04723904de435cfdece0766e1b9fe59 | Code/Cleavir/Generate-AST/ast-from-file.lisp | Code/Cleavir/Generate-AST/ast-from-file.lisp | (cl:in-package #:cleavir-generate-ast)
(defun ast-from-stream (stream environment system)
(let ((*compiler* 'compile-file))
(cleavir-ast:make-progn-ast
(let ((eof (list nil)))
(loop for form = (read stream nil eof)
until (eq form eof)
collect (generate-ast form environment system))))))
(... | (cl:in-package #:cleavir-generate-ast)
(defun ast-from-stream (stream environment system)
(let ((*compiler* 'compile-file))
(process-progn
(let ((eof (list nil)))
(loop for form = (read stream nil eof)
until (eq form eof)
collect (generate-ast form environment system))))))
(defun ast-fro... | Use new function for processing forms read. | Use new function for processing forms read.
| 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 |
181c99d1ac7398628177f267270e917905ca69f0 | src/middleware/handle-error.lisp | src/middleware/handle-error.lisp | (in-package #:eloquent.mvc.middleware)
(defun error-to-body (e)
"Convert the backtrace of E into a string."
(check-type e error)
(trivial-backtrace:print-backtrace e :output nil))
(defun handle-error (request next &key)
"Execute the NEXT, catch the error it signaled, if any, and make a HTTP error response."
... | (in-package #:eloquent.mvc.middleware)
(defun error-log (e)
"Write the message and backtrace of E to error log file."
(let ((body (error-to-body e)))
(dolist (line (eloquent.mvc.prelude:split body #\Newline
:remove-empty-subseqs t))
(eloquent.mvc.logger:forma... | Write error logs in HANDLE-ERROR | Write error logs in HANDLE-ERROR
The error signaled by its next procedures will be catched and print the
a error.log file
| Common Lisp | mit | Liutos/eloquent-mvc,Liutos/eloquent-mvc |
0a0e55c4eada4ff786c78dc22e85291140641da5 | Extensions/fonts/mcclim-fonts.asd | Extensions/fonts/mcclim-fonts.asd | #| dummy system to make Quicklisp happy |#
(defsystem #:mcclim-fonts
:components ((:file "common")))
(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")
... | #| dummy system to make Quicklisp happy |#
(defsystem #:mcclim-fonts
:depends-on (#:clim-basic)
:components ((:file "common")))
(defsystem #:mcclim-fonts/truetype
:depends-on (#:clim-basic #:zpb-ttf #:cl-vectors #:cl-paths-ttf #:cl-aa #:alexandria)
:components ((:static-file "README.md")
(... | Fix build when trying to load various font sub-systems standalone | Fix build when trying to load various font sub-systems standalone
This remained unnoticed because these are always loaded as
dependencies of mcclim. The problem surfaces when these systems are
loaded standalone--since they use CLIM functions which are not
present. Adding CLIM-BASIC system as dependency fixes it.
| Common Lisp | lgpl-2.1 | slyrus/mcclim,slyrus/mcclim |
b896c810b7399bef7eca6e018b99a0693632881f | Binary-tree/clump-binary-tree.asd | Binary-tree/clump-binary-tree.asd | (cl:in-package #:asdf-user)
(defsystem :clump-binary-tree
:depends-on (:acclimation)
:serial t
:components
((:file "packages")
(:file "binary-tree")
(:file "conditions")
(:file "rotation")
(:file "docstrings-english")
(:file "condition-reporters-english")))
| (cl:in-package #:asdf-user)
(defsystem :clump-binary-tree
:depends-on (:acclimation)
:serial t
:components
((:file "packages")
(:file "binary-tree")
(:file "conditions")
(:file "rotation")
(:file "iterative-traversal")
(:file "docstrings-english")
(:file "condition-reporters-english")))
| Add name of new component to system definition. | Add name of new component to system definition.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
c2bfc5c91a352ca423bc90d3981e4535ac0bf234 | nebula.asd | nebula.asd | ;;;; nebula.asd
(asdf:defsystem #:nebula
:serial t
:description "Describe nebula here"
:author "K. Isom <kyle@metacircular.net>"
:license "MIT"
:depends-on (#:cl-ppcre
#:cl-who
#:flexi-streams
#:ironclad
#:local-time
#:log4cl
#:postmodern
#:swank
... | ;;;; nebula.asd
(asdf:defsystem #:nebula
:serial t
:description "Describe nebula here"
:author "K. Isom <kyle@metacircular.net>"
:license "MIT"
:version 0.2.0
:depends-on (#:cl-ppcre
#:cl-who
#:flexi-streams
#:ironclad
#:local-time
#:log4cl
#:postmodern
... | Add version information to ASDF. | Add version information to ASDF.
| Common Lisp | mit | kisom/cl-nebula |
09ea79a3d228d754e78c04818932ef10a52d7538 | environment/stage1/predicates.lisp | environment/stage1/predicates.lisp | ;;;;; TRE environment
;;;;; Copyright (c) 2005-2006,2008 Sven Klose <pixel@copei.de>
;;;;;
;;;;; Predicate functions
(defun zerop (x)
"Return T if the argument value is 0."
(eq x 0))
(defun evenp (x)
"Return T if x is an even number."
(= 0 (mod x 2)))
(defun null (x)
"Return T if argument is non-atomic."
... | ;;;;; TRE environment
;;;;; Copyright (c) 2005-2006,2008-2009 Sven Klose <pixel@copei.de>
;;;;;
;;;;; Predicate functions
(defun zerop (x)
"Return T if the argument value is 0."
(eq x 0))
(defun evenp (x)
"Return T if x is an even number."
(= 0 (mod x 2)))
(defun null (x)
"Return T if argument is non-atomi... | Return T if atom has a name. | SYMBOLP: Return T if atom has a name.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
e103f7a84ff13f8e7cd1294dce2eaba5897965c4 | environment/transpiler/targets/common-lisp/core/global-variables.lisp | environment/transpiler/targets/common-lisp/core/global-variables.lisp | ; tré – Copyright (c) 2014 Sven Michael Klose <pixel@copei.de>
(defvar *universe* nil)
(defvar *variables* nil)
(defvar *launchfile* nil)
(defvar *pointer-size* 4)
(defvar *assert* t)
(defvar *targets* '(:c :cl :js :php))
(defvar *endianess* nil)
(defvar *cpu-type* nil)
(defvar *libc-path* nil)
(defvar *rand-max* nil)... | ; tré – Copyright (c) 2014–2015 Sven Michael Klose <pixel@copei.de>
(defvar *universe* nil)
(defvar *variables* nil)
(defvar *launchfile* nil)
(defvar *pointer-size* 4)
(defvar *assert* t)
(defvar *targets* ,`',*targets*)
(defvar *endianess* nil)
(defvar *cpu-type* nil)
(defvar *libc-path* nil)
(defvar *rand-max* nil)... | Copy *TARGETS* from host environment. | Copy *TARGETS* from host environment.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
50ce31d4de9171b57aea12027755656c41feebb7 | utils.lisp | utils.lisp |
(defpackage :things.utils
(:documentation "Various useful and useless utils.")
(:use #:cl)
(:export #:qpush #:qpop))
(in-package :things.utils)
(defun qpush (queue item)
"Pushes a value into a queue."
(if queue
(let ((n (list item)))
(setf (cdr (cdr queue)) n)
(setf (cdr queue) (last ... |
(defpackage :things.utils
(:documentation "Various useful and useless utils.")
(:use #:cl)
(:export #:qpush #:qpop))
(in-package :things.utils)
(defun qpush (queue item)
"Pushes a value into a queue."
(if queue
(let ((n (list item)))
(setf (cdr (cdr queue)) n)
(setf (cdr queue) (last ... | Set to return queue on push | Set to return queue on push
| Common Lisp | artistic-2.0 | gingeralesy/crows-nest |
26fd2f69bef3ed653ad95f6b227edebc5dde1376 | 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)
(if (> a b)
0
(+ (funcall func a)
(sigma-sum func (1+ a) b))))
(defun square (x)
(* x x))
(sigma-sum #'(lambda(x) (/ 1 x)) 1 10)
(sigma-sum #'(lambda(... | ;; 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)) ... | Add optional paramater next as lambda expressions for sigma-sum | Add optional paramater next as lambda expressions for sigma-sum
| Common Lisp | mit | limbocode/lisp-insights,ryukinix/lisp-insights |
9a1a36497b64cf0d0c1a42ecef08bce17c5321e6 | Test/random-tree.lisp | Test/random-tree.lisp | (cl:in-package #:clump-test)
(defun random-tree (&optional (node-probability 1.0))
(if (< (random 1.0) node-probability)
(make-instance 'node
:data (random 20)
:left (random-tree (* 0.9 node-probability))
:right (random-tree (* 0.9 node-probability)))
nil))
| (cl:in-package #:clump-test)
(defun random-tree (node-class &optional (node-probability 1.0))
(if (< (random 1.0) node-probability)
(make-instance node-class
:data (random 20)
:left (random-tree node-class (* 0.9 node-probability))
:right (random-tree node-class (* 0.9 node-probability)))
nil))
| Add required parameter for the class of the nodes to create. | Add required parameter for the class of the nodes to create.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
1ba814398d1523d3d9122ac3e1a789265e0559db | euler.lisp | euler.lisp | (in-package #:euler)
(defun problem-1 ()
(loop :for i :from 1 :below 1000
:when (or (dividesp i 3)
(dividesp i 5))
:sum i))
(defun problem-2 ()
(loop :with p = 0
:with n = 1
:while (<= n 4000000)
:when (evenp n) :sum n
:do (psetf p n
... | (in-package #:euler)
(defun problem-1 ()
;; If we list all the natural numbers below 10 that are multiples of 3 or 5,
;; we get 3, 5, 6 and 9. The sum of these multiples is 23.
;;
;; Find the sum of all the multiples of 3 or 5 below 1000.
(loop :for i :from 1 :below 1000
:when (or (dividesp i 3)
... | Add comments with the Project Euler problem text | Add comments with the Project Euler problem text
| Common Lisp | mit | sjl/euler |
44e869596d6b6cd76f82fa23f4a1dc9e661b22cd | src/assembler/toplevel.lisp | src/assembler/toplevel.lisp | ; bender – Copyright (c) 2014–2015 Sven Michael Klose <pixel@copei.de>
(defun assemble-parsed-files (x)
(alet (assemble-multiple-passes x)
(unless *unassigned-segment-blocks*
(return !)))
(format t "Assembling again to assign BLOCKs to SEGMENTS…~%")
(sort-unassigned-segment-blocks)
(with-temporary *a... | ; bender – Copyright (c) 2014–2015 Sven Michael Klose <pixel@copei.de>
(defun assemble-parsed-files (x)
(alet (assemble-multiple-passes x)
(unless *unassigned-segment-blocks*
(return !)))
(format t "Assembling again to assign BLOCKs to SEGMENTS…~%")
(sort-unassigned-segment-blocks)
(with-temporary *a... | Reset program counter before dumping the listing. | Reset program counter before dumping the listing.
| Common Lisp | bsd-2-clause | SvenMichaelKlose/bender,SvenMichaelKlose/bender,SvenMichaelKlose/bender |
c80e6c4676afab9a44b08c4464850ac579e28dce | libraries/text-analysis/tokenize.lisp | libraries/text-analysis/tokenize.lisp | ;;;; SPDX-License-Identifier: BSD-3-Clause
(in-package :text-analysis)
(defun word-tokenize (string &key (remove-stop-words t) (stem nil) (down-case t) (alphabeticp t))
"Split a string into a list of words."
(let* ((alpha-scanner (cl-ppcre:create-scanner "^[A-Za-z]*$"))
(tokens (str:split " " (str:collap... | ;;;; SPDX-License-Identifier: BSD-3-Clause
(in-package :text-analysis)
(defun word-tokenize (string &key (remove-stop-words t) (stem nil) (down-case t) (alphabetic t))
"Split a string into a list of words."
(let* ((alpha-scanner (cl-ppcre:create-scanner "^[A-Za-z]*$"))
(tokens (str:split " " (str:collaps... | Rename ALPHABETICP to ALPHABETIC for consistency. | libraries/text-analysis: Rename ALPHABETICP to ALPHABETIC for consistency.
The other keyword arguments are also booleans but don't have the `p` suffix.
| Common Lisp | bsd-3-clause | jmercouris/NeXT,jmercouris/NeXT |
59b82fbe77f07c96ac4a6563bba4f0ad10c6a3cf | Code/Backends/Extrinsic-HIR-compiler/load-files.lisp | Code/Backends/Extrinsic-HIR-compiler/load-files.lisp | (cl:in-package #:sicl-extrinsic-hir-compiler)
(defun rp (filename)
(asdf:system-relative-pathname :sicl-extrinsic-hir-compiler filename))
(load (rp "../../Evaluation-and-compilation/lambda.lisp"))
(load (rp "../../Environment/multiple-value-bind.lisp"))
(load (rp "../../Data-and-control-flow/setf.lisp"))
(load (rp ... | (cl:in-package #:sicl-extrinsic-hir-compiler)
(defun rp (filename)
(asdf:system-relative-pathname :sicl-extrinsic-hir-compiler filename))
(load (rp "../../Evaluation-and-compilation/lambda.lisp"))
(load (rp "../../Environment/multiple-value-bind.lisp"))
(load (rp "../../Data-and-control-flow/setf.lisp"))
(load (rp ... | Load files containing recently-defined macros. | Load files containing recently-defined macros.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL |
613363ad5587588bfa9e767885f21cad3966d205 | Code/CLOS/effective-slot-definition-defclass.lisp | Code/CLOS/effective-slot-definition-defclass.lisp | (cl:in-package #:sicl-clos)
(defclass effective-slot-definition (slot-definition)
((%location
:initform nil
:initarg :location
:accessor slot-definition-location)))
| ;;;; Copyright (c) 2013 - 2015
;;;;
;;;; Robert Strandh (robert.strandh@gmail.com)
;;;;
;;;; All rights reserved.
;;;;
;;;; Redistribution and use in source and binary forms, with or
;;;; without modification, are permitted provided that the following
;;;; conditions are met:
;;;;
;;;; 1. Redistributions of source ... | Add copyright dates and license statement. | Add copyright dates and license statement.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL |
ab003586fd30fc253e2ef820c07dc307a6ea3951 | src/self-logger.lisp | src/self-logger.lisp | ;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;
;;; Copyright (c) 2012, Max Mikhanosha. All rights reserved.
;;;
;;; This file is licensed to You 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 L... | ;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;
;;; Copyright (c) 2012, Max Mikhanosha. All rights reserved.
;;;
;;; This file is licensed to You 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 L... | Add :immediate-flush to self-config options also | Add :immediate-flush to self-config options also
| Common Lisp | apache-2.0 | sharplispers/log4cl,7max/log4cl,7max/log4cl,sharplispers/log4cl |
3dd2a58d086063a4f0ee430efde7547f1b27ab52 | environment/stage3/read-integer.lisp | environment/stage3/read-integer.lisp | ;;;; TRE environment
;;;; Copyright (c) 2008 Sven Klose <pixel@copei.de>
(defun read-integer (&optional (str *standard-input*))
(with (rec #'(()
(if (digit-char-p (peek-char str))
(+ (- #\0 (read-char str)) (rec))
0)))
(when (digit-char-p (peek-char str))
(rec))))
| ;;;; TRE environment
;;;; Copyright (c) 2008 Sven Klose <pixel@copei.de>
(defun read-integer (&optional (str *standard-input*))
"Read positive integer from stream."
(with (rec #'((v)
(if (awhen (peek-char str)
(digit-char-p !))
(rec (+ (- (read-char str) #\0)
(* v 10)))
v)))
... | Test on end of stream. | READ-INTEGER: Test on end of stream.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
04815646d40692858ce5bcad6edbfaed05bbda92 | bld-ssweb.asd | bld-ssweb.asd | (asdf:defsystem :bld-ssweb
:name "bld-ssweb"
:author "Benjamin L. Diedrich <ben@solarsails.info>"
:license "MIT"
:description "Solar Sail Web Application"
:depends-on ("bld-utils" "bld-ode" "hunchentoot" "cl-who" "parenscript" "css-lite" "cl-json" "ht-simple-ajax" "cl-fad" "cl-csv")
:serial t
:components
... | (asdf:defsystem :bld-ssweb
:name "bld-ssweb"
:author "Benjamin L. Diedrich <ben@solarsails.info>"
:license "MIT"
:description "Solar Sail Web Application"
:depends-on ("bld-utils" "bld-ode" "hunchentoot" "cl-who" "parenscript" "css-lite" "cl-json" "ht-simple-ajax" "cl-fad" "cl-csv")
:serial t
:components
... | Load absorb-force lesson on startup | Load absorb-force lesson on startup
| Common Lisp | mit | bld/bld-ssweb,bld/bld-ssweb,bld/bld-ssweb,bld/bld-ssweb |
9d79d5cc7413cdc35d4bb8d5f63082f791abedab | 1.0/install.lisp | 1.0/install.lisp | (defvar *dist-url* "http://beta.quicklisp.org/dist/quicklisp/2017-02-27/distinfo.txt")
(load "quicklisp.lisp")
(quicklisp-quickstart:install :path "/opt/app-root/quicklisp/" :dist-url *dist-url*)
; Pre-load/compile useful content...
(ql:quickload :hunchentoot)
(ql:quickload :swank)
(with-open-file (out "/opt/app-ro... | (defvar *dist-url* "http://beta.quicklisp.org/dist/quicklisp/2017-04-03/distinfo.txt")
(load "quicklisp.lisp")
(quicklisp-quickstart:install :path "/opt/app-root/quicklisp/" :dist-url *dist-url*)
; Pre-load/compile useful content...
(ql:quickload :hunchentoot)
(ql:quickload :swank)
(with-open-file (out "/opt/app-ro... | Upgrade to latest quiclisp dist | Upgrade to latest quiclisp dist
| Common Lisp | apache-2.0 | atgreen/sti-lisp |
3f3166c5c51705d04da43b05a1ba90560a33f75a | net.sockets/namedb/file-monitor.lisp | net.sockets/namedb/file-monitor.lisp | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
;;;
;;; file-monitor.lisp --- Monitor files on disk.
;;;
(in-package :net.sockets)
(defclass file-monitor ()
((file :initform (error "Must supply a file name")
:initarg :file :accessor file-of)
(timestamp :initarg :timestamp :acces... | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
;;;
;;; file-monitor.lisp --- Monitor files on disk.
;;;
(in-package :net.sockets)
(defclass file-monitor ()
((file :initform (error "Must supply a file name")
:initarg :file :accessor file-of)
(timestamp :initarg :timestamp :acces... | Add default initarg to :LOCK of FILE-MONITOR class. | Add default initarg to :LOCK of FILE-MONITOR class.
| Common Lisp | mit | deadtrickster/iolib,lispnik/iolib,sionescu/iolib,vsedach/iolib-simple-mux,attila-lendvai/iolib,lispnik/iolib,sionescu/iolib,deadtrickster/iolib,shamazmazum/iolib,dkochmanski/iolib,attila-lendvai/iolib,attila-lendvai/iolib,deadtrickster/iolib,tiago4orion/iolib,sionescu/iolib,dkochmanski/iolib,tiago4orion/iolib,vsedach/i... |
3a3b1994ab17831ea848ef28bca0d71d23e81f6d | Code/Backends/Extrinsic-HIR-compiler/load-files.lisp | Code/Backends/Extrinsic-HIR-compiler/load-files.lisp | (cl:in-package #:sicl-extrinsic-hir-compiler)
(defun rp (filename)
(asdf:system-relative-pathname :sicl-extrinsic-hir-compiler filename))
(load (rp "../../Evaluation-and-compilation/lambda.lisp"))
(load (rp "../../Environment/multiple-value-bind.lisp"))
(load (rp "../../Data-and-control-flow/setf.lisp"))
(load (rp ... | (cl:in-package #:sicl-extrinsic-hir-compiler)
(defun rp (filename)
(asdf:system-relative-pathname :sicl-extrinsic-hir-compiler filename))
(load (rp "../../Evaluation-and-compilation/lambda.lisp"))
(load (rp "../../Environment/multiple-value-bind.lisp"))
(load (rp "../../Data-and-control-flow/setf.lisp"))
(load (rp ... | Load the definition of CL:FBOUNDP. | Load the definition of CL:FBOUNDP.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL |
4b7949abe226ae3121907b886ffaec6c60613758 | conn.lisp | conn.lisp | (in-package :cqlcl)
(defclass connection ()
;; TODO maybe this should hold an instance of a parser
((conn :accessor conn :initarg :conn)))
(defun make-connection (&optional (host "localhost") (port 9042))
(let ((conn (usocket:socket-stream
(usocket:socket-connect host port :element-type '(unsign... | (in-package :cqlcl)
(defclass connection ()
;; TODO maybe this should hold an instance of a parser
((conn :accessor conn :initarg :conn)))
(defun make-connection (&optional (host "localhost") (port 9042)); TODO: &key version compression)
(let ((conn (usocket:socket-stream
(usocket:socket-connect... | Add TODO for passing in version info and compression type | Add TODO for passing in version info and compression type
| Common Lisp | bsd-2-clause | AeroNotix/cqlcl |
f5f041b9d7613ffc52ed539ad8384ad995779d3f | Code/Boot/Phase1/sicl-boot-phase1.asd | Code/Boot/Phase1/sicl-boot-phase1.asd | (cl:in-package #:asdf-user)
(defsystem :sicl-boot-phase1
:depends-on (:sicl-extrinsic-environment)
:serial t
:components
((:file "packages")
(:file "temporary-standard-class")
(:file "fill")
(:file "environment")))
| (cl:in-package #:asdf-user)
(defsystem :sicl-boot-phase1
:depends-on (:sicl-extrinsic-environment)
:serial t
:components
((:file "packages")
(:file "fill")
(:file "environment")))
| Remove component defining temporary version of STANDARD-CLASS. | Remove component defining temporary version of STANDARD-CLASS.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL |
c39383c9fa69a62ba0181c80b34ad86dd85459b9 | Experimental/freetype/freetype-package.lisp | Experimental/freetype/freetype-package.lisp | (defpackage :mcclim-freetype
(:use :climi :clim :clim-lisp)
(:export :*freetype-font-path*)
(:import-from #+(or cmu scl) :alien
#+sbcl :sb-alien
:slot :make-alien :alien :deref))
| (cl:defpackage :mcclim-freetype
(:use :climi :clim :clim-lisp)
(:export :*freetype-font-path*)
(:import-from #+(or cmu scl) :alien
#+sbcl :sb-alien
:slot :make-alien :alien :deref))
| Use cl:defpackage for the freetype package, no matter what. | Use cl:defpackage for the freetype package, no matter what.
Maybe other package defns have the same problem. Will have to look into that.
| Common Lisp | lgpl-2.1 | quek/mcclim,informatimago/mcclim,informatimago/mcclim,quek/mcclim |
08eacd83ae66d43a7e7e3a79c26675d9b5e89c11 | src/toys.lisp | src/toys.lisp | (in-package :6502)
(defparameter *benchmark*
'(;; Clear the Decimal and Carry status bits
#xd8 ; $0000 d8 CLD
#x18 ; $0001 18 CLC
;; Set the Accumulator and X and Y regs to zero
#xa9 #x00 ; $0002 a9 00 LDA #$00
#xa2 #x00 ; $0004 a2 00 LDX #$00
#xa0 #x00 ; $0006 a0 00 LDY ... | (in-package :6502)
(defparameter *benchmark*
'(;; Clear the Decimal and Carry status bits
#xd8 ; $0000 d8 CLD
#x18 ; $0001 18 CLC
;; Set the Accumulator and X and Y regs to zero
#xa9 #x00 ; $0002 a9 00 LDA #$00
#xa2 #x00 ; $0004 a2 00 LDX #$00
#xa0 #x00 ; $0006 a0 00 LDY ... | Improve *benchmark* and its documentation. | Improve *benchmark* and its documentation.
| Common Lisp | bsd-2-clause | redline6561/cl-6502,kingcons/cl-6502,kingcons/cl-6502,redline6561/cl-6502 |
6c2870320d0e209ad37f85eefb2f5417c2056a1d | 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 | lispnik/usocket,dkochmanski/usocket,tmccombs/usocket |
3139878d4b11304d3895b873df28f0dc047c6f5f | Code/Cleavir/Test-utilities/cleavir-test-utilities.asd | Code/Cleavir/Test-utilities/cleavir-test-utilities.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :cleavir-test-utilities
:depends-on (:cleavir-utilities)
:components
((:file "packages")
(:file "test-utilities" :depends-on ("packages"))))
| (cl:in-package #:asdf-user)
(defsystem :cleavir-test-utilities
:depends-on (:cleavir-utilities)
:components
((:file "packages")
(:file "test-utilities" :depends-on ("packages"))))
| Define system in package ASDF-USER. | Define system in package ASDF-USER.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
03eb09b9f3541f2ca39a113c2dfa600d57a112d6 | 1.0/install.lisp | 1.0/install.lisp | (defvar *dist-url* "http://beta.quicklisp.org/dist/quicklisp/2016-08-25/distinfo.txt")
(load "quicklisp.lisp")
(quicklisp-quickstart:install :path "/opt/app-root/quicklisp/" :dist-url *dist-url*)
; Pre-load/compile useful content...
(ql:quickload :hunchentoot)
(with-open-file (out "/opt/app-root/.sbclrc" :direction... | (defvar *dist-url* "http://beta.quicklisp.org/dist/quicklisp/2016-08-25/distinfo.txt")
(load "quicklisp.lisp")
(quicklisp-quickstart:install :path "/opt/app-root/quicklisp/" :dist-url *dist-url*)
; Pre-load/compile useful content...
(ql:quickload :hunchentoot)
(ql:quickload :swank)
(with-open-file (out "/opt/app-ro... | Add swank. Uses port 4005. | Add swank. Uses port 4005.
| Common Lisp | apache-2.0 | atgreen/sti-lisp |
cd363f9867a1734ee52ed92f65feab3921bedab8 | src/response/respond.lisp | src/response/respond.lisp | (in-package #:eloquent.mvc.response)
(defun respond (body
&key
(encoder #'identity)
(headers '())
(status 200))
(make-instance '<response>
:body (funcall encoder body)
:status status
:headers head... | (in-package #:eloquent.mvc.response)
(defun respond (body
&key
(encoder #'identity)
(headers '())
(status 200))
(when (keywordp encoder)
(setf encoder (make-encoder encoder)))
(make-instance '<response>
:body (funcall encode... | Support passing keyword as encoder to RESPOND | Support passing keyword as encoder to RESPOND
In the function RESPOND, it will call MAKE-ENCODER if the encoder is a
keyword symbol
| Common Lisp | mit | Liutos/eloquent-mvc,Liutos/eloquent-mvc |
c3a5e8dc5d17e7034f9713bc2d0f392ba9921f06 | src/cl21.lisp | src/cl21.lisp | (defpackage cl21)
(in-package :cl21)
(cl:dolist (package-name '(:cl21.core))
(cl:let ((package (cl:find-package package-name)))
(cl:unless package
(cl:error "Package \"~A\" doesn't exist." package-name))
(cl:do-external-symbols (symbol package)
(cl:shadowing-import symbol)
(cl:export symbol... | (defpackage cl21)
(cl:in-package :cl21)
(cl:dolist (package-name '(:cl21.core))
(cl:let ((package (cl:find-package package-name)))
(cl:unless package
(cl:error "Package \"~A\" doesn't exist." package-name))
(cl:do-external-symbols (symbol package)
(cl:shadowing-import symbol)
(cl:export sym... | Fix error 'The function CL21.CORE.PACKAGE:IN-PACKAGE is undefined.' by sbcl. | Fix error 'The function CL21.CORE.PACKAGE:IN-PACKAGE is undefined.' by sbcl.
| Common Lisp | unlicense | cl21/cl21 |
88daa44932e0b25d9bf275453a2593fccf283a27 | src/response/encoder.lisp | src/response/encoder.lisp | (in-package #:eloquent.mvc.response)
(defgeneric make-encoder (encoder)
(:documentation "Returns a function for encoding a value into a string."))
(defmethod make-encoder ((encoder (eql :json-plist)))
"Returns a function for encoding a PLIST into a JSON string."
#'cl-json:encode-json-plist-to-string)
(defmetho... | (in-package #:eloquent.mvc.response)
(defgeneric make-encoder (encoder)
(:documentation "Returns a function for encoding a value into a string."))
(defmethod make-encoder ((encoder (eql :json-plist)))
"Returns a function for encoding a PLIST into a JSON string."
#'cl-json:encode-json-plist-to-string)
(defmetho... | Fix a bug: add comma when serializing plist into JSON | Fix a bug: add comma when serializing plist into JSON
The macro CL-JSON:WITH-ARRAY does not add the comma separator
automatically, refactor the method ELOQUENT.MVC.RESPONSE:MAKE-ENCODER
on :JSON-PLIST-LIST by the LOOP macro.
| Common Lisp | mit | Liutos/eloquent-mvc,Liutos/eloquent-mvc |
923f59c7684d5589124bfd8cb00f0fc5451581ae | 2-3-tree/2-3-tree.lisp | 2-3-tree/2-3-tree.lisp | (cl:in-package #:clump-2-3-tree)
(defclass tree ()
((%contents :initform nil :accessor contents)
(%leaf-class :initarg :leaf-class :reader leaf-class)
(%2-node-class :initarg :2-node-class :reader 2-node-class)
(%3-node-class :initarg :3-node-class :reader 3-node-class)))
(defclass node ()
((%parent :ini... | (cl:in-package #:clump-2-3-tree)
(defclass tree ()
((%contents :initform nil :accessor contents)
(%leaf-class :initarg :leaf-class :reader leaf-class)
(%2-node-class :initarg :2-node-class :reader 2-node-class)
(%3-node-class :initarg :3-node-class :reader 3-node-class)))
(defclass node ()
((%parent :ini... | Define generic function 2-NODE-P with two methods. | Define generic function 2-NODE-P with two methods.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
67e29cce5f6a3d374f22c15c37aa717d7ba23742 | swap-bytes.asd | swap-bytes.asd | ;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
(defsystem :swap-bytes
:defsystem-depends-on (:madeira-port :trivial-features)
:depends-on (:trivial-features)
:serial t
:components ((:file "package")
(:madeira-port "ccl"
:when (:and :ccl (:or :x86 :x86-64)))
(:madeir... | ;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
(defsystem :swap-bytes
:defsystem-depends-on (:madeira-port :trivial-features)
:depends-on (:trivial-features)
:components ((:file "package")
(:madeira-port "ccl"
:when (:and :ccl (:or :x86 :x86-64))
:depends-on ("packag... | Use direct dependencies in ASDF | Use direct dependencies in ASDF
| Common Lisp | mit | sionescu/swap-bytes |
e0de9c92e774f77cab1a4cd92e2ac922ac3a807e | repl-utilities.asd | repl-utilities.asd | ;;;; repl-utilities.asd
(asdf:defsystem #:repl-utilities
:serial t
:description "Ease common tasks at the REPL."
:license "BSD 2-clause"
:author "Matt Niemeir"
:components ((:file "package")
(:file "utils")
(:file "repl-utilities")))
| ;;;; repl-utilities.asd
(asdf:defsystem #:repl-utilities
:serial t
:description "Ease common tasks at the REPL."
:license "BSD 2-clause"
:author "Matt Niemeir <matt.niemeir@gmail.com>"
:components ((:file "package")
(:file "utils")
(:file "repl-utilities")))
| Add email in asdf system author field | Add email in asdf system author field
| Common Lisp | bsd-2-clause | m-n/repl-utilities |
ae1ac150dc986c6b7f8fb7ffe81ea4b683cd0773 | lispkit.lisp | lispkit.lisp | (in-package :lispkit)
(defparameter *current-tab* nil)
(defun load-url (url &optional view)
(webkit.foreign:webkit-web-view-load-uri
(or view *current-tab*) url))
(defun event-as-string (event)
(with-gdk-event-slots (state string) event
(print (list state string))))
(let ((key-events nil))
(defun all-... | (in-package :lispkit)
(defparameter *current-tab* nil)
(defun load-url (url &optional view)
(webkit.foreign:webkit-web-view-load-uri
(or view *current-tab*) url))
(defun event-as-string (event)
(with-gdk-event-slots (state string) event
(print (list state string))))
(let ((key-events nil))
(defun all-... | Return nil in keypress handler | Return nil in keypress handler
| Common Lisp | bsd-2-clause | AeroNotix/lispkit,AeroNotix/lispkit |
294bd97e2a31467374f259a3d96463c63f641fb8 | package.lisp | package.lisp | (defpackage :ps2js
(:use #:cl
#:uiop/pathname
#:uiop/filesystem
#:uiop/run-program
#:cl-fsnotify
#:alexandria)
(:export #:bundle-vendor
#:bundle-main
#:minify-js
#:watch-parenscript
#:unwatch-parenscript)
(:documentation "Automati... | (defpackage :ps2js
(:use #:cl
#:uiop/pathname
#:uiop/filesystem
#:uiop/run-program
#:cl-fsnotify
#:alexandria)
;;; You are probably best off using package qualified names rather
;;; than importing all of this mess...
(:export #:*ps-dir*
#:*js-dir*
#:... | Fix export list to include specials | Fix export list to include specials
| Common Lisp | mit | gtod/ps2js |
88d38af88a9475af0631ac2ee79e73913bce35f4 | Code/Conditionals/Test/sicl-conditionals-test.asd | Code/Conditionals/Test/sicl-conditionals-test.asd | ;;;; Copyright (c) 2008 - 2013
;;;;
;;;; Robert Strandh (robert.strandh@gmail.com)
;;;;
;;;; all rights reserved.
;;;;
;;;; Permission is hereby granted to use this software for any
;;;; purpose, including using, modifying, and redistributing it.
;;;;
;;;; The software is provided "as-is" with no warranty. The u... | ;;;; Copyright (c) 2008 - 2013
;;;;
;;;; Robert Strandh (robert.strandh@gmail.com)
;;;;
;;;; all rights reserved.
;;;;
;;;; Permission is hereby granted to use this software for any
;;;; purpose, including using, modifying, and redistributing it.
;;;;
;;;; The software is provided "as-is" with no warranty. The u... | Define ASDF system in package ASDF-USER. | Define ASDF system in package ASDF-USER.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL |
357e0daf6e67de9d07821a3b6997b21d069a4ff6 | 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)
(defparameter *host* "chat.lerax.me")
(defparameter *port* 5558)
| ;; Common Lisp Script
;; Manoel Vilela
(defpackage :lisp-chat-config
(:use :cl)
(:export :*debug*
:*host*
:*port*))
(in-package :lisp-chat-config)
(defparameter *debug* t)
(defparameter *host* "0.0.0.0")
(defparameter *port* 5558)
| Use 0.0.0.0 as default *host* | Use 0.0.0.0 as default *host*
| Common Lisp | mit | ryukinix/lisp-chat,ryukinix/lisp-chat |
0a23acf6599aeeb75b15bf8f57934cd94f603b36 | environment/transpiler/targets/common-lisp/core/image.lisp | environment/transpiler/targets/common-lisp/core/image.lisp | (defbuiltin sys-image-create (pathname fun)
(sb-ext:save-lisp-and-die pathname
:toplevel (lambda ()
(cl:funcall fun))))
(defbuiltin %start-core ()
(setq *launchfile* (cadr (| sb-ext:*posix-argv*
; #+SBCL sb-ext:*posix-a... | (defbuiltin sys-image-create (pathname fun)
(sb-ext:save-lisp-and-die pathname
:toplevel (lambda ()
(cl:funcall fun))))
(defbuiltin %start-core ()
(cl:use-package :tre)
(setq *launchfile* (cadr (| sb-ext:*posix-argv*
; ... | Switch to package :TRE to be safe. | Switch to package :TRE to be safe.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
181c7b9da23fcf53bcd6a52c41224a2cab8d66ab | explicit-bind.asd | explicit-bind.asd | (asdf:defsystem #:explicit-bind
:author "Jean-Philippe Paradis <hexstream@gmail.com>"
;; See the UNLICENSE file for details.
:license "Public Domain"
:description "UNSUPPORTED. UNSTABLE? INCOMPLETE? Effectively enables intermixing of any number of LET, LET*, (an enhanced version of) FLET, MULTIPLE-VALUE-BIND... | (asdf:defsystem #:explicit-bind
:author "Jean-Philippe Paradis <hexstream@gmail.com>"
;; See the UNLICENSE file for details.
:license "Public Domain"
:description "UNSUPPORTED. UNSTABLE? INCOMPLETE? Effectively enables intermixing of any number of LET, LET*, (an enhanced version of) FLET, MULTIPLE-VALUE-BIND... | Revert back to :serial t. | Revert back to :serial t.
| Common Lisp | unlicense | Hexstream/explicit-bind |
cbb5c9d81fbf4d7387fc05b1165ad752e076d6cc | Code/Compiler/Test-utilities/sicl-compiler-test-utilities.asd | Code/Compiler/Test-utilities/sicl-compiler-test-utilities.asd | (cl:in-package #:asdf-user)
(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)
:serial t
:components
((:file "packages")
(:file "test-utilities")))
| Use system option :SERIAL T. | Use system option :SERIAL T.
| 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 |
4af05f55cae56ab6cd41a49a9d8f6765d637dc30 | tests/tests.lisp | tests/tests.lisp | (cl:defpackage #:enhanced-eval-when_tests
(:use #:cl #:parachute)
(:shadowing-import-from #:enhanced-eval-when #:eval-when))
(cl:in-package #:enhanced-eval-when_tests)
(defmacro test-passthrough (situations)
`(is equal
(macroexpand-1 '(eval-when ,situations do-it))
'(cl:eval-when ,situations do-it... | (cl:defpackage #:enhanced-eval-when_tests
(:use #:cl #:parachute)
(:shadowing-import-from #:enhanced-eval-when #:eval-when))
(cl:in-package #:enhanced-eval-when_tests)
(defmacro test-passthrough (situations)
`(is equal '(cl:eval-when ,situations do-it)
(macroexpand-1 '(eval-when ,situations do-it))))
(d... | Use proper argument order for IS. | Tests: Use proper argument order for IS.
| Common Lisp | unlicense | Hexstream/enhanced-eval-when |
43d1528718be2e3322d11953d4e91cfeab26c596 | Code/Backends/Extrinsic-HIR-compiler/create-global-environment.lisp | Code/Backends/Extrinsic-HIR-compiler/create-global-environment.lisp | (cl:in-package #:sicl-extrinsic-hir-compiler)
(defparameter *global-environment*
(make-instance 'environment))
| (cl:in-package #:sicl-extrinsic-hir-compiler)
(defparameter *environment* (make-instance 'environment))
| Rename global variable holding global environment. | Rename global variable holding global environment.
| 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 |
0014b577ab96010ee69ed49b97b01d4a18c5ba21 | Code/CLOS/standard-writer-method-defclass.lisp | Code/CLOS/standard-writer-method-defclass.lisp | (cl:in-package #:sicl-clos)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Class STANDARD-WRITER-METHOD.
(defclass standard-writer-method (standard-accessor-method)
())
| ;;;; Copyright (c) 2013 - 2015
;;;;
;;;; Robert Strandh (robert.strandh@gmail.com)
;;;;
;;;; All rights reserved.
;;;;
;;;; Redistribution and use in source and binary forms, with or
;;;; without modification, are permitted provided that the following
;;;; conditions are met:
;;;;
;;;; 1. Redistributions of source ... | Add copyright dates and license statement. | Add copyright dates and license statement.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL |
8ad37a04980f0f76682c0c70867413b7c6a35478 | Code/Boot/Phase1/temporary-ensure-class.lisp | Code/Boot/Phase1/temporary-ensure-class.lisp | (cl:in-package #:sicl-clos)
(defun ensure-class (name
&rest arguments
&key direct-superclasses
&allow-other-keys)
(let* ((generated-name (gensym))
(environment (sicl-genv:global-environment))
(new-arguments (copy-list arguments))
(new-superclasses
(loop for superclass-name in (remove t... | (cl:in-package #:sicl-clos)
(defun ensure-class (name
&rest arguments
&key direct-superclasses
&allow-other-keys)
(let* ((generated-name (gensym))
(environment (sicl-genv:global-environment))
(new-arguments (copy-list arguments))
(new-superclasses
(loop for superclass-name in (remove t... | Remove :METACLASS keyword argument before passing it to the host ENSURE-CLASS. | Remove :METACLASS keyword argument before passing it to the host ENSURE-CLASS.
| 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 |
a87f1c26c89ecda60cb5755ddfcc8d1626319749 | test-tal.lisp | test-tal.lisp | (defun test-parse ()
(let* ((it.bese.yaclml.xmls::*strip-comments* nil)
(str (arnesi:read-string-from-file "/home/ACCELERATION/nathan/lisp/gainesville-green/templates/faq.tal"))
(form2 (cxml:parse str
(make-interner *uri-to-package*
(cxml:make-whitespace-normalizer
(cxml-xmls:make-xmls-bui... | (in-package :ucw)
(defun test-parse ()
(let* ((it.bese.yaclml.xmls::*strip-comments* nil)
(str (arnesi:read-string-from-file "/home/ACCELERATION/nathan/lisp/gainesville-green/templates/faq.tal"))
(form2 (cxml:parse str
(make-interner *uri-to-package*
(cxml:make-whitespace-normalizer
(cxml-... | Put the test file in a reasonable package. | Put the test file in a reasonable package.
| Common Lisp | bsd-3-clause | lucashpandolfo/talcl |
2576fca828f73b6c84a13283887d26debdc6ad62 | 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))
(defmethod delete ((leaf leaf))
(delete-child (parent leaf) leaf))
| (cl:in-package #:clump-2-3-tree)
(defgeneric delete (leaf))
(defgeneric delete-child (parent child))
(defgeneric replace-and-shrink (parent child))
(defmethod delete ((leaf leaf))
(delete-child (parent leaf) leaf))
| Define new generic function REPLACE-AND-SHRINK. | Define new generic function REPLACE-AND-SHRINK.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
c55c41236be0034e2076058ce95fb01b048014c6 | bld-ga.asd | bld-ga.asd | (asdf:defsystem :bld-ga
:name "bld-ga"
:author "Ben Diedrich <bldiedrich@gmail.com>"
:license "MIT"
:description "Library implementing geometric algebra. Define algebras based on dimension and inner product signature. Uses BLD-GEN system for generic arithmetic functions. Use BLD-GENSYM for symbolic scalars and ... | (asdf:defsystem :bld-ga
:name "bld-ga"
:author "Ben Diedrich <bldiedrich@gmail.com>"
:license "MIT"
:description "Library implementing geometric algebra. Define algebras based on dimension and inner product signature. Uses BLD-GEN system for generic arithmetic functions. Use BLD-GENSYM for symbolic scalars and ... | Include eg.lisp in ASD file to automaticall compile example algebras for convenience | Include eg.lisp in ASD file to automaticall compile example algebras for convenience
| Common Lisp | mit | bld/bld-ga |
c15009d0851e5afb288d0307870bb1ba1e334b0a | Code/Backends/Extrinsic-HIR-compiler/eval.lisp | Code/Backends/Extrinsic-HIR-compiler/eval.lisp | (cl:in-package #:sicl-extrinsic-hir-compiler)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Main entry point.
(defun eval (form)
(let* ((cleavir-generate-ast:*compiler* 'cl:eval)
(ast (cleavir-generate-ast:generate-ast form *environment*))
(hir (cleavir-ast-to-hir:compile-toplev... | (cl:in-package #:sicl-extrinsic-hir-compiler)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Main entry point.
(defun eval (form)
(let* ((cleavir-generate-ast:*compiler* 'cl:eval)
(ast (cleavir-generate-ast:generate-ast form *environment*))
(hir (cleavir-ast-to-hir:compile-toplev... | Make the two function have the same shape. | Make the two function have the same shape.
| Common Lisp | bsd-2-clause | vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL |
f7f126e9bd900229aa04e9bf83da0ed8130b0d0f | environment/stage1/member.lisp | environment/stage1/member.lisp | ;;;;; TRE environment
;;;;; Copyright (c) 2005-2006,2008,2010 Sven Klose <pixel@copei.de>
(if (not (eq t *BUILTIN-MEMBER*))
(progn
(defun %member-r (elm lst)
(if lst
(if (equal elm (car lst))
lst
(%member-r elm (cdr lst)))))
(defun member (elm &rest lsts)
(or (%membe... | ;;;;; TRE environment
;;;;; Copyright (c) 2005-2006,2008,2010-2011 Sven Klose <pixel@copei.de>
(if (not (eq t *BUILTIN-MEMBER*))
(progn
(defun %member-r (elm lst)
(if lst
(if (equal elm (car lst))
lst
(%member-r elm (cdr lst)))))
(defun member (elm &rest lsts)
(or (%... | Return the cell, not the element. | Return the cell, not the element.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
dcd2de68bac62ab6670fce26d7eb74935f158822 | Scenario/rescue/model-01.lisp | Scenario/rescue/model-01.lisp | (:nav-graph (((0.0 0.0 :id 1)
(0.0 1.0 :id 2)
(1.0 1.0 :id 3)
(1.0 0.0 :id 4))
((1 2) (2 1)
(1 4) (4 1)
(2 3) (3 2)))
:home-node 1)
| (:nav-graph (((0.0 0.0 :id 1)
(0.0 1.0 :id 2)
(1.0 1.0 :id 3)
(1.0 0.0 :id 4))
((1 2) (2 1)
(1 4) (4 1)
(2 3) (3 2)))
:home-nodes (1))
| Fix bugs introduced by merge | Fix bugs introduced by merge
| Common Lisp | mit | hoelzl/Academia,hoelzl/Academia |
6524766e4919c4d32db140f9d9c54524f5fb1895 | fsocket.asd | fsocket.asd | ;;;; fsocket.asd
(asdf:defsystem #:fsocket
:description "Unix sockets extension for usocket."
:author "Thayne McCombs <bytecurry.software@gmail.com>"
:license "MIT"
:depends-on (#:usocket)
:serial t
:components ((:file "package")
(:file "fsocket")))
| ;;;; fsocket.asd
(asdf:defsystem #:fsocket
:description "Unix sockets extension for usocket."
:author "Thayne McCombs <bytecurry.software@gmail.com>"
:license "MIT"
:depends-on (#:usocket)
:components ((:file "package")
(:file "fsocket" :depends-on ("package"))
(:module backend ... | Add backends to asdf file. | Add backends to asdf file.
| Common Lisp | mit | bytecurry/fsocket |
790e2663844712454e2eda88151beace66ce14f9 | Code/Cleavir/AST-to-source/cleavir-ast-to-source.asd | Code/Cleavir/AST-to-source/cleavir-ast-to-source.asd | (cl:in-package #:common-lisp-user)
(asdf:defsystem :cleavir-ast-to-source
:depends-on (:cleavir-ast :cleavir-primop)
:serial t
:components
((:file "packages")
(:file "ast-to-source")
(:file "fixnum")
(:file "accessors")))
| (cl:in-package #:asdf-user)
(defsystem :cleavir-ast-to-source
:depends-on (:cleavir-ast :cleavir-primop)
:serial t
:components
((:file "packages")
(:file "ast-to-source")
(:file "fixnum")
(:file "accessors")))
| Define system in package ASDF-USER | Define system in package ASDF-USER
| 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 |
93ba63a3e2166af53f216719c08225dc2215ef47 | Code/Boot/Phase1/fill.lisp | Code/Boot/Phase1/fill.lisp | (cl:in-package #:sicl-boot-phase1)
(defun ld (filename environment)
(format *trace-output* "Loading file ~a~%" filename)
(finish-output *trace-output*)
(sicl-extrinsic-environment:load-source-with-environments
filename (compilation-environment environment) environment))
(defun fill-environment (environment)
... | (cl:in-package #:sicl-boot-phase1)
(defun ld (filename environment)
(format *trace-output* "Loading file ~a~%" filename)
(finish-output *trace-output*)
(sicl-extrinsic-environment:load-source-with-environments
filename (compilation-environment environment) environment))
(defun fill-environment (environment)
... | Load file containing definition of variable *CLASS-UNIQUE-NUMBER*. | Load file containing definition of variable *CLASS-UNIQUE-NUMBER*.
| 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 |
d2b1e28f6966866c3c45ac3b03917431c19b4524 | 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?q=~a")
(defun lookup-jump (s table)
(gethash s table))
(defun extract-jump-str (s)
(let ((splits (split-sequence #\... | (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")
(defjump *jumps* "gh" "https://github.com/search?&q=~a")
(defun lookup-jump (s table)
(gethash s table))
(defu... | Add github to the jump table | Add github to the jump table
| Common Lisp | bsd-2-clause | AeroNotix/lispkit,AeroNotix/lispkit |
4728f03d26a4b822a5bd76076f84dc37abdfb5c2 | Binary-tree/rotation.lisp | Binary-tree/rotation.lisp | (cl:in-package #:clump-binary-tree)
(defgeneric rotate-left (tree))
(defgeneric rotate-right (tree))
(defmethod rotate-left ((tree node))
(when (null (right tree))
(error 'right-subtree-must-be-non-nil :tree tree))
| (cl:in-package #:clump-binary-tree)
(defgeneric rotate-left (tree))
(defgeneric rotate-right (tree))
(defmethod rotate-left (tree)
(error 'invalid-binary-tree :tree tree))
(defmethod rotate-left ((tree node))
(when (null (right tree))
(error 'right-subtree-must-be-non-nil :tree tree))
| Add default method on ROTATE-LEFT. | Add default method on ROTATE-LEFT.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
854221e354a464357ad617ebc72e3b0d1053bafb | binary.lisp | binary.lisp | #|
This file is a part of LASS
(c) 2014 TymoonNET/NexT http://tymoon.eu (shinmera@tymoon.eu)
Author: Nicolas Hafner <shinmera@tymoon.eu>
|#
(defpackage #:binary-lass
(:nicknames #:org.tymoonnext.lass.bianry)
(:use #:cl)
(:export
#:main
#:cmd-wrapper))
(in-package #:binary-lass)
(defun main (&optional i... | #|
This file is a part of LASS
(c) 2014 TymoonNET/NexT http://tymoon.eu (shinmera@tymoon.eu)
Author: Nicolas Hafner <shinmera@tymoon.eu>
|#
(defpackage #:binary-lass
(:nicknames #:org.tymoonnext.lass.bianry)
(:use #:cl)
(:export
#:main
#:cmd-wrapper))
(in-package #:binary-lass)
(defun main (&optional i... | Fix for other impls (specifically CCL) | Fix for other impls (specifically CCL)
| Common Lisp | artistic-2.0 | Shinmera/LASS,Shinmera/LASS,HiTECNOLOGYs/LASS,HiTECNOLOGYs/LASS,Shinmera/LASS,HiTECNOLOGYs/LASS |
cf50d40d98da2370ab44088da34a74c9602f87a4 | Code/Compiler/Extrinsic-compiler/File-compiler/introduce-immediate.lisp | Code/Compiler/Extrinsic-compiler/File-compiler/introduce-immediate.lisp | (cl:in-package #:sicl-extrinsic-file-compiler)
(defmethod cleavir-hir-transformations:introduce-immediate
(constant
(implementation sicl-target-sicl:sicl)
(processor sicl-x86-64:x86-64)
os)
(let ((value (cleavir-ir:value constant)))
(cond ((and (typep value 'integer)
(<= #.(- (expt 2 30)) va... | (cl:in-package #:sicl-extrinsic-file-compiler)
(defmethod cleavir-hir-transformations:introduce-immediate
(constant
(implementation sicl-target-sicl:sicl)
(processor cleavir-processor-x86-64:x86-64)
os)
(let ((value (cleavir-ir:value constant)))
(cond ((and (typep value 'integer)
(<= #.(- (e... | Use processor class from Cleavir. | Use processor class from Cleavir.
| 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 |
2ce5256d2a422ecdc7df555a069d1fde1b85c776 | 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 METAOBJECT. | Load a file containing the definition of the class METAOBJECT.
| 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 |
23df2c9cf93fd1cb93548c1899cc7cec097a7470 | environment/transpiler/environment/equality.lisp | environment/transpiler/environment/equality.lisp | ;;;;; TRE transpiler environment
;;;;; Copyright (c) 2008-2009,2011 Sven Klose <pixel@copei.de>
(defun eql (x y)
(unless x ; Convert falsity to 'null'.
(setq x nil))
(unless y
(setq y nil))
(or (%%%eq x y)
(= x y)))
| ;;;;; tré - Copyright (c) 2008-2009,2011 Sven Klose <pixel@copei.de>
(defun eql (x y)
(unless x ; Convert falsity to 'null'.
(setq x nil))
(unless y
(setq y nil))
(or (%%%eq x y)
(? (or (number? x) (number? y))
(?
(and (integer? x) (integer? y))
(integer= x y)
(... | Return NIL if numbers don't have the same type. | EQL: Return NIL if numbers don't have the same type.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
bd3e51fba319d0692ab43a8b37458e47d313bc2c | 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 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-... | (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-... | Add temporary methods for BUILT-IN-CLASS. | Add temporary methods for BUILT-IN-CLASS.
| 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 |
aaff62259372b75e8fe9f1bf8a4c719a5b7175e0 | Binary-tree/clump-binary-tree.asd | Binary-tree/clump-binary-tree.asd | (cl:in-package #:asdf-user)
(defsystem :clump-binary-tree
:depends-on (:acclimation)
:serial t
:components
((:file "packages")
(:file "binary-tree")
(:file "conditions")
(:file "replace-child")
(:file "rotation")
(:file "recursive-traversal")
(:file "iterative-traversal")
(:file "docstring... | (cl:in-package #:asdf-user)
(defsystem :clump-binary-tree
:depends-on (:acclimation)
:serial t
:components
((:file "packages")
(:file "binary-tree")
(:file "conditions")
(:file "replace-child")
(:file "rotation")
(:file "recursive-traversal")
(:file "iterative-traversal")
(:file "splay")
... | Add moved and renamed component to system definition. | Add moved and renamed component to system definition.
| Common Lisp | bsd-2-clause | robert-strandh/Clump |
7d7d53c8eea5260f76659459cced7a9c2098a9a3 | clobber.asd | clobber.asd | (cl:in-package #:asdf-user)
(defsystem :clobber
:serial t
:components
((:file "packages")
(:file "clobber")
(:file "demo")
(:file "demo2")))
| (cl:in-package #:asdf-user)
(defsystem :clobber
:description "Library for transaction-oriented data bases."
:author "Robert Strandh <robert.strandh@gmail.com>"
:license "FreeBSD, see file LICENSE.text"
:serial t
:components
((:file "packages")
(:file "clobber")
(:file "demo")
(:file "demo2")))
| Add metadata required by Quicklisp. | Add metadata required by Quicklisp.
| Common Lisp | bsd-2-clause | robert-strandh/Clobber |
d929b788265af6c1cf78cc45bdc11ef983a1e367 | colleen.asd | colleen.asd | #|
This file is a part of Colleen
(c) 2014 Shirakumo http://tymoon.eu (shinmera@tymoon.eu)
Author: Nicolas Hafner <shinmera@tymoon.eu>
|#
(in-package #:cl-user)
(asdf:defsystem colleen
:version "2.2.0"
:license "Artistic"
:author "Nicolas Hafner <shinmera@tymoon.eu>"
:maintainer "Nicolas Hafner <shinmera@ty... | #|
This file is a part of Colleen
(c) 2014 Shirakumo http://tymoon.eu (shinmera@tymoon.eu)
Author: Nicolas Hafner <shinmera@tymoon.eu>
|#
(asdf:defsystem colleen
:version "2.2.0"
:license "Artistic"
:author "Nicolas Hafner <shinmera@tymoon.eu>"
:maintainer "Nicolas Hafner <shinmera@tymoon.eu>"
:homepage ... | Remove in-package from ASD file. | Remove in-package from ASD file.
| Common Lisp | artistic-2.0 | Shinmera/colleen,Shinmera/colleen |
cca08bad4839de4f1ac7b500fb919bd6067488a0 | environment/transpiler/compile-environment.lisp | environment/transpiler/compile-environment.lisp | ;;;;; tré – Copyright (c) 2008–2013 Sven Michael Klose <pixel@copei.de>
(defun %compile-environment-configure-transpiler (tr funs)
(= (transpiler-dot-expand? (copy-transpiler tr)) nil)
(transpiler-add-wanted-functions tr (| funs (+ *universe-functions* *macros*)))
tr)
(defun compile-c-environment (&optional (fu... | ;;;;; tré – Copyright (c) 2008–2013 Sven Michael Klose <pixel@copei.de>
(defun %compile-environment-configure-transpiler (tr funs)
(= (transpiler-dot-expand? (copy-transpiler tr)) nil)
(transpiler-add-wanted-functions tr (| funs (+ *universe-functions* *macros*)))
tr)
(defun compile-c-environment (&optional (fu... | Return bytecode instead of NIL. | Return bytecode instead of NIL.
| Common Lisp | mit | SvenMichaelKlose/tre,SvenMichaelKlose/tre,SvenMichaelKlose/tre |
17b10fcb91e84a4144a37a41dec6999306535da2 | Backends/CLX/standard-keysym-rules.lisp | Backends/CLX/standard-keysym-rules.lisp | ;;;; ----------------------------------------------------------------------
;;;; Title: X11 standard keysym interpretation rules
;;;; Created: 2016-01-25
;;;; Author: Robert Strandh <robert.strandh@gmail.com>
;;;; License: LGPL (See file COPYING for details).
;;;; --------------------------------------------... | ;;;; ----------------------------------------------------------------------
;;;; Title: X11 standard keysym interpretation rules
;;;; Created: 2016-01-25
;;;; Author: Robert Strandh <robert.strandh@gmail.com>
;;;; License: LGPL (See file COPYING for details).
;;;; --------------------------------------------... | Define a class to hold interpretation information. | Define a class to hold interpretation information.
| Common Lisp | lgpl-2.1 | onixie/mcclim,slyrus/mcclim,onixie/mcclim,onixie/mcclim,slyrus/mcclim |
b0470d4d6b5eec088b1dce11f9058e9fd5dceed7 | routes.lisp | routes.lisp | (in-package #:saluto)
(defvar *providers* '()
"Variable, containing providers objects
Should be replaced when mounting module")
(defun parse-provider (provider-name)
(or (find provider-name (print *providers*) :key #'name :test #'string=)
(error "SALUTO: No such provider ~A" provider-name)))
(restas:define... | (in-package #:saluto)
(defvar *providers* '()
"Variable, containing providers objects
Should be replaced when mounting module")
(defun parse-provider (provider-name)
(or (find provider-name *providers* :key #'name :test #'string=)
(error "SALUTO: No such provider ~A" provider-name)))
(restas:define-route l... | Synchronize with latest (warning!) RESTAS | Synchronize with latest (warning!) RESTAS
| Common Lisp | bsd-3-clause | dmitrys99/saluto |
9904e0ebbf30e1dfb0d7770367c773c283dd3c1e | Code/CLOS/defmethod-defmacro.lisp | Code/CLOS/defmethod-defmacro.lisp | (cl:in-package #:sicl-clos)
(defmacro defmethod (&environment env function-name &rest rest)
(multiple-value-bind
(qualifiers lambda-list specializers declarations documentation forms)
(parse-defmethod rest)
(let ((generic-function-var (gensym)))
`(let ((,generic-function-var
(ensure-generic-... | (cl:in-package #:sicl-clos)
(defmacro defmethod (&environment env function-name &rest rest)
(multiple-value-bind
(qualifiers lambda-list specializers declarations documentation forms)
(parse-defmethod rest)
(let ((generic-function-var (gensym)))
`(let ((,generic-function-var
(ensure-generic-... | Use function SICL-ENVIRONMENT:FIND-CLASS to look up class prototypes. | Use function SICL-ENVIRONMENT:FIND-CLASS to look up class prototypes.
| 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 |
61020164c8fb14656e2e06aadfa3366a748b8a00 | Code/Arithmetic/arithmetic.lisp | Code/Arithmetic/arithmetic.lisp | (cl:in-package :sicl-arithmetic)
(defun + (&rest args)
(cond ((null args) 0)
;; FIXME: check that we have a number
((null (cdr args)) (car args))
(t (apply #'+ (binary-add (car args) (cadr args)) (cddr args)))))
(defun - (x &rest args)
(cond ((null args) (negate x))
((null (cdr args)) (binary-sub x (car args... | (cl:in-package :sicl-arithmetic)
(defun + (&rest args)
(cond ((null args) 0)
;; FIXME: check that we have a number
((null (cdr args)) (car args))
(t (apply #'+ (binary-add (car args) (cadr args)) (cddr args)))))
(defun - (x &rest args)
(cond ((null args) (negate x))
((null (cdr args)) (binary-sub x (car args... | Remove useless blank lines at end of file. | Remove useless blank lines at end of file.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL |
df39d1c795315a106d85b6668b330ea4e60dc7f3 | Apps/Listener/package.lisp | Apps/Listener/package.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
(in-package :cl-user)
(defpackage "CLIM-LISTENER"
(:use "CLIM" "CLIM-LISP")
(:export #:run-listener #:dev-commands))
(in-package :clim-listener)
(eval-when (:load-toplevel)
; (format t "~&~%!@#%^!@#!@ ... ~A~%~%" *load-truename*)
(defpara... | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
(in-package :cl-user)
(defpackage "CLIM-LISTENER"
(:use "CLIM" "CLIM-LISP")
(:export #:run-listener #:dev-commands))
(in-package :clim-listener)
(eval-when (:load-toplevel)
; (format t "~&~%!@#%^!@#!@ ... ~A~%~%" *load-truename*)
(defpara... | Patch from Martin Raspaud to make the Listener compile when fasl directory != source directory. | Patch from Martin Raspaud to make the Listener compile when fasl
directory != source directory.
| Common Lisp | lgpl-2.1 | quek/mcclim,quek/mcclim,informatimago/mcclim,informatimago/mcclim |
2a71b57ceb0092227cc23db498cb0fba81bb374c | Library/IO/XmlRpc/load-xml-rpc.lisp | Library/IO/XmlRpc/load-xml-rpc.lisp | (format t "loading xml-rpc...~%")
#+allegro
(progn
(in-package :common-lisp-user)
(defvar *xml-rpc-server-id*)
(require :xml-rpc)
(defun start-xml-rpc-server (port)
(let ((start-args (list :port port)))
(progn
(setq *xml-rpc-server-id*
(net.xml-rpc:make-xml-rpc-server
:start start-ar... | (format t "loading xml-rpc...~%")
#+allegro
(require :xml-rpc)
#+allegro
(progn
(in-package :common-lisp-user)
(defvar *xml-rpc-server-id*)
(defun start-xml-rpc-server (port)
(let ((start-args (list :port port)))
(progn
(setq *xml-rpc-server-id*
(net.xml-rpc:make-xml-rpc-server
:start... | Refactor to avoid package undefined error. | Refactor to avoid package undefined error.
git-svn-id: 9ecf60ce9baff443e30a0472d3fd222fcb8117cf@3402 7b97033b-253e-4a5c-9b07-e25f9089a9fd
| Common Lisp | bsd-2-clause | KestrelInstitute/Specware,KestrelInstitute/Specware,KestrelInstitute/Specware,KestrelInstitute/Specware,KestrelInstitute/Specware |
ee6713e60f65507578a2ff670b148265935e5766 | swap-bytes.asd | swap-bytes.asd | (defsystem :swap-bytes
:serial t
:components ((:file "package")
#+sbcl (:file "sbcl")
(:file "portable")))
| (defsystem :swap-bytes
:depends-on (:trivial-features)
:serial t
:components ((:file "package")
#+sbcl (:file "sbcl")
(:file "portable")))
| Add missing dependency on Trivial-features | Add missing dependency on Trivial-features
| Common Lisp | mit | sionescu/swap-bytes |
7f070c341cb6283672b4e06f12b4d61de7f11f86 | Code/CLOS/defmethod-support.lisp | Code/CLOS/defmethod-support.lisp | (cl:in-package #:sicl-clos)
(defun parse-defmethod (args)
(let ((name (pop args))
(qualifiers (loop while (and (consp args) (not (listp (car args))))
collect (pop args)))
(lambda-list (pop args)))
;; FIXME: handle declarations and documentation
(let* ((parsed-lambda-list (parse-specialized-lambda-list... | (cl:in-package #:sicl-clos)
(defun parse-defmethod (args)
(let ((name (pop args))
(qualifiers (loop while (and (consp args) (not (listp (car args))))
collect (pop args)))
(lambda-list (pop args)))
;; FIXME: handle declarations and documentation
(let* ((parsed-lambda-list (parse-specialized-lambda-list... | Handle canonicalization of EQL specializers. | Handle canonicalization of EQL specializers.
| Common Lisp | bsd-2-clause | vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL |
985c79db93e34354071a44fd8677467bd8a9de31 | 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
:components
((:file "packages")
(:file "test-utilities" :depends-on ("packages"))))
| (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"))))
| Make it depend on sicl-compiler-utilities. | Make it depend on sicl-compiler-utilities.
| 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 |
f3cf637ca71c2bf65a56f9a1ab81407e94732786 | hello/hello.asd | hello/hello.asd | ;;;; -*- Mode: Lisp; -*-
(defsystem "hello"
:description "Example Bazel Hello World application"
:class program-system
:entry-point "hello:main"
:depends-on (:alexandria)
:components ((:file "hello")))
(defsystem "hello/chello"
:description "Example Bazel Hello World application, using C"
:class program... | ;;;; -*- Mode: Lisp; -*-
(defsystem "hello"
:description "Example Bazel Hello World application"
:class program-system
:entry-point "hello:main"
:depends-on (:alexandria)
:components ((:file "hello")))
(defsystem "hello/chello"
:description "Example Bazel Hello World application, using C"
:class program... | Make cffi-toolchain a runtime dependency, too. | Make cffi-toolchain a runtime dependency, too.
This resolves a load-time dependency on ASDF and
allows chello to be built as a statically linked executable with ECL.
| Common Lisp | mit | qitab/bazelisp,qitab/bazelisp,qitab/bazelisp |
13848ca4bd1991d499f1f2c80ef53af6e118d3ff | reader-definitions.lisp | reader-definitions.lisp | ;;;; Readers for reading more easier formats.
;;; Nov. 25th 2012, chiku
;;; This is the last step.
(in-package :chiku.genscreenrc)
(defun |[-reader| (strm c)
(declare (ignore c))
(destructuring-bind (key &rest cmdseq)
(read-delimited-list #\] strm t)
(list key (multiple-value-bind (result top)
... | ;;;; Readers for reading more easier formats.
;;; Nov. 25th 2012, chiku
;;; This is the last step.
(in-package :chiku.genscreenrc)
(defun |[-reader| (strm c)
(declare (ignore c))
(destructuring-bind (key &rest cmdseq)
(read-delimited-list #\] strm t)
(list key (multiple-value-bind (result top)
... | Revert "[Bugfix] Symbols are too delicate to use at boundaries." | Revert "[Bugfix] Symbols are too delicate to use at boundaries."
This reverts commit e0bb70730d27e46c87ca45bc8e1a50181721e7f1.
I finally found out a smart way.
| Common Lisp | mit | chiku-samugari/screen-keybind |
41f742feb6b8a4f212cad5234863e8b5f49ce072 | 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
"#<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)))
... | Add method on PRINT-OBJECT specialized to STANDARD-GENERIC-FUNCTION. | Add method on PRINT-OBJECT specialized to STANDARD-GENERIC-FUNCTION.
| 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 |
c1daf4cc861183d02d86355fc977d947395778fa | Code/Cleavir/Reaching-definitions/cleavir-reaching-definitions.asd | Code/Cleavir/Reaching-definitions/cleavir-reaching-definitions.asd | (cl:in-package #:asdf-user)
(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)
:serial t
:components
((:file "packages")
(:file "reaching-definitions")))
| Simplify system definition by the use of option :SERIAL T. | Simplify system definition by the use of option :SERIAL T.
| 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.