id int64 0 45.1k | file_name stringlengths 4 68 | file_path stringlengths 14 193 | content stringlengths 32 9.62M | size int64 32 9.62M | language stringclasses 1
value | extension stringclasses 6
values | total_lines int64 1 136k | avg_line_length float64 3 903k | max_line_length int64 3 4.51M | alphanum_fraction float64 0 1 | repo_name stringclasses 779
values | repo_stars int64 0 882 | repo_forks int64 0 108 | repo_open_issues int64 0 90 | repo_license stringclasses 8
values | repo_extraction_date stringclasses 146
values | sha stringlengths 64 64 | __index_level_0__ int64 0 45.1k | exdup_ids_cmlisp_stkv2 listlengths 1 47 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23,809 | build-it.lisp | cbaggers_spring-lisp-gamejam/build-it.lisp | ;; usage at shell prompt:
;;
;; cd ~/myproject
;; sbcl --load "build-it.lisp" --name myproject
;;----------------------------------------------------
;; Setup
#-quicklisp (load #P"~/quicklisp/setup.lisp")
(push (merge-pathnames "lib/" *default-pathname-defaults*) asdf:*central-registry*)
#+sbcl
(progn
#+unix(requi... | 599 | Common Lisp | .lisp | 18 | 31.666667 | 83 | 0.513937 | cbaggers/spring-lisp-gamejam | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 11c798a7f4a287fcdf168b060e320e4200654cbfe642419572a44f802fb3aa5e | 23,809 | [
-1
] |
23,810 | space-bodies.lisp | cbaggers_spring-lisp-gamejam/space-bodies.lisp | (in-package :vacuum)
(defparameter *ring-ratio* 1.3653333s0)
(defparameter *corona-ratio* 1.4670488s0)
;; "corona_inner_rgb.png"
;; "corona_outer_rgb.png"
;; "rings_rgb.png"
(defparameter *ambient-particles*
`(("star_03.png" 0.3 0 2s0 (,(nrgb 107 56 22)
,(nrgb 220 135 25)
,(nrgb 253 221 107)))
... | 7,221 | Common Lisp | .lisp | 246 | 22.841463 | 72 | 0.544644 | cbaggers/spring-lisp-gamejam | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 0966adbf368af29a64fcdafe35df4f20984b59343bd8971dc4a99e256c4ede9e | 23,810 | [
-1
] |
23,811 | game.lisp | cbaggers_spring-lisp-gamejam/game.lisp | (in-package #:vacuum)
(in-readtable fn:fn-reader)
(defconstant +fps+ 60s0) ;; frames per second
(defconstant +spf+ (/ 1s0 +fps+)) ;; seconds per frame
(defconstant +sps+ 60s0) ;; update steps per second
(defconstant +fts+ (/ 1s0 60s0)) ;; fixed time step (seconds per step)
(defvar *camera* nil)
(defvar *player* nil)
... | 26,073 | Common Lisp | .lisp | 707 | 32.196605 | 89 | 0.613245 | cbaggers/spring-lisp-gamejam | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 44fc0d4c323712fc7e0279a92673921876eaeaf09b26679f79fc8d46a26b11d2 | 23,811 | [
-1
] |
23,812 | passive-particles.lisp | cbaggers_spring-lisp-gamejam/passive-particles.lisp | (in-package :vacuum)
(in-readtable fn:fn-reader)
(defvar *particle-stream* nil)
(defparameter *particle-resolution* '(64 64))
(defparameter *starting-positions* nil)
(defparameter *starting-velocities*
(make-c-array (make-array *particle-resolution* :initial-element (v! 0 0 0))
:element-type :half-vec3))
(deftcla... | 8,064 | Common Lisp | .lisp | 195 | 36.225641 | 78 | 0.608108 | cbaggers/spring-lisp-gamejam | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 0cd57f91de6de47f8fba2bffcfe7a8dcdc4c6546220b0fa5db4793dd6111df96 | 23,812 | [
-1
] |
23,813 | vacuum.asd | cbaggers_spring-lisp-gamejam/vacuum.asd | ;;;; vacuum.asd
(asdf:defsystem #:vacuum
:description "I dun a game :p"
:author "Baggers <techsnuffle@gmail.com>"
:license "GPL v3"
:depends-on (#:cepl
#:temporal-functions
#:cepl.sdl2
#:swank
#:livesupport
#:cepl.skitter.sdl2
... | 729 | Common Lisp | .asd | 25 | 17.44 | 43 | 0.449502 | cbaggers/spring-lisp-gamejam | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | c398c23e542c45465e3ef8487258398f963e77a603805204be4a31bd770eb4d2 | 23,813 | [
-1
] |
23,838 | guess-my-number.cl | Kyure-A_Land-of-Lisp/chapter-2/guess-my-number.cl | ;; defparameter は再度代入可能
(defparameter *small* 0)
(defparameter *big* 100)
;; defvar は不可
(defvar *test* -1)
(defun guess-my-number ()
(ash (+ *small* *big*) -1)) ;; ash は bitshift する; 左にするときは 1, 右にするときは -1
(defun smaller ()
(setf *big* (1- (guess-my-number)))
(guess-my-number))
(defun bigger ()
(setf *small*... | 653 | Common Lisp | .cl | 22 | 24.772727 | 73 | 0.658494 | Kyure-A/Land-of-Lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 32b04242b9ab93eb2425de17015fbd01fb6e4251907ef6263c7beb8ebac0ead0 | 23,838 | [
-1
] |
23,839 | guess-my-number-local.cl | Kyure-A_Land-of-Lisp/chapter-2/guess-my-number-local.cl | (defun start-guess-my-number ()
(let ((small 0)
(big 100)
(game-over-p nil))
(labels ((guess-my-number () ;; labels は flet と違って labels 内で定義した関数を labels 内で使える
(ash (+ small big) -1))
(smaller ()
(setf big (1- (guess-my-number))))
(bigger ()
(setf small (1+ (guess-my-number))))... | 883 | Common Lisp | .cl | 24 | 28.416667 | 84 | 0.565164 | Kyure-A/Land-of-Lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 7edaee138a0540fd97610427e21e04df761875c20a90f103260cdccbd26cc587 | 23,839 | [
-1
] |
23,840 | text-adventure-game.cl | Kyure-A_Land-of-Lisp/chapter-5/text-adventure-game.cl | ;; ここでの日本語は symbol 扱いらしい すごい
(defparameter *nodes* '((living-room (あなたは居間にいる。魔法使いはソファでいびきをかいている。))
(garden (あなたは美しい庭にいる。目の前に井戸がある。))
(attic (あなたは屋根裏にいる。部屋の隅に巨大な溶接バーナーがある。))))
(defparameter *objects* '(ウイスキー バケツ カエル チェーン))
(defparameter *object-locations* '((ウイスキー living-room)
(バケツ living-room)
(チェ... | 3,013 | Common Lisp | .cl | 59 | 36.576271 | 93 | 0.688869 | Kyure-A/Land-of-Lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | a3a3411f58836eff1908bf897ce2fe1d84aa202903fd6f2c35b3d1253295117a | 23,840 | [
-1
] |
23,841 | interface.cl | Kyure-A_Land-of-Lisp/chapter-6/interface.cl | (defun say-hello ()
(print "名前を入力してくだしあ: ") ;; 表示位置が行頭でなければ改行
(let ((your-name (read)))
(prin1 "こんちは!") ;; 改行しない
(print your-name)))
;; "" で囲わないと error
(defun say-hello-with-exception ()
(print "名前を入力してくださいあ: ")
(let ((your-name (read)))
(if (typep your-name 'string)
(format t "こんにちは! ~a" your-nam... | 2,245 | Common Lisp | .cl | 55 | 30.418182 | 71 | 0.618102 | Kyure-A/Land-of-Lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | d44c9656cd781b1e5c3f917a55dfd0026cae75cc0bef43612d8306b2ec7bc8b8 | 23,841 | [
-1
] |
23,861 | generate-application.lisp | informatimago_hangman-cocoa-lisp/src/generate-application.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: generate-application.lisp
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; This script generates... | 6,784 | Common Lisp | .lisp | 124 | 45.717742 | 110 | 0.566305 | informatimago/hangman-cocoa-lisp | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | e21ec3863878d5b3574625b192fcde6a55346c8843e7ba9b4e796f18c868f068 | 23,861 | [
-1
] |
23,862 | hangman.lisp | informatimago_hangman-cocoa-lisp/src/hangman.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: hangman.lisp
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; The hangman game.
;;;;
;;;;AUTHORS
;;;... | 4,938 | Common Lisp | .lisp | 111 | 38.207207 | 105 | 0.598963 | informatimago/hangman-cocoa-lisp | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | ace53bfb685f0cbb6b6686caf81907915e1c69a4ca478d5d2c210f923be21672 | 23,862 | [
-1
] |
23,863 | nsapi.lisp | informatimago_hangman-cocoa-lisp/src/nsapi.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: nsapi.lisp
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Defines a lisp layer above Cocoa.
;;... | 41,539 | Common Lisp | .lisp | 686 | 48.801749 | 162 | 0.614603 | informatimago/hangman-cocoa-lisp | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 6fedeb019c89ace88819ca25477d7353a867194e3f33aec7e655ab179701a8fe | 23,863 | [
-1
] |
23,864 | generate-cli.lisp | informatimago_hangman-cocoa-lisp/src/generate-cli.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: generate-cli.lisp
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; This script generates the Han... | 3,403 | Common Lisp | .lisp | 80 | 39.0375 | 88 | 0.590209 | informatimago/hangman-cocoa-lisp | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 25ca9b678529a7419d334c798543801556797f5a2e1a362c8de8e97853a38434 | 23,864 | [
-1
] |
23,865 | cocoa.lisp | informatimago_hangman-cocoa-lisp/src/cocoa.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: cocoa.lisp
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; This file loads Cocoa interfaces.
;;... | 1,484 | Common Lisp | .lisp | 38 | 37.263158 | 78 | 0.57133 | informatimago/hangman-cocoa-lisp | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 302ba7361f05e48f886e2bcb1923f104f6d9d05f943540b1596fee86faeef6c3 | 23,865 | [
-1
] |
23,866 | packages.lisp | informatimago_hangman-cocoa-lisp/src/packages.lisp | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: packages.lisp
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Defines the packages.
;;;;
;;;;AUTHOR... | 1,574 | Common Lisp | .lisp | 41 | 36.97561 | 83 | 0.595425 | informatimago/hangman-cocoa-lisp | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 1136d2e1e47b2cc01cbab290edc5dabfa438af757d9f7267e42ac4c83383444b | 23,866 | [
-1
] |
23,867 | hangman-tui.lisp | informatimago_hangman-cocoa-lisp/src/hangman-tui.lisp | (in-package "COM.INFORMATIMAGO.HANGMAN.COCOA")
(eval-when (:compile-toplevel :load-toplevel :execute)
(defun configure ()
(setf (logical-pathname-translations "RESOURCES")
(list (list "RESOURCES:WORDS" #P"/usr/share/dict/words")
(list "RESOURCES:STATES"
#+DE... | 2,543 | Common Lisp | .lisp | 52 | 34.788462 | 97 | 0.505844 | informatimago/hangman-cocoa-lisp | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 9516d886f46a534c9511224a84b2bce3e27a0a94842cdc45a302df2d228f9a1b | 23,867 | [
-1
] |
23,868 | com.informatimago.hangman.tui.asd | informatimago_hangman-cocoa-lisp/src/com.informatimago.hangman.tui.asd | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: com.informatimago.hangman.asd
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Hangman Cocoa Applica... | 1,925 | Common Lisp | .asd | 45 | 40.4 | 87 | 0.583156 | informatimago/hangman-cocoa-lisp | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 2784e9692d89d27df9adb2493cc30afa68984817f0cc150026b96d8fa826ebdc | 23,868 | [
-1
] |
23,869 | com.informatimago.hangman.asd | informatimago_hangman-cocoa-lisp/src/com.informatimago.hangman.asd | ;;;; -*- mode:lisp;coding:utf-8 -*-
;;;;**************************************************************************
;;;;FILE: com.informatimago.hangman.asd
;;;;LANGUAGE: Common-Lisp
;;;;SYSTEM: Common-Lisp
;;;;USER-INTERFACE: NONE
;;;;DESCRIPTION
;;;;
;;;; Hangman Cocoa Applica... | 2,108 | Common Lisp | .asd | 48 | 40.958333 | 93 | 0.57122 | informatimago/hangman-cocoa-lisp | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | eebbde5c6179aca237a7a47e69b37eac7c2f2bb273c87d50529d94148470e30d | 23,869 | [
-1
] |
23,874 | Makefile | informatimago_hangman-cocoa-lisp/src/Makefile | all:application
application:
ccl -norc < generate-application.lisp
cli:
ccl -norc < generate-cli.lisp
| 104 | Common Lisp | .l | 5 | 19.4 | 38 | 0.808081 | informatimago/hangman-cocoa-lisp | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 0c30f725f1994b17c5fdd1f9fb603c128559b92c4680c7d17a4624dea728605d | 23,874 | [
-1
] |
23,875 | utils.el | informatimago_hangman-cocoa-lisp/src/utils.el |
(defun pjb-camel-to-lisp (name &optional capitalize)
(mapconcat (let ((capitalize capitalize))
(lambda (token)
(if capitalize
(progn
(capitalize token)
(setf capitalize nil))
(downcase token))))
... | 1,608 | Common Lisp | .l | 42 | 26.761905 | 58 | 0.506086 | informatimago/hangman-cocoa-lisp | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 9f0762125a8a3335200e11a3d48bf87c7d203aaca5e3ef83e1e7379634b6668f | 23,875 | [
-1
] |
23,895 | multithreading.lisp | equwal_lisp-multithreaded-internet/code/multithreading.lisp | (in-package :multi)
;;; Work on DEFGLOBAL global lexical variables for SBCL, it is requested! Let-pseudoglobals was on the right track, but it looks like the compiler must be modified.
(defmacro collect (var-and-list &body body)
(let ((collector (gensym)))
`(let ((,collector nil))
(dolist (,(car var-and-li... | 1,369 | Common Lisp | .lisp | 36 | 34 | 164 | 0.663916 | equwal/lisp-multithreaded-internet | 1 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 8e86865271458f29e32589726d7431cacd510523dea0ad34325373b73ed37abb | 23,895 | [
-1
] |
23,896 | packages.lisp | equwal_lisp-multithreaded-internet/code/packages.lisp | (in-package :cl-user)
(defpackage :multi
(:use :cl)
(:import-from :bordeaux-threads
:make-thread
:make-lock
:join-thread)
(:export :uri))
| 159 | Common Lisp | .lisp | 8 | 16.25 | 33 | 0.642384 | equwal/lisp-multithreaded-internet | 1 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 2de8a9cb81fba1962102375011754b4941b4e302e1ad148befab3180e04010bc | 23,896 | [
-1
] |
23,897 | multi.asd | equwal_lisp-multithreaded-internet/multi.asd | (defsystem :multi
:description "Multithreaded internet"
:version "0.0.2"
:author "Spenser Truex <web@spensertruex.com>"
:license "GNU GPL v3"
:depends-on (:drakma :uiop :bordeaux-threads)
:serial t
:components ((:file "packages")
(:file "multithreading")))
| 285 | Common Lisp | .asd | 9 | 27.555556 | 48 | 0.681159 | equwal/lisp-multithreaded-internet | 1 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 7c3242f3bd85ed4e0c938e5c2133e72acd573bad6853e907d2d64ce98c745552 | 23,897 | [
-1
] |
23,916 | sudoku-solver.lisp | thecodingdoc_adventures-in-lisp/sudoku-solver.lisp | ;;; A depth-first search sudoku solver
;;;
;;; Last updated: 20180127
;;;
;;; Instructions: check out the example in sudoku-example.lisp
;;; and either load the puzzle in the example or
;;; input your own.
;;; Example:
;;; (load "sudoku-example.lisp")
;;; ... | 2,732 | Common Lisp | .lisp | 78 | 29.423077 | 70 | 0.485682 | thecodingdoc/adventures-in-lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | bd2fd8874c103516a1980d5941be281f47d4adbfbbc4e41a91a2db13562f42bb | 23,916 | [
-1
] |
23,917 | tic-tac-toe.lisp | thecodingdoc_adventures-in-lisp/tic-tac-toe.lisp | ;;; A simple game of Tic-Tac-Toe, using the minimax algorithm to
;;; choose the optimal move by Dario Ghersi (github: thecodingdoc)
;;;
;;; Last updated: 20180120
;;;
;;; Instructions: type '(play-against-ai)' to start.
;;; X is the human player, O is the AI
;; identify the playable empty cells on a boar... | 3,843 | Common Lisp | .lisp | 102 | 32.872549 | 75 | 0.570774 | thecodingdoc/adventures-in-lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | f5ce3432cdf02f47ebcceb9509cbf6c04d4077444496bb8a4498c8054c0b07ec | 23,917 | [
-1
] |
23,918 | sudoku-example.lisp | thecodingdoc_adventures-in-lisp/sudoku-example.lisp | (defparameter *sudoku-game '(- 7 5 - 1 3 2 - -
4 - - - - - 6 - 1
- - - 2 8 - - - -
- - - - 7 2 5 - 3
- 5 7 - - - 9 4 -
8 - 3 9 4 - - - -
- - - - 5... | 425 | Common Lisp | .lisp | 9 | 20.444444 | 48 | 0.129808 | thecodingdoc/adventures-in-lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | b6d35325acd2fb58c66f43330bb64321356d312e5ed19090fbb0dc37bdda12c4 | 23,918 | [
-1
] |
23,937 | rotation.lisp | xdvom03_3d-lisp/rotation.lisp | (defun sq (a)
(* a a))
(defun transpose (mat)
;;Returns a transposed matrix
;;Requires a list of lists
(apply #'mapcar #'list mat))
(defun mv-multiply (mat vec)
;;Matrix-vector multiplication for square matrices
;;Behaviour unspecified for non-matching sizes
(reduce #'(lambda (a b) (mapcar #'+ a b))
... | 4,175 | Common Lisp | .lisp | 98 | 30.663265 | 122 | 0.48955 | xdvom03/3d-lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 09b608540e96a9442729677c1170e422c3e2f22fe17e4500ac9cc6b7ce73bb94 | 23,937 | [
-1
] |
23,938 | grav-3d.lisp | xdvom03_3d-lisp/grav-3d.lisp | (defun start-program ()
(defparameter *particles* nil)
(defparameter *G* 100)
(defparameter *step* 0.04)
(add-particle '(0 0 500) '(0 0 0) 1000 1000)
(add-particle '(100 0 500) '(0 30 0) 1 1)
(add-particle '(0 200 500) '(0 0 10) 1 1))
(defun add-particle (position speed mass charge)
(push (list position ... | 2,308 | Common Lisp | .lisp | 52 | 27.923077 | 71 | 0.403906 | xdvom03/3d-lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 6a1f1327851cc7409cc7769433cf47c2a193f27a1f3ce7e48e436eb36bbdd9f2 | 23,938 | [
-1
] |
23,939 | 3d.lisp | xdvom03_3d-lisp/3d.lisp | ;;TBD: General cleanup, check what can be delegated to 3D-util.lisp
;;TBD: Adapt mouse control for Linux
;;TBD: Make init simpler to use - libraries :(
;;POSSIBLE BUG: Lots of rotation in one direction causes everything to behave oddly (investigate)
(defun init (&optional (compile-p t))
;;Constants
(defparameter ... | 8,086 | Common Lisp | .lisp | 170 | 40.064706 | 145 | 0.551085 | xdvom03/3d-lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | eb3193aaf52f8ae37fececed49844a9c004c10d479e7b30ea80f58094c4b9991 | 23,939 | [
-1
] |
23,940 | 3D-util.lisp | xdvom03_3d-lisp/3D-util.lisp | (defun canvas-loc (x y z)
;;Input 3D relative to camera
;;Output 2D coords on canvas
(let ((abs-xy (mapcar #'(lambda (a) (/ a (/ z *norm*))) (list x y))))
(mapcar #'+ abs-xy *canvas-center*)))
(defun real-locs (point1 point2)
;;Accounts for fog
;;Input two points in 3D space
;;Output 2D coords... | 2,994 | Common Lisp | .lisp | 71 | 35.140845 | 85 | 0.567717 | xdvom03/3d-lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 1f7401cd44cba18dcd3175a9daab436df5094ce21e89f8b31ca2993379981f74 | 23,940 | [
-1
] |
23,960 | package.lisp | K1D77A_hyperborean-markdown/src/package.lisp | ;;;; package.lisp
(defpackage #:hyperborean-markdown
(:use #:cl)
(:nicknames #:hm)
(:export #:parse-to-md
#:with-markdown
#:with-markdown-to-string
#:with-markdown-to-file
#:def-syntax
#:def-special
#:def-inline-syntax
#:initiate-envi... | 373 | Common Lisp | .lisp | 14 | 17.857143 | 36 | 0.532394 | K1D77A/hyperborean-markdown | 1 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | dacb2c6468f270d9a2a57fc2afbc2384226b3ee38723990801f7f63c0899a2f7 | 23,960 | [
-1
] |
23,961 | readme-gen.lisp | K1D77A_hyperborean-markdown/src/readme-gen.lisp | (with-markdown-to-file ("./README.md" :if-exists :supersede)
`((:h1 "Hyperborean Markdown")
"This is a library that has taken a stab at creating a *Lisp* -> *MD* library. So that you can translate Lisp objects into Markdown, perhaps you wish to create MD templates based off of some lisp objects you have, idk its ... | 4,162 | Common Lisp | .lisp | 92 | 37.5 | 242 | 0.579115 | K1D77A/hyperborean-markdown | 1 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 951ffb05f99362f787acbbee1e8f20b2c4fe156c85870423f6645cede5398f06 | 23,961 | [
-1
] |
23,962 | hyperborean-markdown.lisp | K1D77A_hyperborean-markdown/src/hyperborean-markdown.lisp | ;;;; hyperborean-markdown.lisp
(in-package #:hyperborean-markdown)
(defparameter *default-spacing* 1
"The default spacing applies after executing a syntax function.")
(defparameter *default-tab-size* 4
"Inserted when adding spacing for lists")
(defparameter *syntax* ()
"A plist of plists associating informati... | 18,891 | Common Lisp | .lisp | 410 | 37.463415 | 93 | 0.62721 | K1D77A/hyperborean-markdown | 1 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 9de17d7c522f296a18e111483c25d090431bc43fe074c4ba0029991a45157496 | 23,962 | [
-1
] |
23,963 | hyperborean-markdown.asd | K1D77A_hyperborean-markdown/hyperborean-markdown.asd | ;;;; hyperborean-markdown.asd
(asdf:defsystem #:hyperborean-markdown
:description "A simple lisp -> markdown converter."
:author "K1D77A"
:license "GPL3"
:version "0.0.1"
:serial t
:depends-on (#:alexandria)
:components ((:module "src"
:serial t
:components
... | 393 | Common Lisp | .asd | 13 | 23.076923 | 53 | 0.585752 | K1D77A/hyperborean-markdown | 1 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | a557f9fcf72ca241a37533e1dbcb4dca585baa2e4963438b1f7fd3c61ca77f21 | 23,963 | [
-1
] |
23,982 | tests.lisp | genenetwork_cl-gn/tests.lisp | (require :asdf)
;; Load genenetwork.asd from the current directory.
(asdf:load-asd (merge-pathnames #P"genenetwork.asd"
(directory-namestring *load-truename*)))
(asdf:load-system :genodb/tests)
| 228 | Common Lisp | .lisp | 5 | 37.8 | 72 | 0.669683 | genenetwork/cl-gn | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 027fd4459066b5ea51ec53599df2c731e3832050a140a24fbfd92bce82f4ca9a | 23,982 | [
-1
] |
23,983 | run.lisp | genenetwork_cl-gn/run.lisp | (require :asdf)
;; Load genenetwork.asd from the current directory.
(asdf:load-asd (merge-pathnames #P"genenetwork.asd"
(directory-namestring *load-truename*)))
;; Load the genenetwork system and start the web server
(asdf:load-system :genenetwork)
(asdf:load-system :genodb)
(genenetwo... | 414 | Common Lisp | .lisp | 11 | 33.454545 | 72 | 0.7225 | genenetwork/cl-gn | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 84de9fda09e822350999c1aa9b9ba7cc9d52b8fdfc93b5b005ba4b5edf566eb1 | 23,983 | [
-1
] |
23,984 | genenetwork.lisp | genenetwork_cl-gn/genenetwork.lisp | (defpackage :genenetwork
(:use :common-lisp :cl-who :hunchentoot :parenscript)
(:import-from :legit :current-commit)
(:import-from :cl-json :encode-json-to-string)
(:export :main))
(in-package :genenetwork)
(hunchentoot:define-easy-handler (version :uri "/api/version") ()
(setf (hunchentoot:content-type*) "... | 1,454 | Common Lisp | .lisp | 34 | 35.647059 | 79 | 0.629158 | genenetwork/cl-gn | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | ef2d8fc23214ae9adc3ba5b30c214bfa5e29c414027232621765b098dd072426 | 23,984 | [
-1
] |
23,985 | genodb.lisp | genenetwork_cl-gn/genodb.lisp | (defpackage :genodb
(:use :common-lisp)
(:import-from :alexandria :iota :once-only :with-gensyms)
(:import-from :ironclad :with-octet-input-stream :with-octet-output-stream)
(:import-from :listopia :all :any :split-at)
(:import-from :str
:concat :contains? :join :s-rest :split :starts-with?
:trim-right ... | 19,523 | Common Lisp | .lisp | 445 | 32.4 | 94 | 0.568089 | genenetwork/cl-gn | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 89afb1bde4c1923c3df1e8c66d9b8591561f6d3d90db1e6a3ac6156514baf48d | 23,985 | [
-1
] |
23,986 | build.lisp | genenetwork_cl-gn/build.lisp | (require :asdf)
;; Load genenetwork.asd from the current directory.
(asdf:load-asd (merge-pathnames "genenetwork.asd"
(directory-namestring *load-truename*)))
(asdf:make :genodb)
| 213 | Common Lisp | .lisp | 5 | 34.8 | 72 | 0.660194 | genenetwork/cl-gn | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 88d77c29ca85561b8ee2d3c7af28ebac1772b5dabf7c1610db7d8e21ab86146f | 23,986 | [
-1
] |
23,987 | genodb.lisp | genenetwork_cl-gn/tests/genodb.lisp | (defpackage :genodb/tests
(:use :common-lisp :fiveam :genodb)
(:import-from :genodb :genotype-matrix-matrix :genotype-matrix-metadata :import-into-genotype-db))
(in-package :genodb/tests)
(test test-genodb
(let ((actual-genotype-matrix (read-geno-file "tests/test.geno")))
(is (and (equalp (genotype-matrix-m... | 2,347 | Common Lisp | .lisp | 49 | 24.204082 | 100 | 0.318083 | genenetwork/cl-gn | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 69ca7490bdab045ea613d4022a6a99decf73043fbc41f25d2932961bc7790dd5 | 23,987 | [
-1
] |
23,988 | genenetwork.asd | genenetwork_cl-gn/genenetwork.asd | (defsystem :genenetwork
:class :package-inferred-system
:description "GeneNetwork"
:version "0.1.0"
:author "The GeneNetwork team"
:license "GNU Affero General Public License version 3 or later"
:depends-on (:genenetwork/genenetwork))
(defsystem :genodb
:description "GeneNetwork genotype database tool"
... | 1,056 | Common Lisp | .asd | 33 | 25.575758 | 65 | 0.652302 | genenetwork/cl-gn | 1 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | d648302839afe1c2d5a132033b142149f102a2b63f0a54d138966a18070e020f | 23,988 | [
-1
] |
24,010 | b.lisp | Lisprez_lisp_call_c_module/b.lisp | (load "a.lisp")
(defun fuck ()
(let ((result (mc:myfunc 0)))
(print result)))
(fuck)
| 95 | Common Lisp | .lisp | 5 | 16 | 33 | 0.573034 | Lisprez/lisp_call_c_module | 1 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | e5a7bf64c3e3b11b301e738f8bcc7efb9b29d70bb72f4840d87f886e5640fbf8 | 24,010 | [
-1
] |
24,011 | a.lisp | Lisprez_lisp_call_c_module/a.lisp | (asdf:load-system :cffi)
(defpackage :mc
(:use :common-lisp
:cffi)
(:export myfunc))
(in-package :mc)
(define-foreign-library libcurl
(:unix (:or "/usr/lib64/libcurl.so.4"))
(t (:default "/usr/lib64/libcurl.so.4")))
(use-foreign-library libcurl)
(defcfun ("curl_global_init" myfunc) :int
(flags :long))
... | 321 | Common Lisp | .lisp | 12 | 24.25 | 42 | 0.693069 | Lisprez/lisp_call_c_module | 1 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 74c3db612b8b6cb0ed5cf3644104ffe07aa4d5c094c1b7ee2770ff825bc6dc48 | 24,011 | [
-1
] |
24,029 | scheme2common-lisp.lisp | gregcman_scheme2common-lisp/scheme2common-lisp.lisp | (defpackage #:scheme2common-lisp
(:use :cl :utility))
(in-package :scheme2common-lisp)
(setf *print-case* :downcase)
(mapc
(lambda (x)
(export (cdr x)))
'((:export
alias0
alias2)
(:export
atom?
symbol?
pair?
null?
eq?
equal?
integer?
for-each
assq
reverse!
... | 4,636 | Common Lisp | .lisp | 191 | 19.193717 | 100 | 0.614806 | gregcman/scheme2common-lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 44a5f9d0ab6d220717d254cf26fd4b141877de2c3547ab24999face4f444b4dc | 24,029 | [
-1
] |
24,030 | scheme2common-lisp.asd | gregcman_scheme2common-lisp/scheme2common-lisp.asd | (asdf:defsystem #:scheme2common-lisp
:depends-on (#:utility
#:alexandria)
:serial t
:components
((:file "scheme2common-lisp")))
| 144 | Common Lisp | .lisp | 6 | 20.333333 | 36 | 0.681159 | gregcman/scheme2common-lisp | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 94f5c9212d12ff5b185efdf19a8d4e364c5e55d2b6c067c179c74ec3ac2c84b1 | 24,030 | [
-1
] |
24,050 | settings.pl | IAL32_json-parser-lisp-prolog/settings.pl | %% debug only: sbatti ogni volta scrivere [p]. per ricaricare il file
r :- make.
%% debug only: sbatti scrivere debug ogni volta per fare il trace
t :- trace.
%% debug only: sbatti scrivere nodebug ogni volta per uscire dal debug(mi esce sia dal trace che dal debug)
nd :- nodebug.
%% debug only: invece di dover usare `... | 829 | Common Lisp | .l | 17 | 42.941176 | 151 | 0.683951 | IAL32/json-parser-lisp-prolog | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 2cc22b30a6ba1a23a37e8e905803b0ca6fd15c101dd6c457ee99b2a8fdfd1a04 | 24,050 | [
-1
] |
24,051 | main.pl | IAL32_json-parser-lisp-prolog/main.pl | :- [settings].
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% INIZIO DEL PROGRAMMA %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
:- [io]. % Input/Output
:- [json_decode]. % Json Decode
:- [json_encode]. % Json Encode
:- [json_get]. % Js... | 366 | Common Lisp | .l | 9 | 39.666667 | 53 | 0.305322 | IAL32/json-parser-lisp-prolog | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | b3460115ba61d8841671e4f4ef4b4ab36dc3a13127375e1b8ae1d78f976596ec | 24,051 | [
-1
] |
24,052 | json_encode.pl | IAL32_json-parser-lisp-prolog/json_encode.pl | % json_encode(+JsonObject, -String).
json_encode(jsonobject([]), '{}') :- !.
json_encode(jsonarray([]), '[]') :- !.
json_encode(jsonobject(Members), StringObject) :-
json_encode_object_members(Members, StringMembers),
atomic_list_concat(['{', StringMembers , '}'], StringObject), !.
json_encode(jsonarray(Membe... | 2,346 | Common Lisp | .l | 50 | 43.4 | 68 | 0.726159 | IAL32/json-parser-lisp-prolog | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 1c088f5552486489f9018999d4f256f699a5829ea1715c30708925004f5f653c | 24,052 | [
-1
] |
24,053 | tests.pl | IAL32_json-parser-lisp-prolog/tests.pl | :- use_module(library(plunit)).
:- begin_tests(io).
test(json_load_1) :-
json_load("ex_arthurdent.json", jsonobject([("nome", "Arthur"), ("cognome", "Dent")])).
test(json_load_2) :-
json_load("ex_emptyobject.json", jsonobject([])).
test(json_load_3) :-
json_load("ex_emptyarray.json", jsonarray([])).
tes... | 3,208 | Common Lisp | .l | 71 | 42.084507 | 289 | 0.602126 | IAL32/json-parser-lisp-prolog | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | b3f100c7072d246e17d6497e22577fab367af0c16ea2c1f8c6353eb11ee3cae5 | 24,053 | [
-1
] |
24,054 | json_decode.pl | IAL32_json-parser-lisp-prolog/json_decode.pl | % json_parse/2
%% Con il primo gestisco il caso in cui il primo
%% argomento sia tra apici singoli, eg:
%% json_parse('{"a":"b"}', JSON).
json_parse(JSONAtom, Object) :-
atomic(JSONAtom),
atom_codes(JSONAtom, JSONString),
json_parse(JSONString, Object),
!.
%% questi altri due gestiscono le liste di codi... | 3,342 | Common Lisp | .l | 112 | 26.1875 | 66 | 0.592904 | IAL32/json-parser-lisp-prolog | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | b03384bae70f87821ef7e2fe7a832f7562718b3f6b3b560d024ca1506493851e | 24,054 | [
-1
] |
24,055 | io.pl | IAL32_json-parser-lisp-prolog/io.pl | % json_load/2
json_load(FileName, JSON) :-
open(FileName, read, BufferIn),
read_string(BufferIn, _, String),
normalize_space(atom(Normalized), String),
atom_codes(Normalized, StringList),
json_parse(StringList, JSON),
close(BufferIn).
% json_write/2
% TODO
json_write(JSON, FileName) :-
json... | 433 | Common Lisp | .l | 15 | 25.133333 | 46 | 0.697842 | IAL32/json-parser-lisp-prolog | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 3e3bdb0d099edc8c845ab573ed250ac594d5e322f78be499b3e50f3e61f623c5 | 24,055 | [
-1
] |
24,056 | json_get.pl | IAL32_json-parser-lisp-prolog/json_get.pl | % json_get/3
json_get(jsonobject(Members), Key, Value) :-
%atom_chars(KeyAtom, Key),
member((Key, Value), (Members)), !.
json_get(Object, [Key], Value) :-
json_get(Object, Key, Value), !.
json_get(Object, [Key, Nth], Value) :-
json_get(Object, Key, jsonarray(Array)),
nth0(Nth, Array, Value), !.
%j... | 376 | Common Lisp | .l | 10 | 34.3 | 56 | 0.630854 | IAL32/json-parser-lisp-prolog | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | f353fc47d783ba9b8c72295af5fe1fa5cd267b93e89c99f850c677204a2a90ba | 24,056 | [
-1
] |
24,071 | derivatives.lisp | alejandrozf_derivatives/derivatives.lisp | (load "libs.lisp")
(defun pair? (x)
(not (atom x)))
(defun wff (exp)
(cond ((atom exp) exp) ;atoms are return it as is
((numberp (car exp))
(cond ((3-term-exp? exp) ;'exp' is a term that is, (3 X 2) or (5 X)
(cons 'G exp))
((2-term-exp? exp)
(cons 'G (append exp '(1))... | 4,538 | Common Lisp | .lisp | 142 | 27.34507 | 116 | 0.474262 | alejandrozf/derivatives | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 712e17f271b8e12056e52bdbe886907175e2b0974d4e59511d93be74564abc17 | 24,071 | [
-1
] |
24,072 | tests.lisp | alejandrozf_derivatives/tests.lisp | (load "derivatives.lisp")
;;; Convert the expressions to WFFs
;;; simple polynomials
(setf wff1 (wff '(4 X 3) ))
(setf wff2 (wff '((2 X 3) + (5 x 2) ) ))
(setf wff3 (wff '((3 X 3) + 5) ))
(setf wff4 (wff '((4 X 3) + (6 X) ) ))
(setf wff5 (wff '((5 x 4) + ((3 X 2) + (5 X))) ))
;;; SIN
(setf wff6 (wff '(SIN X) ))
(set... | 3,401 | Common Lisp | .lisp | 94 | 34.882979 | 56 | 0.51311 | alejandrozf/derivatives | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 08c48400a899e518e7b0f58ba86ca7932f8d3435b2e92d0a9b57ee760be58b70 | 24,072 | [
-1
] |
24,073 | libs.lisp | alejandrozf_derivatives/libs.lisp | ;;; ****** P U T P ******
;;; (PUTP atm ht value)
;;; atm - atom receiving the property
;;; ht - a hash table representing the property
;;; value - the value for the specified atm
;;; Inserts an entry in the hash-table HT for the specified
;;; atm and value.
(defun putp (atm ht value )
(setf (gethash a... | 913 | Common Lisp | .lisp | 29 | 29.896552 | 60 | 0.656036 | alejandrozf/derivatives | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | b2d4e0babe1bc0a8c27671b101540979f02c6ffe6e0738d7af8659beca5b42f8 | 24,073 | [
-1
] |
24,092 | cl-rss-gen.lisp | lukaramishvili_cl-rss-gen/cl-rss-gen.lisp | ;;;; Copyright 2012, Luka Ramishvili
;;;; This program is free software: you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation, either version 3 of the License, or
;;;; (at your option) any later version.
;;;;
;;;; This program... | 3,151 | Common Lisp | .lisp | 79 | 36.227848 | 77 | 0.668296 | lukaramishvili/cl-rss-gen | 1 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 5eacfce82e7af5238f41f29c861459f96938af567776959b9fe9d5a0ff23664b | 24,092 | [
-1
] |
24,110 | TotalLenght..lsp | PawelKinczyk_AutoLisp-Automatization-For-Work/Scripts/TotalLenght..lsp | (defun C:TOTLEN (/ ss tl n ent itm obj l)
(setq ss (ssget)
tl 0
n (1- (sslength ss)))
(while (>= n 0)
(setq ent (entget (setq itm (ssname ss n)))
obj (cdr (assoc 0 ent))
l (cond
((= obj "LINE")
(distance (cdr (assoc 10 ent))(cdr (assoc 11 ent))))... | 911 | Common Lisp | .l | 25 | 23.88 | 69 | 0.406321 | PawelKinczyk/AutoLisp-Automatization-For-Work | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | ee66a4f14e9ca0c3b2c2cf981db387ace8a9e580c7ceaf800c1fd8473454fc9a | 24,110 | [
-1
] |
24,111 | DrawLineWithWidth.lsp | PawelKinczyk_AutoLisp-Automatization-For-Work/Scripts/DrawLineWithWidth.lsp | (defun C:KSANITARNA ()
(setvar 'plinewid (GETREAL "PODAJ SREDNICE") )
(setvar 'clayer "NEWLAYER")
(command "_pline")
(while (> (getvar "CMDACTIVE") 0) (command pause))
(setvar 'plinewid 0)
(princ)
)
| 214 | Common Lisp | .l | 8 | 23.875 | 52 | 0.665025 | PawelKinczyk/AutoLisp-Automatization-For-Work | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | d27d3f7553d29520c9745d27bd241f2e83b279d516353218f84f09bdbe973e4a | 24,111 | [
-1
] |
24,112 | DrawPipeSection.lsp | PawelKinczyk_AutoLisp-Automatization-For-Work/Scripts/DrawPipeSection.lsp | (defun c:PROFIL ( / *error* ; *error* has to be always localized !!!
clay cmde P1 SLOPE DIST x1 y1 z1 P2 P3 PKT P4 x4 y4 z4 P5 x5 y5 z5 P6)
(defun *error* (errmsg)
(if (not (wcmatch errmsg "Function cancelled,quit / exit abort,console break,end"))
(princ (strcat "\nError: " errmsg)))
(if clay (set... | 2,409 | Common Lisp | .l | 53 | 39.943396 | 203 | 0.59569 | PawelKinczyk/AutoLisp-Automatization-For-Work | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 7a47c9fc2cc97aea13128ec29d5e208c3ae49b1d3de726d2a09a0fd70363192c | 24,112 | [
-1
] |
24,113 | ClearFileFromLayer.lsp | PawelKinczyk_AutoLisp-Automatization-For-Work/Scripts/ClearFileFromLayer.lsp | (defun c:CZYSZCZ (/ aDoc name)
(setvar 'Clayer "0")
(repeat 4
(vla-purgeall
(setq aDoc (vla-get-ActiveDocument
(vlax-get-acad-object)))))
(vlax-for
itm
(vla-get-layers aDoc)
(if (and
... | 973 | Common Lisp | .l | 29 | 18.068966 | 78 | 0.390476 | PawelKinczyk/AutoLisp-Automatization-For-Work | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | b6274a6a069db42f7efcde623b03a22935a1151ede8665e32159c3bb1171f0d2 | 24,113 | [
-1
] |
24,114 | CreateLayersLegend.lsp | PawelKinczyk_AutoLisp-Automatization-For-Work/Scripts/CreateLayersLegend.lsp | (defun c:WarstwAll (/ pt dat ln)
(setq pt (getpoint "\nSelect insertion point: "))
(while (setq dat (tblnext "layer" (null dat)))
(entmake (list '(0 . "line") (cons 10 pt) (cons 11 (mapcar '+ pt '(2.5 0 0))) (cons 8 (setq ln (cdr (assoc 2 dat))))))
(entmake (list '(0 . "text") (cons 10 (mapcar '+ pt '(3.0 0 0)))... | 408 | Common Lisp | .l | 7 | 56.142857 | 120 | 0.569652 | PawelKinczyk/AutoLisp-Automatization-For-Work | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 418b2975121142d6b5ae5bbb65273411d1ae710df7102d69ef26e26cac2ae0d1 | 24,114 | [
-1
] |
24,115 | CreateChooseLayersLegend.lsp | PawelKinczyk_AutoLisp-Automatization-For-Work/Scripts/CreateChooseLayersLegend.lsp | (defun c:WarstwWyb (/ pt rsp dat ln lst desln)
(initget "All Select")
(setq pt (getpoint "\nSelect insertion point: "))
(initget "Select All")
(setq rsp (getkword "\nSpecify option [Select / All] <All>:"))
(cond ((= rsp "Select")
(mapcar '(lambda (x) (setq pt (somefunc2 pt x)))
(progn (aca... | 1,214 | Common Lisp | .l | 20 | 51.35 | 111 | 0.532218 | PawelKinczyk/AutoLisp-Automatization-For-Work | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 54dff29aa45c6659e4f5484154fb46a8e5505446260f8105035e87b2343117fc | 24,115 | [
-1
] |
24,116 | CreateAlphabeticalLayersLegend.lsp | PawelKinczyk_AutoLisp-Automatization-For-Work/Scripts/CreateAlphabeticalLayersLegend.lsp | (defun c:WarstwyAlf ( / doc lyrs lst pt)
(setq doc (vla-get-activedocument (vlax-get-acad-object))
lyrs (vla-get-layers doc)
);end_setq
(vlax-for lyr lyrs (setq lst (cons (vlax-get lyr 'name) lst)))
(setq lst (vl-sort lst '< )
pt (getpoint "\nSelect insertion point: ")
);end_setq
(foreach ly... | 612 | Common Lisp | .l | 15 | 36.933333 | 109 | 0.593645 | PawelKinczyk/AutoLisp-Automatization-For-Work | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 4853199f3e53be59080bbf8fef64eb1fc018758f4624ba61fede9dcca03a658a | 24,116 | [
-1
] |
24,117 | LispLayers.lsp | PawelKinczyk_AutoLisp-Automatization-For-Work/Scripts/LispLayers.lsp | (defun c:Layers (/ AcObj ActDoc
Cntr Pnt0
e l
Pnt1 Pnt2 LyrName LyrLType LyrClr)
(vl-load-com)
(setq AcObj (vlax-get-Acad-Object))
(setq ActDoc (vla-get-ActiveDocument AcObj))
(vla-EndUndoMark ActDoc)
(vla-StartUndoMark ActDoc)
(setq Cntr -1)
(setq Pnt0 (trans (getpoint "\nBase point")1 0))
(command ... | 1,721 | Common Lisp | .l | 64 | 22.453125 | 71 | 0.55252 | PawelKinczyk/AutoLisp-Automatization-For-Work | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 72826613112351e8461655d969278dfab9573c2b272d222d23719bd807b3f7f7 | 24,117 | [
-1
] |
24,140 | testframework.lisp | nathangeffen_simple-common-lisp-test-suite/testframework.lisp | ; Simple Common Lisp test package :cl-test-suite
; version 1.0 May 2012
;
; This is a simple generic test package.
;
; Programmer: Nathan Geffen (C) 2012. Licenced under GPL version
; 3.0. See below.
;
; Email queries to nathangeffen at quackdown.info
;
; Exported procedures:
;
; add-test-case - adds a test case ... | 10,778 | Common Lisp | .lisp | 266 | 32.030075 | 77 | 0.586059 | nathangeffen/simple-common-lisp-test-suite | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 1d16ba2bc96554fbcae6fbb8bb6ffbd5457d9c93b060acc21860b2776a21592b | 24,140 | [
-1
] |
24,141 | packages.lisp | nathangeffen_simple-common-lisp-test-suite/packages.lisp | ; Simple Common Lisp test package :cl-test-suite
; version 1.0 May 2012
;
; This is a simple generic test package.
;
; Programmer: Nathan Geffen (C) 2012.
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software ... | 1,096 | Common Lisp | .lisp | 32 | 30.28125 | 71 | 0.707707 | nathangeffen/simple-common-lisp-test-suite | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | aba3e9748e028859cabe3dc3b30a68c6c8578f449848b64eaaa4870ffb9c1ae5 | 24,141 | [
-1
] |
24,159 | package.lisp | rudolfochrist_jasql/package.lisp | ;;;; package.lisp
(defpackage #:jasql
(:use :cl)
(:export
#:load-sql
#:sql
#:docstring
;; adapter protocol
#:insert-returning
#:insert-update-delete
#:insert-update-delete-many
#:execute-script
#:select-one-row
#:select
#:paramaters))
| 274 | Common Lisp | .lisp | 15 | 14.666667 | 30 | 0.649805 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 094f85e44f0d071d564c8bed3db061918903428ab02eca126d334c818a4ac317 | 24,159 | [
-1
] |
24,160 | init.lisp | rudolfochrist_jasql/init.lisp | (require 'asdf)
#+sbcl (require 'sb-aclrepl)
(asdf:initialize-source-registry
'(:source-registry
(:directory (:here))
(:tree (:here "vendor/"))
(:tree (:here "systems/"))
:inherit-configuration))
| 210 | Common Lisp | .lisp | 8 | 23.5 | 32 | 0.671642 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 265594c5e9996cb9c2f915797ab1747d883147a126f1eda39dd12b486aa0f420 | 24,160 | [
-1
] |
24,161 | sqlite.lisp | rudolfochrist_jasql/t/sqlite.lisp |
;;;; sqlite.lisp
(defpackage #:jasql.sqlite.test
(:use :cl :fiveam :fiveam-matchers :jasql.sqlite))
(in-package #:jasql.sqlite.test)
(in-suite* :jasql.sqlite.test)
(defparameter *test-db-path* (asdf:system-relative-pathname "jasql" "t/test.sqlite3"))
(defparameter *test-db*
(make-handle :path *test-db-path*))... | 3,242 | Common Lisp | .lisp | 76 | 35.421053 | 97 | 0.611217 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 15cd65ead8ffc5b3aa8fc83a208e4531eea490a16977f72d0454591c3fe6cd03 | 24,161 | [
-1
] |
24,162 | postgres.lisp | rudolfochrist_jasql/t/postgres.lisp | ;;;; postgres.lisp
(defpackage #:jasql.postgres.test
(:use :cl :fiveam :fiveam-matchers :jasql :jasql.postgres))
(in-package #:jasql.postgres.test)
(in-suite* :jasql.postgres.test)
(defvar *test-db*
(make-handle :database "jasqltest"
:username "jasql"
:host :unix))
(defun count-u... | 3,132 | Common Lisp | .lisp | 76 | 33.736842 | 86 | 0.605541 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | e127ff989ccc73d2086fee48abf971af621cac52c5664e5bf1748f6bbfbf76fb | 24,162 | [
-1
] |
24,163 | protocol.lisp | rudolfochrist_jasql/adapters/protocol.lisp | ;;;; protocol.lisp
(in-package #:jasql)
(defgeneric insert-returning (db sql &optional parameters)
(:documentation "Run INSERT statement and return auto-generated
value.
An auto-generated value can be the (e.g.) ID of the last inserted
value."))
(defgeneric insert-update-delete (db sql &optional parameters)
... | 938 | Common Lisp | .lisp | 19 | 46.684211 | 72 | 0.778024 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 1945c691205a928dd51e45f22e241d42b0b1382b356e214b7563999d9546745d | 24,163 | [
-1
] |
24,164 | sqlite.lisp | rudolfochrist_jasql/adapters/sqlite.lisp | ;;;; sqlite.lisp
(defpackage #:jasql.sqlite
(:use :cl #:jasql)
(:import-from #:sqlite
#:with-transaction
#:with-open-database)
(:export
#:sqlite-handle
#:path
#:busy-timeout
#:make-handle))
(in-package #:jasql.sqlite)
(defclass sqlite-handle ()
((path :initarg :pat... | 4,964 | Common Lisp | .lisp | 101 | 41.633663 | 98 | 0.669907 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | d23cf08965675bc36ba6a46737a1680ab019162571355020ef2d98adb5835515 | 24,164 | [
-1
] |
24,165 | postgres.lisp | rudolfochrist_jasql/adapters/postgres.lisp | ;;;; postgres.lisp
(defpackage #:jasql.postgres
(:use :cl #:jasql)
(:import-from #:postmodern
#:query
#:prepare)
(:export
#:postgres-handle
#:with-postmodern-connection
#:spec
#:make-handle))
(in-package #:jasql.postgres)
(defclass postgres-handle ()
((database :i... | 7,263 | Common Lisp | .lisp | 182 | 28.752747 | 97 | 0.574876 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | cc8adb14a8e04dfbaeab58adce072e8ac05be576444c76e903467117e0901870 | 24,165 | [
-1
] |
24,166 | documentation.lisp | rudolfochrist_jasql/doc/documentation.lisp | (asdf:load-systems "sb-texinfo" "jasql" "jasql.sqlite" "jasql.postgres")
(sb-texinfo:document-packages (list :jasql :jasql.sqlite :jasql.postgres) "jasql"
:output-file "doc/dict.texi"
:standalone nil :write-backmatter nil :write-menu nil :exclude-node t)
| 318 | Common Lisp | .lisp | 4 | 62.75 | 100 | 0.617363 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 4604f700d7862b91965b22012c94f9692a32eaa040522ff5673f3a09395e34be | 24,166 | [
-1
] |
24,167 | jasql.postgres.asd | rudolfochrist_jasql/jasql.postgres.asd | ;;;; jasql.postgres.asd
(defsystem "jasql.postgres"
:author "Sebastian Christ <rudolfo.christ@pm.me>"
:maintainer "Sebastian Christ <rudolfo.christ@pm.me>"
:license "MPL-2.0"
:homepage "https://github.com/rudolfochrist/jasql"
:version (:read-file-line "version")
:depends-on ("cl+ssl"
"postmo... | 1,090 | Common Lisp | .asd | 30 | 28.333333 | 81 | 0.597538 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 7fb9a2b8719d9c8611f2cebebe9c7e9406e31a88c7fd865c7a38db0ea60ff8cd | 24,167 | [
-1
] |
24,168 | jasql.asd | rudolfochrist_jasql/jasql.asd | ;;;; jasql.asd
(defsystem "jasql"
:author "Sebastian Christ <rudolfo.christ@pm.me>"
:maintainer "Sebastian Christ <rudolfo.christ@pm.me>"
:mailto "rudolfo.christ@pm.me"
:license "MPL-2.0"
:homepage "https://github.com/rudolfochrist/jasql"
:bug-tracker "https://github.com/rudolfochrist/jasql/issues"
:sour... | 812 | Common Lisp | .asd | 20 | 34.95 | 77 | 0.659924 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | d003d6972f6bfb5f003468adc92e3087711e7b1c576c08b3442283e50e133b23 | 24,168 | [
-1
] |
24,169 | jasql.sqlite.asd | rudolfochrist_jasql/jasql.sqlite.asd |
;;;; jasql.sqlite.asd
(defsystem "jasql.sqlite"
:author "Sebastian Christ <rudolfo.christ@pm.me>"
:maintainer "Sebastian Christ <rudolfo.christ@pm.me>"
:license "MPL-2.0"
:homepage "https://github.com/rudolfochrist/jasql"
:version (:read-file-line "version")
:depends-on ("sqlite"
"jasql")
... | 1,005 | Common Lisp | .asd | 28 | 28.392857 | 76 | 0.598352 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | c479eb6fb147e0b24e2ec14cd85c28f00ff0654d8b548c53ec6a227c09a50ee5 | 24,169 | [
-1
] |
24,175 | Makefile | rudolfochrist_jasql/Makefile | # jasql
include config.mk
.PHONY:
clean:
-rm -f **/*.fasl
-rm -f doc/dict.texi
-rm -rf doc/include/
.PHONY:
info: jasql.info
jasql.info: doc/jasql.texi doc/dict.texi
$(MAKEINFO) $(srcdir)/doc/jasql.texi
doc/dict.texi: $(SRCS)
$(LISP) $(LISPFLAGS) \
--load init.lisp \
--load doc/documentation.lisp
.PHONY:
c... | 462 | Common Lisp | .l | 21 | 20.190476 | 45 | 0.689655 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 45091bb9f45d7de0cd13eba422ec5fefded33b35723d53b68fa9467e519398c3 | 24,175 | [
-1
] |
24,176 | jasql.info | rudolfochrist_jasql/jasql.info | This is jasql.info, produced by makeinfo version 7.1 from jasql.texi.
This manual is for jasql (version 0.9.0 , last updated "25 September
2024")
Copyright © 2020 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Document... | 40,089 | Common Lisp | .l | 720 | 51.565278 | 144 | 0.726665 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 0ce498fae2eb6c7354680b1603a36d5d87defce17938d597342bf0a7bcb06495 | 24,176 | [
-1
] |
24,178 | sqlite-test.sql | rudolfochrist_jasql/t/sqlite-test.sql | -- name: create-users-table#
-- Create the users table
create table users
(
_id integer primary key autoincrement,
username text not NULL unique,
firstname text,
lastname text
)
;
-- name: bulk-insert-users*!
-- Insert many users
insert into users
(
username,
firstname,
lastname
)
values
(
:username,
... | 1,144 | Common Lisp | .l | 79 | 12.759494 | 41 | 0.739583 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 8e59ec505a49b104e7e2220b7a4c8c9753676a423ac8183d5200d807f06e96be | 24,178 | [
-1
] |
24,180 | postgres-test.sql | rudolfochrist_jasql/t/postgres-test.sql | -- name: create-users-table#
-- Create the users table
create table users
(
_id serial primary key,
username text not NULL unique,
firstname text,
lastname text
)
;
-- name: bulk-insert-users*!
-- Insert many users
insert into users
(
username,
firstname,
lastname
)
values
(
:username,
:firstname,
... | 1,143 | Common Lisp | .l | 80 | 12.575 | 41 | 0.73814 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | b26d293de8910bdf6a82171eb7362c83667da8cefa8cbf2e6cfe67891c4986af | 24,180 | [
-1
] |
24,186 | jasql.texi | rudolfochrist_jasql/doc/jasql.texi | \input texinfo @c -*- texinfo -*-
@c %**start of header
@setfilename jasql.info
@settitle jasql Manual 0.9.0
@documentencoding UTF-8
@documentlanguage en
@c -------------------------------------------
@c MACHINE GENERATED FILE! DON'T EDIT BY HAND.
@c -------------------------------------------
@c %**end of header
@... | 29,346 | Common Lisp | .l | 621 | 45.975845 | 120 | 0.808159 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 9a874a3b024faa9acae6195f08ba086410dc6e86125a63942a96372fa879a143 | 24,186 | [
-1
] |
24,187 | jasql.org | rudolfochrist_jasql/doc/jasql.org | # -*- mode: org; -*-
#+MACRO: version (eval (with-temp-buffer (insert-file-contents-literally "../version" nil) (buffer-substring-no-properties (point-min) (point-max))))
#+STARTUP: content
#+TITLE: jasql Manual {{{version}}}
#+AUTHOR: Sebastian Christ
#+EMAIL: rudolfo.christ@pm.me
#+OPTIONS: ':t author:t email:t toc:... | 27,850 | Common Lisp | .l | 541 | 50.18854 | 149 | 0.807828 | rudolfochrist/jasql | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | eafbe07071ea957fa70e1e7cbffcc28cc470d363d9acbc4fced4c62c328222ae | 24,187 | [
-1
] |
24,202 | scratch.lisp | jobez_verdad/scratch.lisp | (ql:quickload :cffi)
(cffi:defcallback on-keydown
:bool
((viewer :pointer)
(key :char)
(modifier :int))
(princ key))
(ecl-set-keydown-cb (cffi:callback on-keydown))
(ecl-to-matrixXd 8 3 #(0.0 0.0 0.0
0.0 0.0 1.0
0.0 1.0 0.0
0.0... | 873 | Common Lisp | .lisp | 30 | 13.066667 | 47 | 0.310633 | jobez/verdad | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | fb31d4c118a0ba1b08f8a1004318574da277a1c2e06f8f5411d470397d3adbac | 24,202 | [
-1
] |
24,203 | init.lisp | jobez_verdad/init.lisp | (time (let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init))))
(load
(asdf/system:system-relative-pathname :swank "start-swank.lisp")
:verbose t)
| 303 | Common Lisp | .lisp | 7 | 32.857143 | 71 | 0.6 | jobez/verdad | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | a5d60766a8890360d3889ea513e467efb7972429f7f346d427fe5ad93e878811 | 24,203 | [
-1
] |
24,204 | ecl-root.cc.lisp | jobez_verdad/gen/ecl-root.cc.lisp | (use-package :cm-ifs)
(load "helpers.lisp")
(with-interface (ecl-root)
(include <ecl/ecl.h>)
(include <chrono>)
(include <iostream>)
(include <fstream>)
(include "myigl.h")
(implementation-only
(include "ecl-helpers.h")
)
(namespace
'ecl-root
(function initialize-ecl ((int argc)
... | 1,060 | Common Lisp | .lisp | 29 | 30.965517 | 119 | 0.557073 | jobez/verdad | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | d4203a25dab541af5f773ad52a6d2295cdfb084a49a98fcc22b76cc919a21e1f | 24,204 | [
-1
] |
24,205 | ecl-helpers.cc.lisp | jobez_verdad/gen/ecl-helpers.cc.lisp | ; -*- mode: Lisp; eval: (cm-mode 1); -*-
(use-package :cm-ifs)
(load "helpers.lisp")
(with-interface (ecl-helpers)
(include <ecl/ecl.h>)
(include <iostream>)
(include <fstream>)
(include "cl_bridge_utils.hpp")
(namespace
'ecl-helpers
;; (function cl-str-to-str ((cl_object cl-str))
;; -> #:s... | 809 | Common Lisp | .lisp | 25 | 28.28 | 58 | 0.500645 | jobez/verdad | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 2355785780d6d9210789a6a7e753c7f5f7ee31b28986d2917923b3c096a794e5 | 24,205 | [
-1
] |
24,206 | main.cc.lisp | jobez_verdad/gen/main.cc.lisp | ; -*- mode: Lisp; eval: (cm-mode 1); -*-
(include "cl_bridge_utils.hpp")
(include "ecl-root.h")
(function main ((int argc)
(char *argv[]))
-> int
(#:ecl-root::initialize-ecl argc argv)
(while 1
))
| 226 | Common Lisp | .lisp | 9 | 20.888889 | 40 | 0.562791 | jobez/verdad | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | da1227eb8494731f420ca592bdcfa4305168e6afb278f2f70042538d39d74289 | 24,206 | [
-1
] |
24,207 | myigl.cc.lisp | jobez_verdad/gen/myigl.cc.lisp | (use-package :cm-ifs)
(load "helpers")
(with-interface (myigl)
(include <igl/viewer/Viewer.h>)
(include "cl_bridge_utils.hpp")
(typedef bool (fpointer keydown-cb
((#:igl::viewer::Viewer& viewer)
(unsigned char key)
(int m... | 3,786 | Common Lisp | .lisp | 111 | 21.387387 | 67 | 0.425294 | jobez/verdad | 1 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 1b448c9fc40364232abddf277c182e50eeec2f103b4d7ddcb55d3c83866501cc | 24,207 | [
-1
] |
24,208 | main.lisp | icot_cl-ciph/tests/main.lisp | (defpackage cl-ciph/tests/main
(:use :cl
:cl-ciph
:rove))
(in-package :cl-ciph/tests/main)
;; NOTE: To run this test file, execute `(asdf:test-system :cl-ciph)' in your Lisp.
(deftest test-target-1
(testing "should (= 1 1) to be true"
(ok (= 1 1))))
| 276 | Common Lisp | .lisp | 9 | 26.777778 | 83 | 0.630189 | icot/cl-ciph | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 9de97c05dcb9f30c5dbc4d85097ae4fcd2105526d1a0e801bac0a92e27334d52 | 24,208 | [
-1
] |
24,209 | cl-ciph.asd | icot_cl-ciph/cl-ciph.asd | (defsystem "cl-ciph"
:version "0.1.1"
:author "icot"
:license "GPLv3"
:depends-on ("str" "uiop" "unix-opts")
:components ((:module "src"
:components
((:file "main"))))
:description ""
:in-order-to ((test-op (test-op "cl-ciph/tests"))))
(defsystem "cl-ciph/tests"
:author ... | 861 | Common Lisp | .asd | 26 | 27.653846 | 82 | 0.612981 | icot/cl-ciph | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | f658ba660e0fd66308684cb22ad48aa325ddc0b1d7604ba2dd54479a8dd25d4e | 24,209 | [
-1
] |
24,212 | Makefile | icot_cl-ciph/Makefile | clean:
rm build.log
build:
buildapp --output cl-ciph --asdf-path . --asdf-tree ~/quicklisp/dists --load-system cl-ciph --entry cl-ciph:main --logfile build.log
| 163 | Common Lisp | .l | 4 | 39 | 133 | 0.734177 | icot/cl-ciph | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 4c41fd51e6398488056b2602d959e945ee012be35a624941e57641eda8ef8a42 | 24,212 | [
-1
] |
24,213 | cl-ciph.ros | icot_cl-ciph/roswell/cl-ciph.ros | #!/bin/sh
#|-*- mode:lisp -*-|#
#|
exec ros -Q -- $0 "$@"
|#
(progn ;;init forms
(ros:ensure-asdf)
(asdf:load-system :unix-opts))
(defpackage :ros/script/cl-ciph
(:use :cl))
(in-package :ros/script/cl-ciph)
(defun unknown-option (condition)
(format t "warning: ~s option is unknown!~%" (opts:option condition)... | 1,986 | Common Lisp | .l | 52 | 26.846154 | 90 | 0.517134 | icot/cl-ciph | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 64d0a8a160e7bf8ed7505c0313d5998232710afd85a501a4dc08238885b715d7 | 24,213 | [
-1
] |
24,229 | mpi-export.lisp | gorozhin_cl-gcrypt/src/mpi-export.lisp | (in-package #:cl-gcrypt)
(export '#.(lispify "gcry_mpi_t" 'type))
(export '#.(lispify "GCRYMPI_FMT_NONE" 'enumvalue))
(export '#.(lispify "GCRYMPI_FMT_STD" 'enumvalue))
(export '#.(lispify "GCRYMPI_FMT_PGP" 'enumvalue))
(export '#.(lispify "GCRYMPI_FMT_SSH" 'enumvalue))
(export '#.(lispify "GCRYMPI_FMT_HEX" 'enumvalu... | 526 | Common Lisp | .lisp | 11 | 46.545455 | 53 | 0.697266 | gorozhin/cl-gcrypt | 1 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 3ed22ad1f7168c4f904a9faa88b1ca0f313731768efdcefdcf43e5d0ea3f0205 | 24,229 | [
-1
] |
24,230 | md-export.lisp | gorozhin_cl-gcrypt/src/md-export.lisp | (in-package #:cl-gcrypt)
(export '#.(lispify "gcry_md_hd_t" 'type))
(export '#.(lispify "gcry_md_handle" 'type))
(export '#.(lispify "gcry_error_t" 'type))
(export '#.(lispify "gcry_buffer_t" 'type))
(export 'size)
(export 'off)
(export 'len)
(export 'buf)
;; algos
(export '#.(lispify "GCRY_MD_NONE" 'enumvalue))
(exp... | 3,685 | Common Lisp | .lisp | 79 | 45.582278 | 56 | 0.692671 | gorozhin/cl-gcrypt | 1 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | baa4ee368b40bd1b6b3bbfae754b97c82f2bdfd647d529046867069eb15970e1 | 24,230 | [
-1
] |
24,231 | sexp-binding.lisp | gorozhin_cl-gcrypt/src/sexp-binding.lisp | (in-package #:cl-gcrypt)
(cffi:defctype #.(lispify "gcry_sexp_t" 'type) :pointer)
(defenum
#.(lispify "GCRYSEXP_FMT_DEFAULT" 'enumvalue)
#.(lispify "GCRYSEXP_FMT_CANON" 'enumvalue)
#.(lispify "GCRYSEXP_FMT_BASE64" 'enumvalue)
#.(lispify "GCRYSEXP_FMT_ADVANCED" 'enumvalue))
(cffi:defcfun
#.(namify-functio... | 10,613 | Common Lisp | .lisp | 251 | 39.055777 | 97 | 0.718717 | gorozhin/cl-gcrypt | 1 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 2d22ea0a625b0cf7988d38682a75dec2baed185c36ee1542c74b04f0b0f7e5ef | 24,231 | [
-1
] |
24,232 | mpi-binding.lisp | gorozhin_cl-gcrypt/src/mpi-binding.lisp | (in-package #:cl-gcrypt)
(cffi:defctype #.(lispify "gcry_mpi_t" 'type) :pointer)
(defenum
(#.(lispify "GCRYMPI_FMT_NONE" 'enumvalue) 0)
(#.(lispify "GCRYMPI_FMT_STD" 'enumvalue) 1)
(#.(lispify "GCRYMPI_FMT_PGP" 'enumvalue) 2)
(#.(lispify "GCRYMPI_FMT_SSH" 'enumvalue) 3)
(#.(lispify "GCRYMPI_FMT_HEX" 'en... | 1,104 | Common Lisp | .lisp | 26 | 39.692308 | 68 | 0.710428 | gorozhin/cl-gcrypt | 1 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | fb8b16f2e514e243a3009ebd587ee02d7b84f0dcbe88bd2b9e5358a87f689a0f | 24,232 | [
-1
] |
24,233 | md-binding.lisp | gorozhin_cl-gcrypt/src/md-binding.lisp | (in-package #:cl-gcrypt)
;;;; MD module
;; algos enum
(defenum
#.(lispify "GCRY_MD_NONE" 'enumvalue)
#.(lispify "GCRY_MD_MD5" 'enumvalue)
#.(lispify "GCRY_MD_SHA1" 'enumvalue)
#.(lispify "GCRY_MD_RMD160" 'enumvalue)
(#.(lispify "GCRY_MD_MD2" 'enumvalue) 5)
#.(lispify "GCRY_MD_TIGER" 'enumvalue)
#.(lispif... | 9,485 | Common Lisp | .lisp | 248 | 35.052419 | 102 | 0.697404 | gorozhin/cl-gcrypt | 1 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 5efb556f6aa2108a233a0499f1e6bc0fa6b3f297ba899b327193eabc5c812b91 | 24,233 | [
-1
] |
24,234 | pk-binding.lisp | gorozhin_cl-gcrypt/src/pk-binding.lisp | (in-package #:cl-gcrypt)
(defenum
(#.(lispify "GCRY_PK_RSA" 'enumvalue) 1)
#.(lispify "GCRY_PK_RSA_E" 'enumvalue)
#.(lispify "GCRY_PK_RSA_S" 'enumvalue)
(#.(lispify "GCRY_PK_ELG_E" 'enumvalue) 16)
#.(lispify "GCRY_PK_DSA" 'enumvalue)
#.(lispify "GCRY_PK_ECC" 'enumvalue)
(#.(lispify "GCRY_PK_ELG" 'enumval... | 5,039 | Common Lisp | .lisp | 120 | 39.058333 | 71 | 0.695918 | gorozhin/cl-gcrypt | 1 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 5c2ed9ece54bb02480deaab1a6b255175b112f6635920e54b0d50a29f685ff08 | 24,234 | [
-1
] |
24,235 | cipher-binding.lisp | gorozhin_cl-gcrypt/src/cipher-binding.lisp | (in-package #:cl-gcrypt)
(cffi:defctype #.(lispify "gcry_cipher_hd_t" 'type) :pointer)
(defenum
#.(lispify "GCRY_CIPHER_NONE" 'enumvalue)
#.(lispify "GCRY_CIPHER_IDEA" 'enumvalue)
#.(lispify "GCRY_CIPHER_3DES" 'enumvalue)
#.(lispify "GCRY_CIPHER_CAST5" 'enumvalue)
#.(lispify "GCRY_CIPHER_BLOWFISH" 'enumvalu... | 9,437 | Common Lisp | .lisp | 232 | 37.551724 | 78 | 0.71061 | gorozhin/cl-gcrypt | 1 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 369c2c31e33c784c4fa732610e69d75b38d5027cd6f76c5911593526b98d4581 | 24,235 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.