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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20,503 | https.lisp | jnc-nj_jack-tools/src/https.lisp | (in-package #:jack.tools.https)
(defun jsonp (str)
(and (stringp str)
(not (string= str ""))
(or (eq (char str 0) #\{)
(eq (char str 0) #\[))))
(defun htmlp (str)
(and (stringp str)
(substringp "<!DOCTYPE html>" str)))
(defun decode-http-body (body &key (decoder :jonathan))
(cond ((an... | 3,446 | Common Lisp | .lisp | 78 | 39.75641 | 159 | 0.65356 | jnc-nj/jack-tools | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 5ad5fc72cf6d6572643422bd68eb6e6f48f900115bb6249e84704bebf1fb1b6e | 20,503 | [
-1
] |
20,504 | serialize.lisp | jnc-nj_jack-tools/src/serialize.lisp | (in-package :jack.tools.serialize)
(defclass serial-dict ()
((n2s :initarg :n2s :initform (make-hash-table :test #'equal))
(s2n :initarg :s2n :initform (make-hash-table :test #'equal))
(ix :initarg :ix :initform -1)))
(defclass serial-object ()
((var-dict :initarg :var-dict :initform (make-instance 'serial-... | 2,429 | Common Lisp | .lisp | 58 | 37.551724 | 87 | 0.66822 | jnc-nj/jack-tools | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | cc99ddf9d9eac3fda09c1414adda3c3e5cdf3762870c004c2e821f9336c9ae5b | 20,504 | [
-1
] |
20,505 | lists.lisp | jnc-nj_jack-tools/src/lists.lisp | (in-package #:jack.tools.lists)
(defun agethash (keyword alist &key (test #'string=) (key #'(lambda (arg) (remove #\* (string-upcase arg)))))
(when (alistp alist)
(cdr (assoc (funcall key (string keyword))
alist :test test :key key))))
(defun set-agethash (slot place new)
(setf (cdr (assoc slot place :test ... | 3,867 | Common Lisp | .lisp | 94 | 34.212766 | 109 | 0.607676 | jnc-nj/jack-tools | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 046bc2867ed4d91ad00d95fa6b940326053ac161cd8b836aee800974a431df0a | 20,505 | [
-1
] |
20,506 | threads.lisp | jnc-nj_jack-tools/src/threads.lisp | (in-package #:jack.tools.threads)
(defun count-threads (key)
"Count threads matching key."
(let ((count 0))
(dolist (thread (bt:all-threads))
(when (search key (bt:thread-name thread))
(incf count)))
count))
(defun connect-client (client-name)
(handler-case (join-thread client-name)
(sb-sys:i... | 854 | Common Lisp | .lisp | 24 | 31.791667 | 75 | 0.682039 | jnc-nj/jack-tools | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 958c96bc98d1ce5645d8c5c30c29d77a5302687583f1ce0cb06dcec217b239fd | 20,506 | [
-1
] |
20,507 | misc.lisp | jnc-nj_jack-tools/src/misc.lisp | (in-package #:jack.tools.misc)
(defun empty-p (obj)
(or (null obj) (and (stringp obj) (string= "" obj))))
(defun dekeywordfy (name) (symbol-munger:lisp->camel-case name))
(defun keywordfy (name) (values (intern (string-upcase name) "KEYWORD")))
(defun prompt-read (prompt)
"Prompts and reads."
(format *query-i... | 2,452 | Common Lisp | .lisp | 61 | 36.311475 | 81 | 0.668768 | jnc-nj/jack-tools | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 6217de14765ebdd2889527a58f6c5ad60bfdf800ec2c780b2a0b50351da4de6b | 20,507 | [
-1
] |
20,508 | packages.lisp | jnc-nj_jack-tools/src/packages.lisp | (in-package :cl-user)
(defpackage #:jack.tools.strings
(:use #:cl)
(:export #:RREPLACE
#:STRINGFY
#:SEXPP
#:SUBSTRINGP
#:REGEXFY
#:CONCATSTRING
#:GET-REGEX-MATCH
#:STRING-TEST-P
#:TRIM-WHITESPACE
#:TRIM-STRING
#:BRACE-BALANCE-P
#:PERFECT-MATCH))
(defpackage #:jack.tools... | 6,878 | Common Lisp | .lisp | 338 | 15.683432 | 37 | 0.609992 | jnc-nj/jack-tools | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | cd27269fff230726884718c16285c8fe17feb6d25d20c0f73ef86ed69521ae46 | 20,508 | [
-1
] |
20,509 | couchdb.lisp | jnc-nj_jack-tools/src/couchdb.lisp | (in-package #:jack.tools.couchdb)
(eval-when (:compile-toplevel :load-toplevel :execute)
(defvar +couch-host+ nil)
(defvar +couch-port+ nil)
(defvar +couch-user+ nil)
(defvar +couch-key+ nil))
(defmacro with-couch (name &body body)
"FFS the clouchdb package doesn't have a proper with macro."
`(let ((*couc... | 2,031 | Common Lisp | .lisp | 56 | 31.196429 | 72 | 0.636826 | jnc-nj/jack-tools | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | ac1977617cbe0ab21cbe7ea53d1d91ef35738163e941d5eb7992597cc0dc7fbc | 20,509 | [
-1
] |
20,510 | jack-tools.asd | jnc-nj_jack-tools/jack-tools.asd | (in-package #:cl-user)
(asdf:defsystem jack-tools
:author "Jack Nai-Chieh Chou <jacknchou@icloud.com>"
:maintainer "Jack Nai-Chieh Chou <jacknchou@icloud.com>"
:serial t
:components ((:file "src/packages")
(:file "src/threads")
(:file "src/filesystems")
(:file "src/keys")
(:file ... | 1,308 | Common Lisp | .asd | 54 | 15.425926 | 58 | 0.487241 | jnc-nj/jack-tools | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 5283aa559fe4891952eb736609aa03d61b748fb3d64c510211e81135a9e07905 | 20,510 | [
-1
] |
20,512 | .gitmodules | jnc-nj_jack-tools/.gitmodules | [submodule "submodules/asn1"]
path = submodules/asn1
url = https://github.com/jnc-nj/asn1.git
[submodule "submodules/pem"]
path = submodules/pem
url = https://github.com/jnc-nj/pem.git
[submodule "submodules/timer-wheel"]
path = submodules/timer-wheel
url = https://github.com/jnc-nj/timer-wheel.git
| 306 | Common Lisp | .l | 9 | 32.333333 | 48 | 0.757576 | jnc-nj/jack-tools | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 69f5bd04808bda81ff619bd4be9a7dec794ec5d54d39fe81a55d191c01c8b180 | 20,512 | [
-1
] |
20,542 | mars-rover.lisp | stewart123579_mars-rover-challenge-lisp/mars-rover.lisp | ;; Mars Rover Challenge in common lisp
;; Copyright (C) 2020 Stewart V. Wright, for Vifortech Solutions
;;
;; https://blog.vifortech.com/posts/lisp-mars-rover/
;;
;; 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 Fr... | 2,226 | Common Lisp | .lisp | 55 | 36.163636 | 91 | 0.63628 | stewart123579/mars-rover-challenge-lisp | 2 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 112adae55603ef308db5b25cd7e9a22ed7b4463a8d148b0225203da9d7fdfc8b | 20,542 | [
-1
] |
20,543 | mars-rover-v2.lisp | stewart123579_mars-rover-challenge-lisp/mars-rover-v2.lisp | (load "mars-rover.lisp")
(defun set-plateau-size (plateau-shape)
(setf *x_max* (car plateau-shape))
(setf *y_max* (cadr plateau-shape)))
(defun loop-over-starting-positions (input)
"Loop over the starting poition/orientation and commands
INPUT is a list of pairs of lists (x y orientation) (commands)"
(whe... | 952 | Common Lisp | .lisp | 21 | 39.047619 | 82 | 0.651892 | stewart123579/mars-rover-challenge-lisp | 2 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 0957324e4cbb215a00af233fa4fd1ee8e2339d24ea61211ca71fa8736d7a3b15 | 20,543 | [
-1
] |
20,561 | ui.lisp | lockie_spring-lisp-jam-2024/src/ui.lisp | (in-package #:cycle-of-evil)
(ecs:defcomponent ui-window
(name :|| :type keyword :index ui-window :unique t)
(function #'identity :type function)
(shown 0 :type bit))
(ecs:defsystem render-ui-windows
(:components-ro (ui-window)
:when (plusp ui-window-shown)
:arguments ((:ui-context cffi:foreign-pointer... | 13,339 | Common Lisp | .lisp | 259 | 38.073359 | 351 | 0.549874 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 1ae395cb13d535b05ac4626f3fe8f8b765f6577c55ee96d350eb9932de853575 | 20,561 | [
-1
] |
20,562 | package.lisp | lockie_spring-lisp-jam-2024/src/package.lisp | (defpackage #:cycle-of-evil
(:use #:cl #:let-plus #:trivial-adjust-simple-array)
(:local-nicknames (#:tiled #:cl-tiled)
(#:ui #:cl-liballegro-nuklear/declarative))
(:import-from #:alexandria
#:array-length #:array-index #:clamp #:define-constant #:doplist
#:form... | 942 | Common Lisp | .lisp | 19 | 38.368421 | 80 | 0.591549 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c4d6d5686f2fb219d5d9880de97d41946811f9f673b646feb5fb1235317e6188 | 20,562 | [
-1
] |
20,563 | damage.lisp | lockie_spring-lisp-jam-2024/src/damage.lisp | (in-package #:cycle-of-evil)
(ecs:defcomponent health
(points 0 :type fixnum)
(max-points points :type fixnum))
(defconstant +damage-numbers-display-time+ 2.0)
(ecs:defcomponent damage-number
(damage 0 :type fixnum)
(display-time +damage-numbers-display-time+ :type single-float))
(ecs:defsystem disspate-... | 2,761 | Common Lisp | .lisp | 61 | 37.393443 | 80 | 0.615985 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 24e3047479247a0d3d101782b6c8581ebfa14b7c6dbb24f168c7214154137ca2 | 20,563 | [
-1
] |
20,564 | offensive.lisp | lockie_spring-lisp-jam-2024/src/offensive.lisp | (in-package #:cycle-of-evil)
(ecs:defcomponent meat
(points 0 :type fixnum)
(carry -1 :type ecs:entity :index meat-carried-by))
(ecs:defsystem setup-behaviors
(:components-ro (behavior)
:components-no (behavior-tree-marker))
(make-behavior-tree behavior-type entity))
(define-behavior-tree-node (idle
... | 15,515 | Common Lisp | .lisp | 334 | 32.634731 | 80 | 0.536381 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d72eb329ca0dbbdffa24d3f400278bfd1c6a4d28253a3795b28f89e2e1555adb | 20,564 | [
-1
] |
20,565 | poison.lisp | lockie_spring-lisp-jam-2024/src/poison.lisp | (in-package #:cycle-of-evil)
(ecs:defcomponent poison
(duration 0.0 :type single-float)
(dps 0 :type fixnum :documentation "Damage per second"))
(ecs:defsystem intoxicate
(:components-rw (poison animation-state character)
:arguments ((:dt single-float)))
(let ((previous-duration poison-duration))
(dec... | 842 | Common Lisp | .lisp | 20 | 37.4 | 63 | 0.705379 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c3e379511171255437f89945f79442283c7ae3728e79fb3f7d7c1fe55d971e97 | 20,565 | [
-1
] |
20,566 | sound.lisp | lockie_spring-lisp-jam-2024/src/sound.lisp | (in-package #:cycle-of-evil)
(ecs:defcomponent sound-prefab
(name :|| :type keyword :documentation "Sound name"
:index sound-prefab :unique t)
(sample (cffi:null-pointer) :type cffi:foreign-pointer))
(ecs:defcomponent sound
(sample-instance (cffi:null-pointer) :type cffi:foreign-pointer)
(repeat 0 :t... | 4,269 | Common Lisp | .lisp | 89 | 38.573034 | 79 | 0.609791 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 5f7ac287da9b7b5fab05515bb5df0ffe5cc41f0feb593e94cf2b6c0e963e430b | 20,566 | [
-1
] |
20,567 | projectile.lisp | lockie_spring-lisp-jam-2024/src/projectile.lisp | (in-package #:cycle-of-evil)
(ecs:defcomponent projectile
(target-x 0.0 :type float-coordinate)
(target-y 0.0 :type float-coordinate)
(angle 0.0 :type single-float)
(speed 0.0 :type single-float)
(damage 0 :type fixnum)
(splash 0 :type bit :documentation "Whether projectile deals splash damage.
NOTE: assu... | 5,027 | Common Lisp | .lisp | 113 | 31.849558 | 77 | 0.56301 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 2371ebfc7cec4f806ead700a8f458dfc02d6828d2f16339726d70d0bcfbdcccc | 20,567 | [
-1
] |
20,568 | map.lisp | lockie_spring-lisp-jam-2024/src/map.lisp | (in-package #:cycle-of-evil)
(ecs:defcomponent map-tile
(movement-cost 0.0 :type single-float)
(grass 0 :type bit :index grass)
(castle 0 :type bit :index castle))
(ecs:defsystem render-map-tiles
(:components-ro (position size image map-tile)
:initially (al:hold-bitmap-drawing t)
:finally (al:hold-bitm... | 6,380 | Common Lisp | .lisp | 139 | 34.100719 | 79 | 0.550522 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | caeb2ce28042eaa3586007777295b7105da5c6ac7086fd97b091522a2996293b | 20,568 | [
-1
] |
20,569 | character.lisp | lockie_spring-lisp-jam-2024/src/character.lisp | (in-package #:cycle-of-evil)
(ecs:defcomponent target
(entity -1 :type ecs:entity))
(ecs:defcomponent movement
(target-x 0.0 :type single-float)
(target-y 0.0 :type single-float))
(ecs:defcomponent path
"A path previously calculated by A* algorithm."
(target-x 0.0 :type single-float)
(target-y 0.0 :type... | 3,307 | Common Lisp | .lisp | 86 | 30.151163 | 73 | 0.596639 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | bfc9cd370bbb41f572a68cf8a6181d094a83accfb68c56c234ce9a9d423e092f | 20,569 | [
-1
] |
20,570 | main.lisp | lockie_spring-lisp-jam-2024/src/main.lisp | (in-package #:cycle-of-evil)
(defvar *resources-path*
(asdf:system-relative-pathname :cycle-of-evil #P"Resources/"))
(deploy:define-hook (:boot set-resources-path) ()
(setf *resources-path*
(merge-pathnames #P"Resources/"
(uiop:pathname-parent-directory-pathname
... | 7,750 | Common Lisp | .lisp | 165 | 33.70303 | 80 | 0.547688 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 59b1e8b22852eac151f7910201883842ee495b63c2098d7358eda82f5e8438a7 | 20,570 | [
-1
] |
20,571 | sprite.lisp | lockie_spring-lisp-jam-2024/src/sprite.lisp | (in-package #:cycle-of-evil)
(ecs:defcomponent (animation-prefab
:composite-index (animation-prefab
(sprite-name sequence-name)
:unique t))
"Animated sprite prefab to copy data from."
(sprite-name :|| :type keyword :docum... | 10,242 | Common Lisp | .lisp | 203 | 36.743842 | 80 | 0.55202 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 4c725ea6bce38a6fcc015c5c33f184c6ebb01d9a5d64d2a4f052723d11ac22a5 | 20,571 | [
-1
] |
20,572 | priority-queue.lisp | lockie_spring-lisp-jam-2024/src/priority-queue.lisp | ;;;; This priority queue implementation is heavily based on
;;;; pettomato-indexed-priority-queue
;;;; Copyright (c) 2012 Austin Haas <austin@pettomato.com>
;;;; which is in turn based on code from Peter Norvig's AIMA book
;;;; Copyright (c) 1998-2002 by Peter Norvig.
(in-package #:cycle-of-evil)
(define-condition e... | 5,352 | Common Lisp | .lisp | 125 | 33.328 | 78 | 0.582359 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 56507e42144b3fbea2878dadd219fed66531ebec60dd6c7b3796b735406cd41c | 20,572 | [
-1
] |
20,573 | progress.lisp | lockie_spring-lisp-jam-2024/src/progress.lisp | (in-package #:cycle-of-evil)
(ecs:defsystem test-win
(:components-ro (map)
:when (length= 0 (team 0)))
(make-sound-effect -1 :win
(/ +window-width+ 2.0)
(/ +window-height+ 2.0)
:variations 1)
(ecs:delete-entity entity)
(setf *current-map* -1)
... | 697 | Common Lisp | .lisp | 21 | 24.761905 | 44 | 0.543834 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 85c821f376d6b3b3e61624d700e6910ff7d5c052a4288441be80082a75f826dd | 20,573 | [
-1
] |
20,574 | fire.lisp | lockie_spring-lisp-jam-2024/src/fire.lisp | (in-package #:cycle-of-evil)
(ecs:defcomponent fire
(duration 0.0 :type single-float)
(dps 0 :type fixnum :documentation "Damage per second"))
(ecs:defcomponent fire-effect
(character -1 :type ecs:entity :index flames :unique t))
(ecs:defsystem spread-fire
(:components-ro (fire position))
(with-tiles (enc... | 1,905 | Common Lisp | .lisp | 45 | 35.8 | 75 | 0.655154 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f57c627a2d40643b9b965e5b0584cbd2bde08027c38b60e52a78f1e50dbae7ef | 20,574 | [
-1
] |
20,575 | common.lisp | lockie_spring-lisp-jam-2024/src/common.lisp | (in-package #:cycle-of-evil)
(define-constant +window-width+ 1280)
(define-constant +window-height+ 800)
(define-constant +black+ (al:map-rgb 0 0 0)
:test #'equalp)
(ecs:defcomponent parent
(entity -1 :type ecs:entity :index children))
(ecs:defcomponent character
(team 0 :type bit :index team :documentation ... | 4,477 | Common Lisp | .lisp | 110 | 33.809091 | 77 | 0.635673 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 28160c02c066f95501fc5dc0d4501ec1bc9ac02ee40afd785fa7c1bd1f12ea37 | 20,575 | [
-1
] |
20,576 | tint.lisp | lockie_spring-lisp-jam-2024/src/tint.lisp | (in-package #:cycle-of-evil)
(ecs:defsystem render-map-tint
(:components-ro (map)
:when map-tint)
(al:draw-filled-rectangle 0 0 +window-width+ +window-height+ map-tint))
| 179 | Common Lisp | .lisp | 5 | 33 | 73 | 0.72093 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c54874943a4995782f4054fadf7269554e7b4e50dc326e0320cc3241502a31b5 | 20,576 | [
-1
] |
20,577 | sheep.lisp | lockie_spring-lisp-jam-2024/src/sheep.lisp | (in-package #:cycle-of-evil)
(ecs:defcomponent sheep
(meat-points 0 :type fixnum)
(sex 0 :type bit :index sheep-of-sex)
(vision-range 0.0 :type single-float)
(movement-speed 0.0 :type single-float)
(feed-probability 0.0 :type single-float)
(breed-probability 0.0 :type single-float))
(ecs:defsystem mortif... | 5,546 | Common Lisp | .lisp | 137 | 31.065693 | 81 | 0.579103 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 887627fd0ea042915324efbb674fba806ea0a98e80ef7fec29fdb3f5120cc0d6 | 20,577 | [
-1
] |
20,578 | peasant.lisp | lockie_spring-lisp-jam-2024/src/peasant.lisp | (in-package #:cycle-of-evil)
(ecs:defcomponent peasant
(vision-range 0.0 :type single-float)
(movement-speed 0.0 :type single-float)
(slaughter-range 0.0 :type single-float)
(slaughter-damage 0 :type fixnum)
(slaughter-cooldown 0.0 :type single-float)
(unload-range 0.0 :type single-float)
(eagerness 0.5... | 5,885 | Common Lisp | .lisp | 143 | 29.734266 | 79 | 0.552531 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 51a2f401d5c1d8cd2b7ba133670c989965cf69ba6157b9dafb0626ee9f1ad7eb | 20,578 | [
-1
] |
20,579 | build.lisp | lockie_spring-lisp-jam-2024/package/build.lisp | (proclaim '(optimize (speed 3) (safety 0) (debug 0) (compilation-speed 0)))
(ql:register-local-projects)
(ql-util:without-prompting (ql:update-all-dists))
(push :ecs-unsafe *features*)
(ql:quickload '(#:cycle-of-evil #:deploy))
(asdf:make :cycle-of-evil)
| 255 | Common Lisp | .lisp | 6 | 41.5 | 75 | 0.726908 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 15a16b67abcf3ece1372a9f30cbb85b0044364d37d952292487de0a4a3ce0be1 | 20,579 | [
-1
] |
20,580 | cycle-of-evil.asd | lockie_spring-lisp-jam-2024/cycle-of-evil.asd | (defsystem "cycle-of-evil"
:version "0.0.3"
:author "Andrew Kravchuk"
:license "GPLv3"
:depends-on (#:alexandria
#:cl-aseprite
#:cl-astar
#:cl-fast-behavior-trees
#:cl-fast-ecs
#:cl-liballegro
#:cl-liballegro-nuklear
... | 1,357 | Common Lisp | .asd | 42 | 19.214286 | 50 | 0.438783 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 79d3c45957d27d596b7c8e09bdc5e64646510af95fbdbdede757d7624857dfa2 | 20,580 | [
-1
] |
20,582 | cycle-of-evil.desktop | lockie_spring-lisp-jam-2024/package/cycle-of-evil.desktop | [Desktop Entry]
Type=Application
Name=Cycle of Evil
Exec=cycle-of-evil
Terminal=false
Categories=Game;
Icon=icon
| 113 | Common Lisp | .cl | 7 | 15.142857 | 18 | 0.867925 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | cbea3eede3030d6da75afd03a56293a62c9ec3c8dba2440e4bef8c4bc23e15a9 | 20,582 | [
-1
] |
20,603 | package.yml | lockie_spring-lisp-jam-2024/.github/workflows/package.yml | name: Build packages
on:
push:
tags:
- '**'
env:
HOME: "/root"
jobs:
build-linux:
runs-on: ubuntu-latest
container:
image: lockie/docker-lisp-gamedev:latest
options: --user root
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build package... | 3,140 | Common Lisp | .l | 78 | 32.807692 | 467 | 0.644677 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c477edb5531ed11ace7540b78395c1306d73128031d4dd83713ce4bf07d69e31 | 20,603 | [
-1
] |
20,604 | ground-flat.tsx | lockie_spring-lisp-jam-2024/Resources/ground-flat.tsx | <?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.8" tiledversion="1.8.6" name="ground-flat" tilewidth="64" tileheight="64" tilecount="40" columns="10">
<image source="images/tilemap_flat.png" width="640" height="256"/>
<tile id="0">
<properties>
<property name="map-tile" type="class" propertytype="map-... | 7,982 | Common Lisp | .l | 301 | 22.774086 | 122 | 0.647442 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | ba8cd62e7c901747b93a77e7dd20b6376146cf29de78f55688a665bd4879f32f | 20,604 | [
-1
] |
20,605 | castle.tsx | lockie_spring-lisp-jam-2024/Resources/castle.tsx | <?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.8" tiledversion="1.8.6" name="castle" tilewidth="64" tileheight="64" tilecount="20" columns="5">
<image source="images/castle_blue.png" width="320" height="256"/>
<tile id="0">
<properties>
<property name="map-tile" type="class" propertytype="map-tile">
... | 4,489 | Common Lisp | .l | 162 | 23.925926 | 116 | 0.650566 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c3d2828af92247c40cf6979c351d167ef2ec65a2f546b95d0dca88f97626f691 | 20,605 | [
-1
] |
20,606 | ground-elevation.tsx | lockie_spring-lisp-jam-2024/Resources/ground-elevation.tsx | <?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.8" tiledversion="1.8.6" name="ground-elevation" tilewidth="64" tileheight="64" tilecount="32" columns="4">
<image source="images/tilemap_elevation.png" width="256" height="512"/>
</tileset>
| 250 | Common Lisp | .l | 4 | 61.25 | 126 | 0.715447 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 46d8cdd964590e4d356cfb4419795df6ae98890209ab3cc410f5a64be26cee3f | 20,606 | [
-1
] |
20,607 | barrel.tsx | lockie_spring-lisp-jam-2024/Resources/barrel.tsx | <?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.8" tiledversion="1.8.6" name="barrel" tilewidth="64" tileheight="64" margin="32" tilecount="121" columns="11">
<image source="images/barrel_red.png" width="768" height="768"/>
</tileset>
| 247 | Common Lisp | .l | 4 | 60.5 | 130 | 0.699588 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 5386ff2e63306679d084ae54ffc11715da936211fe4146450ccb8d2a5d04d4ac | 20,607 | [
-1
] |
20,608 | Info.plist | lockie_spring-lisp-jam-2024/package/Info.plist | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleDisplayName</key>
<string>Cycle of Evil</string>
<key>CFBundl... | 658 | Common Lisp | .l | 20 | 28.9 | 102 | 0.68652 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 01478adb86ec8de948137f4493e28d4ce820e387105be6b056de6792fadff543 | 20,608 | [
-1
] |
20,609 | installer.nsi | lockie_spring-lisp-jam-2024/package/installer.nsi | !include MUI2.nsh
!system 'convert icon.png -define icon:auto-resize=16,32,48,64,256 %TEMP%/icon.ico'
!system 'convert -resize 150x57 -extent 150x57 -gravity center -background white -alpha remove -alpha off icon.png BMP2:%TEMP%/icon.bmp'
!define MUI_PRODUCT "Cycle of Evil"
!define MUI_FILE "cycle-of-evil"
!define MU... | 2,488 | Common Lisp | .l | 66 | 34.757576 | 136 | 0.753545 | lockie/spring-lisp-jam-2024 | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 7f58b4c42a63b46088355f54a3ae3170b65fdd59b38d96582c8612916c81021d | 20,609 | [
-1
] |
20,626 | 100_doors.lisp | mzgcz_cl_exercises/100_doors.lisp | ;; http://rosettacode.org/wiki/100_doors
;;; 每次访问时,变更门的状态
(defun switch-door (door)
(not door))
;;; 第no次访问时,访问no的倍数号门
(defun access-door (no N doors)
(let ((copy-doors (copy-list doors)))
(loop for i from no upto N by no
do (setf (nth (1- i) copy-doors) (switch-door (nth (1- i) copy-doors))))
copy-... | 739 | Common Lisp | .lisp | 21 | 26.904762 | 79 | 0.619874 | mzgcz/cl_exercises | 2 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e408bd18760e7e044c26353fae05b011d733e82a5c989369721ffceeb00c9669 | 20,626 | [
-1
] |
20,627 | ABC.lisp | mzgcz_cl_exercises/ABC.lisp | ;;; http://rosettacode.org/wiki/ABC_Problem
;; 给定由双元素组成的单词表
;; 单词表中每个元素仅能使用一次
;; 判断给定单词能否由单词表组成
;;; 单词表
(defparameter *word-list* '((B O) (X K) (D Q) (C P) (N A)
(G T) (R E) (T G) (Q D) (F S)
(J W) (H U) (V I) (A N) (O B)
(E R) (F S) ... | 1,389 | Common Lisp | .lisp | 34 | 27.117647 | 90 | 0.552491 | mzgcz/cl_exercises | 2 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 011f1ae9da919359e2b6bfb768cf9d702a8bcc4749cc2e9368c9e82f9a6aa7d9 | 20,627 | [
-1
] |
20,628 | add_slot.lisp | mzgcz_cl_exercises/add_slot.lisp | ;;; http://rosettacode.org/wiki/Add_a_variable_to_a_class_instance_at_runtime
;; add a variable to a class instance at runtime
(defclass person () (name))
(defvar *I* (make-instance 'person))
(setf (slot-value *I* 'name) "jwj")
(defclass person () (name sex))
(setf (slot-value *I* 'sex) "male")
(defclass person ... | 499 | Common Lisp | .lisp | 13 | 34.846154 | 77 | 0.639413 | mzgcz/cl_exercises | 2 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b33962a5b6071661b14875bfe9b0599caf34c8289622f327db57aecfe2e79271 | 20,628 | [
-1
] |
20,629 | AKS.lisp | mzgcz_cl_exercises/AKS.lisp | ;;; http://rosettacode.org/wiki/AKS_test_for_primes
;; 任务:
;; 1. 创建生成 (x-1)^p的参数列表的函数
;; 2. 展示 (x-1)^p的参数列表,p从0到7
;; 3. 创建使用上述参数列表判断p是否为素数的函数
;; 4. 测试一系列35以下的素数
;; 5. 生成50以下的所有素数
;;; 排列计数
(defun Permutation (n)
(if (zerop n)
1
(* n (Permutation (1- n)))))
;;; 组合计数
(defun Combination (n m)
(/ (Permuta... | 1,421 | Common Lisp | .lisp | 40 | 25.4 | 75 | 0.563559 | mzgcz/cl_exercises | 2 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 20fbec8f92001567c87cfe1b9fb96c686e70142866bca32902f1f0374afb8c6e | 20,629 | [
-1
] |
20,630 | A+B.lisp | mzgcz_cl_exercises/A+B.lisp | ;;; http://rosettacode.org/wiki/A%2BB
(defun A+B ()
(format t "Please Input Two Numbers: ")
(let ((A (read))
(B (read)))
(format t "~S + ~S = ~S~%" A B (+ A B))))
| 180 | Common Lisp | .lisp | 6 | 26.166667 | 45 | 0.508671 | mzgcz/cl_exercises | 2 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 082a5293a63f750dee378370c5b790c9113b294dca86daef44a4d098c854f80d | 20,630 | [
-1
] |
20,631 | 24_game.lisp | mzgcz_cl_exercises/24_game.lisp | ;; http://rosettacode.org/wiki/24_game
;;; 24算术游戏,给4个随机数(1 ... 9),利用加、减、乘、除以及括号,使最终结果为24
;;; 选取N个1~9的随机数
(defun get-nums (num)
(let (num-list)
(dotimes (no num num-list)
(push (1+ (random 9)) num-list))))
;;; 读取用户输入
(defun read-input ()
(format t "~&Please Input Your Slove: ")
(read *standard-input* ... | 775 | Common Lisp | .lisp | 24 | 23.291667 | 62 | 0.61285 | mzgcz/cl_exercises | 2 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 26761bc299e2f40f04a63d4f5b07042586c60e648bad9ea032552931a0cceefc | 20,631 | [
-1
] |
20,632 | abstract_type.lisp | mzgcz_cl_exercises/abstract_type.lisp | ;; http://rosettacode.org/wiki/Abstract_type
;;; 抽象类型
(defclass people () (sex age))
(defclass teacher (people) (subject))
(defclass student (people) (id))
(let ((teacher-1 (make-instance 'teacher))
(student-1 (make-instance 'student)))
(print (type-of teacher-1))
(print (type-of student-1))
(print (ty... | 389 | Common Lisp | .lisp | 11 | 31.909091 | 44 | 0.690411 | mzgcz/cl_exercises | 2 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3c20413079771ce970f357dbf12e8da9d32c44c8f7f37cf851491b1c2cdb892a | 20,632 | [
-1
] |
20,633 | ackermann_function.lisp | mzgcz_cl_exercises/ackermann_function.lisp | ;;; http://rosettacode.org/wiki/Ackermann_function
;; if m=0, A(m,n)=n+1
;; if m>0 and n=0, A(m,n)=A(m-1,1)
;; if m>0 and n>0, A(m,n)=A(m-1,A(m,n-1))
(defun ackermann_function (m n)
(cond ((= m 0) (1+ n))
((= n 0) (ackermann_function (1- m) 1))
(t (ackermann_function (1- m) (ackermann_function m (1-... | 627 | Common Lisp | .lisp | 17 | 34.647059 | 71 | 0.647446 | mzgcz/cl_exercises | 2 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9b16b54bebee30799c903339c19901df2b895a75498a109ffbd59a9897d8be26 | 20,633 | [
-1
] |
20,634 | accumulator_factory.lisp | mzgcz_cl_exercises/accumulator_factory.lisp | ;;; http://rosettacode.org/wiki/Accumulator_factory
;; 累加器
;; x = foo(1);
;; x(5);
;; foo(3);
;; print x(2.3);
;; it's 8.3
(defun accumulator_factory (sum)
(lambda (plus)
(incf sum plus)))
(defvar x (accumulator_factory 1))
(funcall x 5)
(accumulator_factory 3)
(print (funcall x 2.3))
| 304 | Common Lisp | .lisp | 14 | 19.428571 | 51 | 0.658273 | mzgcz/cl_exercises | 2 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c7f6a6632d1ecd57fdc224fd82e8fe249cb309ed90d34219a7155d210e6fe86e | 20,634 | [
-1
] |
20,635 | 99_bottles.lisp | mzgcz_cl_exercises/99_bottles.lisp | ;;; http://rosettacode.org/wiki/99_Bottles_of_Beer
;; X bottles of beer on the wall
;; X bottles of beer
;; Take one down, pass it around
;; X-1 bottles of beer on the wall
;; X-1 bottles of beer on the wall
;; ...
;; Take one down, pass it around
;; 0 bottles of beer on the wall
;;; 生成n~0的列表,表示N+1个轮回
(defun get-bot... | 875 | Common Lisp | .lisp | 25 | 28.76 | 72 | 0.599749 | mzgcz/cl_exercises | 2 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 5b94e2b1bc7773f8ef85b328b1c4204fc5eb262de8a6b01a3faae014e44787d1 | 20,635 | [
-1
] |
20,636 | 24_game_slove.lisp | mzgcz_cl_exercises/24_game_slove/24_game_slove.lisp | ;;;; 24_game_slove.lisp
;;; http://rosettacode.org/wiki/24_game/Solve
(in-package #:24_game_slove)
;;; "24_game_slove" goes here. Hacks and glory await!
;;; 列表删除某个元素
(defun list-cell (list cell)
(let ((flag 0)
new-list)
(dolist (var list (reverse new-list))
(if (and (= flag 0) (equal var cell))
... | 2,815 | Common Lisp | .lisp | 65 | 27.646154 | 86 | 0.478535 | mzgcz/cl_exercises | 2 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d42245fb7532d70209daa39fcc4d83bb0cd3f6a0e255b6951fac66ce4ce651bb | 20,636 | [
-1
] |
20,637 | 24_game_slove.asd | mzgcz_cl_exercises/24_game_slove/24_game_slove.asd | ;;;; 24_game_slove.asd
(asdf:defsystem #:24_game_slove
:serial t
:description "24 Game Slove"
:author "mzgcz <j.wenjiao@gmail.com>"
:license "LGPL v3"
:depends-on (#:alexandria)
:components ((:file "package")
(:file "24_game_slove")))
| 264 | Common Lisp | .asd | 9 | 25.111111 | 40 | 0.640316 | mzgcz/cl_exercises | 2 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | de1f847b9817d599774bedb97fa3db4fb355a9347ce090f9a2cac139e2fea444 | 20,637 | [
-1
] |
20,665 | package.lisp | farzadbekran_cl-mud/package.lisp | ;;;; package.lisp
(defpackage #:cl-mud
(:use #:cl #:usocket #:gtk #:gdk #:gdk-pixbuf #:gobject
#:glib #:gio #:pango #:cairo
#:chanl))
| 139 | Common Lisp | .lisp | 5 | 25.8 | 57 | 0.616541 | farzadbekran/cl-mud | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | ca7fb88f4b4b2f61c4ad9c5596009135c1cb5e6a1ff98fadb9639f464352d3b9 | 20,665 | [
-1
] |
20,666 | cl-mud.lisp | farzadbekran_cl-mud/cl-mud.lisp | ;;;; cl-mud.lisp
(in-package #:cl-mud)
(defvar host "bat.org")
(defvar port 23)
(defvar io)
(defvar io-stream)
(defconstant gdk-return-code #xff0d)
(defstruct app
main-window
main-output
main-input)
(defvar main-app (make-app))
(defvar reader-thread nil)
(defvar telnet-thread nil)
(defvar telnet-channel (m... | 8,190 | Common Lisp | .lisp | 215 | 33.413953 | 97 | 0.662013 | farzadbekran/cl-mud | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b9d565f2382d2a109f489791810dbe8e2b779926e4341f7f293009026aefced4 | 20,666 | [
-1
] |
20,667 | cl-mud.asd | farzadbekran_cl-mud/cl-mud.asd | ;;;; cl-mud.asd
(asdf:defsystem #:cl-mud
:description "Describe cl-mud here"
:author "Your Name <your.name@example.com>"
:license "Specify license here"
:serial t
:depends-on (#:usocket #:cl-cffi-gtk #:chanl)
:components ((:file "package")
(:file "cl-mud")))
| 302 | Common Lisp | .asd | 9 | 27.777778 | 49 | 0.611684 | farzadbekran/cl-mud | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f7c7f33666c1985f07e5c38814248ecc9942c2083732b8e3446a4f65ba88eca8 | 20,667 | [
-1
] |
20,671 | main.glade | farzadbekran_cl-mud/main.glade | <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.0 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkApplicationWindow" id="main-window">
<property name="can_focus">False</property>
<property name="default_width">800</property>
<property name="default_height">6... | 9,779 | Common Lisp | .l | 211 | 28.56872 | 74 | 0.479202 | farzadbekran/cl-mud | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | a7b7d5d09e390e4c6df3fa827496bbbe93c0288b9da088d9a005575e532e7e7a | 20,671 | [
-1
] |
20,687 | package.lisp | rheaplex_microblog-bot/package.lisp | ;; packages.lisp - The package definition(s) for microblog-bot.
;; Copyright (C) 2009, 2010 Rob Myers rob@robmyers.org
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, either versi... | 1,558 | Common Lisp | .lisp | 47 | 29.574468 | 77 | 0.737542 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f4f80fdddd6677e9dda95534fe78c35e988acd57e26a4545e04d5716c6b4e9b3 | 20,687 | [
-1
] |
20,688 | daily-task-bot.lisp | rheaplex_microblog-bot/daily-task-bot.lisp | ;; daily-task-bot.lisp - A bot that does something once a day.
;; Copyright (C) 2009 Rob Myers rob@robmyers.org
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, either version 3 of ... | 2,653 | Common Lisp | .lisp | 57 | 43.578947 | 80 | 0.6294 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | a967e26b409c7b3eefd900abffa842dbda2323c0d7f9a24e5cbc67f835a7bfbd | 20,688 | [
-1
] |
20,689 | microblog-user.lisp | rheaplex_microblog-bot/microblog-user.lisp | ;; microblog-user.lisp - A microblog service user.
;; Copyright (C) 2009 Rob Myers rob@robmyers.org
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, either version 3 of the
;; Licen... | 2,388 | Common Lisp | .lisp | 52 | 42.942308 | 80 | 0.611517 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d2f7606b2b740346bc74ed114aaf7b0989e997817e6a31567c55099d9dcede1a | 20,689 | [
-1
] |
20,690 | microblog-bot.lisp | rheaplex_microblog-bot/microblog-bot.lisp | ;; microblog-bot.lisp - Basic bot for microblogging (Twitter, Laconica).
;; Copyright (C) 2009, 2010 Rob Myers rob@robmyers.org
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, eith... | 8,646 | Common Lisp | .lisp | 201 | 38.293532 | 80 | 0.658751 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e9a3efef4a77456c89d605d8d5508086c6c8f6780846bb140daa857f5e7ddd5e | 20,690 | [
-1
] |
20,691 | utilities.lisp | rheaplex_microblog-bot/utilities.lisp | ;; utilities.lisp - Basic utilities for the microblogging package.
;; Copyright (C) 2009 Rob Myers rob@robmyers.org
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, either version 3... | 3,331 | Common Lisp | .lisp | 68 | 46.514706 | 80 | 0.581431 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 55c97f4605db19541c0efa10ae8aff46a334d05ec5426b20508bb9551d4d5b5f | 20,691 | [
-1
] |
20,692 | install.lisp | rheaplex_microblog-bot/install.lisp | ;; install.lisp - Run once to install support libraries for building.
;; Copyright (C) 2009 Rob Myers rob@robmyers.org
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, either versi... | 1,000 | Common Lisp | .lisp | 21 | 46.428571 | 75 | 0.752303 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 8ab516709defb36f34707ec1861577161300de89c5594aef2f60e4b440f9bbff | 20,692 | [
-1
] |
20,693 | testing.lisp | rheaplex_microblog-bot/testing.lisp | ;; testing.lisp - Test the bots.
;; Copyright (C) 2009 Rob Myers rob@robmyers.org
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, either version 3 of the
;; License, or (at your op... | 2,528 | Common Lisp | .lisp | 56 | 41.410714 | 80 | 0.599106 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 71916ba0308db71882e1e4a34fe0c00c450eae0ac98c07f2719ee6ebf211690d | 20,693 | [
-1
] |
20,694 | microblog-follower-bot.lisp | rheaplex_microblog-bot/microblog-follower-bot.lisp | ;; follower-bot.lisp - A bot that follows another user's posts.
;; Copyright (C) 2009 Rob Myers rob@robmyers.org
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, either version 3 of... | 4,004 | Common Lisp | .lisp | 87 | 42.574713 | 80 | 0.657611 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 2999d69159b3c410d0adae275b44d3a71d54afc6e688be99a57977327297485a | 20,694 | [
-1
] |
20,695 | intermittent-task-bot.lisp | rheaplex_microblog-bot/intermittent-task-bot.lisp | ;; intermittent-task-bot.lisp - Bot that runs a task every so often.
;; Copyright (C) 2009 Rob Myers rob@robmyers.org
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, either version... | 2,902 | Common Lisp | .lisp | 66 | 40.878788 | 80 | 0.642124 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 8a9d3005e140d6d38aeaa9bd3561dec7c5dde7ca16190feb908ac24fb79b9942 | 20,695 | [
-1
] |
20,696 | constant-task-bot.lisp | rheaplex_microblog-bot/constant-task-bot.lisp | ;; constant-task-bot.lisp - A bot that does something every time it's run.
;; Copyright (C) 2009 Rob Myers rob@robmyers.org
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, either v... | 1,440 | Common Lisp | .lisp | 30 | 46.4 | 80 | 0.582739 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 18c90d03f10a28b25c3a325d0ae6c4d7d14d6a06cd7afeb6d0539e355c285ec6 | 20,696 | [
-1
] |
20,697 | classes.lisp | rheaplex_microblog-bot/cl-twit/classes.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; classes.lisp
;;; Copyright (c) 2009, Chaitanya Gupta.
;;; All rights reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
;;; are met:
;;; ... | 4,826 | Common Lisp | .lisp | 143 | 28.916084 | 77 | 0.673745 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | bcf9937af54aa6e840faf119440887bda4f51009944b2612134899ca83083ad2 | 20,697 | [
204742
] |
20,698 | cl-twit.lisp | rheaplex_microblog-bot/cl-twit/cl-twit.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; cl-twit.lisp
;;; Copyright (c) 2009, Chaitanya Gupta.
;;; All rights reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
;;; are met:
;;; ... | 30,802 | Common Lisp | .lisp | 736 | 34.574728 | 97 | 0.636838 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f39f360d08a230c0cf592aa830ef4171f0f8cc95fcd3067a9c219d3753cf1bf8 | 20,698 | [
-1
] |
20,699 | packages.lisp | rheaplex_microblog-bot/cl-twit/packages.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; packages.lisp
;;; Copyright (c) 2009, Chaitanya Gupta.
;;; All rights reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
;;; are met:
;;;... | 4,389 | Common Lisp | .lisp | 157 | 24.458599 | 77 | 0.699929 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | bb560f61fb480e7ca2997ce4b956015158946e75897f12a5ed992c92beced2e7 | 20,699 | [
330702
] |
20,700 | microblog-bot.asd | rheaplex_microblog-bot/microblog-bot.asd | ;; microblog-bot.asd - The system definition(s) for microblog-bot.
;; Copyright (C) 2009 Rob Myers rob@robmyers.org
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Affero General Public License as
;; published by the Free Software Foundation, either version ... | 1,247 | Common Lisp | .asd | 29 | 39.517241 | 75 | 0.70477 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | a2fc712b3b77765f4a22f1518f2518baf5b003dec904e6a083af32c38be502ef | 20,700 | [
-1
] |
20,701 | cl-twit.asd | rheaplex_microblog-bot/cl-twit/cl-twit.asd | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; cl-twit.asd
;;; Copyright (c) 2009, Chaitanya Gupta.
;;; 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... | 1,755 | Common Lisp | .asd | 32 | 52.625 | 77 | 0.736934 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 40a19894694ca6a57fc3531acea05a315b97cce54bf3fdedc241a78efc7d8485 | 20,701 | [
285126
] |
20,718 | cl-twit.texinfo | rheaplex_microblog-bot/cl-twit/doc/cl-twit.texinfo | \input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename cl-twit.info
@settitle cl-twit
@c %**end of header
@copying
Copyright @copyright{} 2009 Chaitanya Gupta
@end copying
@titlepage
@title cl-twit
@author Chaitanya Gupta
@end titlepage
@ifnottex
@node Top
@top Introduction
@end ifnottex
@insertcopyin... | 6,982 | Common Lisp | .l | 158 | 42.753165 | 539 | 0.774981 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | a3f2d761d26e29c0085c6b9a3aed358d31524d8df4247c06ab8dbe59c22440d6 | 20,718 | [
-1
] |
20,719 | Makefile | rheaplex_microblog-bot/cl-twit/doc/Makefile | all: cl-twit.info manual
cl-twit.info: cl-twit.texinfo
makeinfo cl-twit.texinfo
manual: cl-twit.texinfo
makeinfo --html -o manual cl-twit.texinfo | 149 | Common Lisp | .l | 5 | 28.2 | 42 | 0.797203 | rheaplex/microblog-bot | 2 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 201a22c5046472f0959364c86a1323f04fe8a7565bead182189cf6aca9cbb8d1 | 20,719 | [
-1
] |
20,734 | clcv.lisp | sparkecho_clcv/clcv.lisp | ;;;; clcv.lisp
(uiop/package:define-package :clcv/clcv
(:nicknames :clcv)
(:use :common-lisp)
(:export #:clcv)
(:use-reexport :clcv/core/all
:clcv/matrix/all
:clcv/dip/all
:clcv/gui/all
:clcv/io/all
:clcv/ml/all
... | 443 | Common Lisp | .lisp | 17 | 18 | 39 | 0.521429 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 51e18cff3763484fc320eee9fb00f46554289178d1dd370bfba8685bfb58b157 | 20,734 | [
-1
] |
20,735 | hello.lisp | sparkecho_clcv/test/hello.lisp | (uiop/package:define-package :clcv/test/hello
(:use :common-lisp)
(:export #:hello))
(in-package :clcv/test/hello)
(defun hello ()
"Hello from clcv/test/hello")
| 170 | Common Lisp | .lisp | 6 | 25.833333 | 45 | 0.714286 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 4ba5596f65ad90bd2ba6ce3e51b959099bdc262e4078de999f5b5b3464be7d2f | 20,735 | [
-1
] |
20,736 | all.lisp | sparkecho_clcv/test/all.lisp | (uiop/package:define-package :clcv/test/all
(:nicknames :clcv-test)
(:use :common-lisp)
(:use-reexport :clcv/test/hello))
(provide "clcv-test")
(provide "CLCV-TEST")
| 176 | Common Lisp | .lisp | 6 | 26.666667 | 43 | 0.708333 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 70c7df6bfe5b86c065962b9066c494edd011eba6ed11ed6983caecf7c27bfe90 | 20,736 | [
-1
] |
20,737 | imageops.lisp | sparkecho_clcv/dip/imageops.lisp | (uiop/package:define-package :clcv/dip/imageops
(:use :common-lisp
:clcv/core/all)
(:import-from :opticl-core
#:with-image-bounds
#:pixel
#:pixel*
#:do-pixels
#:set-region-pixels)
(:export #:imadd
#:imsub))
(in... | 2,702 | Common Lisp | .lisp | 65 | 32.815385 | 73 | 0.537348 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d254db6f90cb94db0411b7cb22f51ff2c1dabc5e882d48b71de5526be6cbe64d | 20,737 | [
-1
] |
20,738 | color.lisp | sparkecho_clcv/dip/color.lisp | (uiop/package:define-package :clcv/dip/color
(:use :common-lisp
:clcv/core/all)
(:import-from :opticl-core
#:with-image-bounds
#:pixel
#:do-pixels)
(:export #:convert-color))
(in-package :clcv/dip/color)
(defgeneric convert-color (image flag)
(:docu... | 3,312 | Common Lisp | .lisp | 88 | 25.375 | 80 | 0.480548 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 22840b79f056a3cf9e18988b80889cab9e267cdf602143408c1fa319e1b0f4da | 20,738 | [
-1
] |
20,739 | arrayops.lisp | sparkecho_clcv/dip/arrayops.lisp | (uiop/package:define-package :clcv/dip/arrayops
(:use :common-lisp)
(:import-from :opticl-core
#:with-image-bounds
#:copy-array)
(:export #:split-image
#:extract-channel
#:merge-channels
#:merge-channel-list))
(in-package :clcv/dip/arrayops)
;;... | 1,752 | Common Lisp | .lisp | 46 | 28.804348 | 87 | 0.583972 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9bc53d93293681e2ce747d8681a85df6be4a786fc4c12a605154027e061ad4f1 | 20,739 | [
-1
] |
20,740 | all.lisp | sparkecho_clcv/dip/all.lisp | (uiop/package:define-package :clcv/dip/all
(:nicknames :clcv-dip)
(:use :common-lisp)
(:use-reexport :clcv/dip/arrayops
:clcv/dip/imageops
:clcv/dip/geometry
:clcv/dip/color))
(provide "clcv-dip")
(provide "CLCV-DIP")
| 279 | Common Lisp | .lisp | 9 | 23.222222 | 42 | 0.593284 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 7b26ff49012da066ba4bce0195bd3e7985a96c6afdfb2c66f658b86b40b74dc0 | 20,740 | [
-1
] |
20,741 | geometry.lisp | sparkecho_clcv/dip/geometry.lisp | (uiop/package:define-package :clcv/dip/geometry
(:use :common-lisp
:clcv/core/all)
(:import-from :opticl-core
#:with-image-bounds
#:pixel
#:do-pixels
#:set-region-pixels)
(:export #:crop
#:copyf))
(in-package :clcv/dip/geometr... | 2,751 | Common Lisp | .lisp | 55 | 30.818182 | 99 | 0.428094 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 001fdc9c4eacf8612392a8cbcb8829d20b08004ed5aa0142854f6e8b406db741 | 20,741 | [
-1
] |
20,742 | image.lisp | sparkecho_clcv/io/image.lisp | (uiop/package:define-package :clcv/io/image
(:use :common-lisp :clcv-core)
(:import-from :opticl
#:read-image-file
#:write-image-file)
(:export #:imread
#:imwrite))
(in-package :clcv/io/image)
(defun imread (file &optional option)
(declare (ignore option))
(read... | 447 | Common Lisp | .lisp | 14 | 26.357143 | 44 | 0.654206 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9501c38c92761e75751311f656cb68386fb051112f14c183e2ab48ec99678491 | 20,742 | [
-1
] |
20,743 | all.lisp | sparkecho_clcv/io/all.lisp | (uiop/package:define-package :clcv/io/all
(:nicknames :clcv-io)
(:use :common-lisp)
(:use-reexport :clcv/io/image))
(provide "clcv-io")
(provide "CLCV-IO")
| 166 | Common Lisp | .lisp | 6 | 25 | 41 | 0.689873 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 08f2186a3bc97f73cab73e1ce2a36f72cc92df16b0e0767d4141db77d3bd6cb3 | 20,743 | [
-1
] |
20,744 | imshow.lisp | sparkecho_clcv/gui/imshow.lisp | (uiop/package:define-package :clcv/gui/imshow
(:use :common-lisp)
(:import-from :sdl2
#:with-init
#:with-window
#:with-renderer
#:set-render-draw-color
#:render-draw-point
#:render-present
#:with-event-... | 3,100 | Common Lisp | .lisp | 72 | 26.125 | 86 | 0.446245 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | a765ad6e8a97f0bf3f9002150255ed8bcfb527dadb0df8ebedb47c620af3fe40 | 20,744 | [
-1
] |
20,745 | all.lisp | sparkecho_clcv/gui/all.lisp | (uiop/package:define-package :clcv/gui/all
(:nicknames :clcv-gui)
(:use :common-lisp)
(:use-reexport :clcv/gui/imshow))
(provide "clcv-gui")
(provide "CLCV-GUI")
| 172 | Common Lisp | .lisp | 6 | 26 | 42 | 0.70122 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | fdf4ec1bdecfd2e24646417c83f83dfd10b020669eb8b7a6e9f8f99199311c75 | 20,745 | [
-1
] |
20,746 | image.lisp | sparkecho_clcv/core/image.lisp | (uiop/package:define-package :clcv/core/image
(:use :common-lisp)
(:export #:image
#:gray-image
#:rgb-image
#:rgba-image
#:make-image
#:image-type
#:define-image-type
#:image-height
#:image-width
#:image-rows
... | 6,242 | Common Lisp | .lisp | 183 | 23.661202 | 80 | 0.519914 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e58154610d8d6416292f1569193585901de766b5b883bfbe74817ce4bed4f72e | 20,746 | [
-1
] |
20,747 | array.lisp | sparkecho_clcv/core/array.lisp | (uiop/package:define-package :clcv/core/array
(:use :common-lisp)
(:export #:marray
#:reshape
#:copy-array
#:copy-to))
(defun decode-type-specifier (type-specifier)
(let* ((str (symbol-name type-specifier))
(end (1- (length str))))
(case (char str end)
(#\U ... | 6,558 | Common Lisp | .lisp | 140 | 36.271429 | 111 | 0.559394 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 6e8d93c667678726d5391aef966fd6ba8c24de666ecf0bc27378507e16144568 | 20,747 | [
-1
] |
20,748 | point.lisp | sparkecho_clcv/core/point.lisp | (uiop/package:define-package :clcv/core/point
(:use :common-lisp)
(:export #:point
#:make-point
#:point-x
#:point-y
#:point-z
#:p+
#:p-
#:p*
#:p/))
(in-package :clcv/core/point)
(defclass point ()
((x :initarg :x :accesso... | 449 | Common Lisp | .lisp | 17 | 19.235294 | 45 | 0.514019 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 69e1792fce5e9ac535a1fd13aedb8c7112dd122942c9f86c9fe14aa656a413ea | 20,748 | [
-1
] |
20,749 | type.lisp | sparkecho_clcv/core/type.lisp | (uiop/package:define-package :clcv/core/type
(:use :common-lisp)
(:export :int8 :int16 :int32
:uint8 :uint16 :uint32
:single :double :char
:logical))
(in-package :clcv/core/type)
(deftype :int8 () '(signed-byte 8))
(deftype :int16 () '(signed-byte 16))
(deftype :int32 () '(sig... | 585 | Common Lisp | .lisp | 17 | 30.941176 | 44 | 0.646536 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d5873535a37ea13b6f3074a44e2ef2951d4e5d68cb3f3e438f743169e3e8ecb0 | 20,749 | [
-1
] |
20,750 | all.lisp | sparkecho_clcv/core/all.lisp | (uiop/package:define-package :clcv/core/all
(:nicknames :clcv-core)
(:use :common-lisp)
(:use-reexport :clcv/core/type
:clcv/core/image
:clcv/core/array
:clcv/core/point))
(provide "clcv-core")
(provide "CLCV-CORE")
| 277 | Common Lisp | .lisp | 9 | 23 | 43 | 0.590226 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 0878f7437e0fdadde7efa079433ca86f3dc85a5c0b7d06edf61c72d5abfa543a | 20,750 | [
-1
] |
20,751 | all.lisp | sparkecho_clcv/graphics/all.lisp | (uiop/package:define-package :clcv/graphics/all
(:nicknames :clcv-graphics)
(:use :common-lisp)
(:use-reexport))
(provide "clcv-graphics")
(provide "CLCV-GRAPHICS")
| 175 | Common Lisp | .lisp | 6 | 26.5 | 47 | 0.730539 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 603e38be711cd53544b458721f05c63e2d9e1eca83d68657746502046fcf4772 | 20,751 | [
-1
] |
20,752 | array2d.lisp | sparkecho_clcv/matrix/array2d.lisp | ;;;; 2 dimensions array based matrix version
(uiop/package:define-package :clcv/matrix/array2d
(:use :common-lisp)
(:export #:matrix
#:m+
#:m-
#:m*
#:diag
#:diagp
#:eye
#:eyep
#:copy-matrix
#:pr
#:print-mat... | 18,532 | Common Lisp | .lisp | 522 | 26.434866 | 92 | 0.562669 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | df2a70077b1137705621a67025cb860254de7eef41929b96a5fa71b8ecf5c540 | 20,752 | [
-1
] |
20,753 | all.lisp | sparkecho_clcv/matrix/all.lisp | (uiop/package:define-package :clcv/matrix/all
(:nicknames :clcv-matrix)
(:use :common-lisp)
(:use-reexport :clcv/matrix/array2d))
(provide "clcv-matrix")
(provide "CLCV-MATRIX")
| 188 | Common Lisp | .lisp | 6 | 28.666667 | 45 | 0.727778 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 829db546a634fa0bdf0b99cf0b4f913b216e6744dcb153d4c6e46dd2f7f6f8a7 | 20,753 | [
-1
] |
20,754 | all.lisp | sparkecho_clcv/ml/all.lisp | (uiop/package:define-package :clcv/ml/all
(:nicknames :clcv-ml)
(:use :common-lisp)
(:use-reexport))
(provide "clcv-ml")
(provide "CLCV-ML")
| 151 | Common Lisp | .lisp | 6 | 22.5 | 41 | 0.685315 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 955a7dd205bc9c2f194b9659461cc2977e976b8cd74fb08a00e12e7a41256f83 | 20,754 | [
-1
] |
20,755 | clcv.asd | sparkecho_clcv/clcv.asd | ;;;; clcv.asd
#-asdf3.1 (error "clcv requires ASDF 3.1")
(asdf:defsystem "clcv"
:name "clcv"
:description "Common Lisp Computer Vision Library"
:author "sparkecho <echozhz@126.com>"
:license "GPL v3.0"
:class :package-inferred-system
:depends-on ("opticl"
"sdl2"
"bordeaux-thre... | 1,383 | Common Lisp | .asd | 35 | 32.657143 | 67 | 0.606106 | sparkecho/clcv | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 2bc11403ac1ab57ce92da2699d5453d50ebca06f92d8058907927d7a49beb961 | 20,755 | [
-1
] |
20,793 | util.lisp | borodust_post-man/src/util.lisp | (cl:in-package :post-man)
(declaim (special *level*
*player*
*gameplay*))
(defvar *origin* (gamekit:vec2 0 0))
(defparameter *seed* "b00bface")
(defvar *up* (gamekit:vec2 0 1))
(defvar *down* (gamekit:vec2 0 -1))
(defvar *left* (gamekit:vec2 1 0))
(defvar *right* (gamekit:vec2... | 4,541 | Common Lisp | .lisp | 91 | 36.978022 | 88 | 0.561411 | borodust/post-man | 2 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 211846fad4819ab6681c2e7648a35579c52d4a3063f279a2fdec0b6737d43e54 | 20,793 | [
-1
] |
20,794 | resources.lisp | borodust_post-man/src/resources.lisp | (cl:in-package :post-man)
(gamekit:register-resource-package
:keyword (asdf:system-relative-pathname :post-man "assets/"))
(gamekit:define-font :retro "fonts/retro-gaming/Retro Gaming.ttf")
(gamekit:define-image :splash "images/menu/Post_Logo.png"
:use-nearest-interpolation t)
;;;
;;; ROB-O-MAN
;;;
(gamekit:defi... | 2,377 | Common Lisp | .lisp | 62 | 36.241935 | 83 | 0.767279 | borodust/post-man | 2 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b6a730e58db3c1de96b07c5c6d1ef7548bfd439bfd60ac3cbac284f2481f5800 | 20,794 | [
-1
] |
20,795 | main.lisp | borodust_post-man/src/main.lisp | (cl:in-package :post-man)
(gamekit:defgame post-man (gamekit.fistmachine:fistmachine) ()
(:viewport-width (* *grid-size* *grid-cell-width*))
(:viewport-height (* *grid-size* *grid-cell-width*))
(:viewport-title "POST-MAN")
(:prepare-resources nil)
(:default-initargs :initial-state 'init-state))
(defmethod ... | 448 | Common Lisp | .lisp | 11 | 38 | 62 | 0.719907 | borodust/post-man | 2 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b9795f8f0d8d02d54aec7501d0b7efb97124c918828cb4321cac650c41565783 | 20,795 | [
-1
] |
20,796 | main-menu.lisp | borodust_post-man/src/state/main-menu.lisp | (cl:in-package :post-man)
(defun draw-splash ()
(gamekit:with-pushed-canvas ()
(gamekit:translate-canvas (- (/ (gamekit:viewport-width) 2) 160)
(/ (gamekit:viewport-height) 2))
(gamekit:scale-canvas 0.5 0.5)
(gamekit:draw-image (gamekit:vec2 0 0) :splash)))
(defclass main-m... | 3,871 | Common Lisp | .lisp | 75 | 38.8 | 80 | 0.584861 | borodust/post-man | 2 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | aa5e11096b8bd369d3c5343c3e0c922ff54b880307bd551c85b971d19e9c7feb | 20,796 | [
-1
] |
20,797 | gameplay.lisp | borodust_post-man/src/state/gameplay.lisp | (cl:in-package :post-man)
(defparameter *max-bogdan-count* 30)
(defparameter *max-box-count* 20)
(defparameter *capture-fade-out-time* 5)
(defparameter *capture-fade-out-scale* 5)
(defparameter *level-fade-out-time* 1)
(defclass gameplay-state (input-handling-state)
((level :initform nil)
(bogdans :initform (l... | 11,073 | Common Lisp | .lisp | 228 | 36.675439 | 98 | 0.583326 | borodust/post-man | 2 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 7cf5d3f0772fc4b83737aeb61669e03a2ecc435ebf648e121eea0992face4c6a | 20,797 | [
-1
] |
20,798 | state.lisp | borodust_post-man/src/state/state.lisp | (cl:in-package :post-man)
(defclass input-handling-state (gamekit.input-handler:input-handler) ())
(defmethod gamekit:post-initialize :around ((this input-handling-state))
(gamekit.input-handler:activate-input-handler this)
(call-next-method))
(defmethod gamekit:pre-destroy :around ((this input-handling-state... | 427 | Common Lisp | .lisp | 9 | 43.888889 | 72 | 0.76699 | borodust/post-man | 2 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 51c0ea3f3de6516f60ccd854ee616e2ee4c4286ec9e66534b05ddb2f988d1895 | 20,798 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.