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
39,330
spotlight-test.asd
conjunctive_spotlight/spotlight-test.asd
(defsystem spotlight-test :author "Conjunctive" :maintainer "Conjunctive" :license "AGPL-3.0" :version "0.2.1" :homepage "https://github.com/conjunctive/spotlight" :source-control (:git "git@github.com:conjunctive/spotlight.git") :description "Test system for Spotlight" :depends-on ("spotlight" ...
553
Common Lisp
.asd
16
27.875
73
0.629423
conjunctive/spotlight
0
0
0
AGPL-3.0
9/19/2024, 11:46:12 AM (Europe/Amsterdam)
61d537bcbbfd3a59b58006196e155cf60a4072a34c7df255d1ff1fd0d1fd0152
39,330
[ -1 ]
39,331
spotlight.asd
conjunctive_spotlight/spotlight.asd
(defsystem spotlight :author "Conjunctive" :maintainer "Conjunctive" :license "AGPL-3.0" :version "0.2.1" :homepage "https://github.com/conjunctive/spotlight" :source-control (:git "git@github.com:conjunctive/spotlight.git") :description "Functional references for Common Lisp" :depends-on ("alexandria")...
583
Common Lisp
.asd
16
31.625
67
0.68254
conjunctive/spotlight
0
0
0
AGPL-3.0
9/19/2024, 11:46:12 AM (Europe/Amsterdam)
f534cb8238be1500e26f1c482d77c14809d00e1e7ef2daf8d1e70caee44ee2e4
39,331
[ -1 ]
39,351
tokens.lisp
yildizozan_clisp-parser/src/tokens.lisp
(defvar *tokens* (make-hash-table :test 'equal)) (setf (gethash "and" *tokens*) "KW_AND") (setf (gethash "or" *tokens*) "KW_OR") (setf (gethash "not" *tokens*) "KW_NOT") (setf (gethash "equal" *tokens*) "KW_EQUAL") (setf (gethash "less" *tokens*) "KW_LESS") (setf (gethash "nil" *tokens*) "KW_NIL") (setf (gethash "list...
1,658
Common Lisp
.lisp
39
41.461538
51
0.62585
yildizozan/clisp-parser
0
0
0
GPL-3.0
9/19/2024, 11:46:12 AM (Europe/Amsterdam)
e6abc975039d20bc375f7c1bc1fd3cd5a30a68d622796cd2aa0ca237dec33767
39,351
[ -1 ]
39,352
gpp_lexer.lisp
yildizozan_clisp-parser/src/gpp_lexer.lisp
; ********************************************* ; * 341 Programming Languages * ; * Fall 2019 * ; * Author: Ozan Yıldız * ; ********************************************* ;; utility functions (load "tokens.lisp") (load "lib.lisp") (defun gppinterpr...
1,381
Common Lisp
.lisp
37
26.432432
91
0.395545
yildizozan/clisp-parser
0
0
0
GPL-3.0
9/19/2024, 11:46:12 AM (Europe/Amsterdam)
baa5bbbb16b7ccc651bd5a0623141012ef08d1bfb9b4369bbde26c34df1bde88
39,352
[ -1 ]
39,353
lib.lisp
yildizozan_clisp-parser/src/lib.lisp
(defun char-by-char (in) "Read char by char but input must be string" (with-input-from-string (is in) (do ((c (read-char is) (read-char is nil 'the-end))) ((not (characterp c))) (format t "~S " c))) ) ;; Create adustable string (defun make-adjustable-string (s) "Create adustable st...
4,280
Common Lisp
.lisp
142
22.633803
85
0.518916
yildizozan/clisp-parser
0
0
0
GPL-3.0
9/19/2024, 11:46:12 AM (Europe/Amsterdam)
0c4c95b0a79b6d1dcad10304de40e87d8feb925045684e5e845475ad64496f9f
39,353
[ -1 ]
39,354
driver.lisp
yildizozan_clisp-parser/src/driver.lisp
; ********************************************* ; * 341 Programming Languages * ; * Fall 2019 * ; * Author: Ozan Yıldız * ; ********************************************* ;; utility functions (load "gpp_lexer.lisp") (gppinterpreter "example.g++")
320
Common Lisp
.lisp
8
38.5
47
0.326861
yildizozan/clisp-parser
0
0
0
GPL-3.0
9/19/2024, 11:46:12 AM (Europe/Amsterdam)
4abd4c9b00c6c32417f389cd727246fb54ea308722d1add3735a3cf9105d1b53
39,354
[ -1 ]
39,355
test.lisp
yildizozan_clisp-parser/src/test.lisp
; ********************************************* ; * 341 Programming Languages * ; * Fall 2019 * ; * Author: Ozan Yıldız * ; ********************************************* ;; utility functions (load "tokens.lisp") (load "lib.lisp") ;; --------------...
3,113
Common Lisp
.lisp
62
47.080645
109
0.370102
yildizozan/clisp-parser
0
0
0
GPL-3.0
9/19/2024, 11:46:12 AM (Europe/Amsterdam)
3540ba2b232c7d38d10c65487da7be4980c63eb7653bd88d957de8048350b3cd
39,355
[ -1 ]
39,359
example.g++
yildizozan_clisp-parser/src/example.g++
;; helloworld.g++ (deffun sumup (x) (if (equal x 0) 1 (+ x (sumup (-x 1))) ) ) (list 1 2 123) (liste 1 2 3)
133
Common Lisp
.l
9
11
28
0.464
yildizozan/clisp-parser
0
0
0
GPL-3.0
9/19/2024, 11:46:12 AM (Europe/Amsterdam)
84fe38b3a80ac5ffb263e197c8497a883ef1018f443dfcbf45ea85442b16883f
39,359
[ 190466 ]
39,377
package.lisp
khinsen_h5cl/package.lisp
(defpackage :h5cl (:use :cl) (:export :open-hdf5 :close-hdf5 :hdf5-ref :hdf5-containing-file :hdf5-path :make-hdf5-group :make-hdf5-dataset :hdf5-dataset-element-type :hdf5-dataset-rank :hdf5-dataset-dimensions))
316
Common Lisp
.lisp
12
16.75
37
0.529605
khinsen/h5cl
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
4b946b076aaa3f1fc6a71695c23acb2af4db83d0543693aec660e510ba6b74c4
39,377
[ -1 ]
39,378
files.lisp
khinsen_h5cl/files.lisp
(in-package :h5cl) (defclass hdf5-file (hdf5-location) ((filename :initarg :filename :reader hdf5-file-filename :documentation "Filename") (fapl-id :initarg :fapl-id :documentation "File access property list id"))) (defmethod hdf5-containing-file ((file hdf5-file)) file) (defmethod hdf5-pa...
3,701
Common Lisp
.lisp
95
27.705263
88
0.544469
khinsen/h5cl
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
9a7e16ba2faf3669ecd55fa5b4d817b28ae3c3d20de6a621d991826a982b1db1
39,378
[ -1 ]
39,379
accessors.lisp
khinsen_h5cl/accessors.lisp
(in-package :h5cl) (defgeneric hdf5-ref (hdf5-object item-spec &rest more-item-specs) (:documentation "Access items inside a HDF5 object")) (defmethod hdf5-ref ((location hdf5-location) path &rest more-item-specs) (let* ((location-id (hdf5-object-id location)) (object-id (hdf5:h5oopen location-id pat...
1,885
Common Lisp
.lisp
38
33.421053
82
0.511931
khinsen/h5cl
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
81c399c2e9481808d63f3e6cedda16dc2d9f47def2b946378aeabc6850cb8f93
39,379
[ -1 ]
39,380
tests.lisp
khinsen_h5cl/tests.lisp
(in-package :h5cl-test) (def-suite :h5cl) (in-suite :h5cl) (defun make-temporary-file-name () (uiop:with-temporary-file (:pathname pn :prefix "h5cl-test" :type "h5") pn)) (defmacro with-temporary-filename (symbol &body body) `(let ((,symbol (make-temporary-file-name))) (unwind-protect ,@body ...
4,678
Common Lisp
.lisp
114
29.991228
81
0.547891
khinsen/h5cl
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
d0e418a86372e7c4dc8bdd46d2acd6de39068f3e7681c3aeb1c7181e74cdc95c
39,380
[ -1 ]
39,381
datasets.lisp
khinsen_h5cl/datasets.lisp
(in-package :h5cl) (defclass hdf5-dataset (hdf5-named-object) ()) ;; ;; Return information about datasets ;; (defun hdf5-dataset-element-type (dataset) "Return a type specifier for the elements of DATASET. For non-numeric types, the return value is not a valid Common Lisp type specifier." (let* ((datatype-id (...
8,378
Common Lisp
.lisp
174
36.712644
90
0.591453
khinsen/h5cl
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
8a6d6e72ab5e1e29a569aa87a2df261b478cc2e03c62cc5b57c4b1ac0d6502fa
39,381
[ -1 ]
39,382
datatypes.lisp
khinsen_h5cl/datatypes.lisp
(in-package :h5cl) ;; ;; Type management is bit messy because there are three levels to deal with: ;; - Common Lisp types ;; - C types (as defined by cffi) ;; - HDF5 types (as defined by hdf5-cffi) ;; ;; For now, h5cl supports only data in the form of specialized arrays whose ;; element types are ;; - short-float ...
2,266
Common Lisp
.lisp
54
37.962963
76
0.675431
khinsen/h5cl
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
909fe767c0bb6b98a2f1fa39ae1cd218e12ccd946c188b6379caeda0164ebd42
39,382
[ -1 ]
39,383
basics.lisp
khinsen_h5cl/basics.lisp
(in-package :h5cl) ;; A hdf5-object is anything that has an HDF5 id. This includes ;; files, datasets, groups, and more. (defclass hdf5-object () ((id :initarg :id :reader hdf5-object-id :documentation "C-level id (type hid_t)"))) ;; All HDF5 objects must be closed after use, at least to free memory. ...
2,447
Common Lisp
.lisp
62
34.822581
79
0.671591
khinsen/h5cl
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
5efb3f55a1b5691539e6e7075bfe0c4efcbaa075de8a44fa69cf9e651776d63d
39,383
[ -1 ]
39,384
groups.lisp
khinsen_h5cl/groups.lisp
(in-package :h5cl) (defclass hdf5-group (hdf5-named-object hdf5-location) ()) ;; ;; Create a new group ;; (defun make-hdf5-group (location path) (let* ((location-id (hdf5-object-id location)) (group-id (hdf5:h5gcreate2 location-id path ...
623
Common Lisp
.lisp
17
25.294118
67
0.524046
khinsen/h5cl
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
d4abec9497e02c25ed937a1f80e3004c6272b6e3f6cce2dc74521459ce85e1eb
39,384
[ -1 ]
39,385
h5cl.asd
khinsen_h5cl/h5cl.asd
(asdf:defsystem h5cl :description "High-level HDF5 interface" :version "0.0.1" :author "Konrad Hinsen" :license "GPL3" :homepage "https://github.com/khinsen/h5cl" :depends-on (:hdf5-cffi :trivial-garbage :uiop) :serial t :components ((:file "package") (:file ...
547
Common Lisp
.asd
18
21.722222
48
0.531191
khinsen/h5cl
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
e7eb584a1056726457d56258926a1e13d042f0743bccdd47bf4f4407163f20d1
39,385
[ -1 ]
39,386
h5cl.test.asd
khinsen_h5cl/h5cl.test.asd
(defsystem h5cl.test :description "Tests for high-level HDF5 interface" :version "0.0.1" :author "Konrad Hinsen" :license "GPL3" :homepage "https://github.com/khinsen/h5cl" :depends-on (:h5cl :fiveam :uiop) :serial t :components ((:file "package.test") (:file...
432
Common Lisp
.asd
14
23.928571
66
0.58134
khinsen/h5cl
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
2bc83dfd86dbc4e199d82d7dade9e6645ba0016f24dcb86e28588119c892dc62
39,386
[ -1 ]
39,414
ieee-floats.lisp
matth-love_cl-las/lisp/ieee-floats.lisp
;;; Functions for converting floating point numbers represented in ;;; IEEE 754 style to lisp numbers. ;;; ;;; See http://common-lisp.net/project/ieee-floats/ (defpackage :ieee-floats (:use :common-lisp) (:export :make-float-converters :encode-float32 :decode-float32 :encode-float64 :decode-float64...
6,272
Common Lisp
.lisp
130
42.146154
117
0.659006
matth-love/cl-las
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
edc5b470b1a8e1745eff5ea7a58ec9dbeb05ba18f7cda361cf1b7ffb79b702a5
39,414
[ 402084 ]
39,431
Prime_array.lisp
DiegoNavaca_Primes_array/Prime_array.lisp
; Basic function to check if a number is prime (defun is_prime (num) (let ((squrt (sqrt num)) (it 1)) (loop (when (= (mod num (aref prime_array it)) 0) (return nil)) ; If it's divisible, then it's not prime (when (> (aref prime_array it) squrt) (return t)) ; If the loop ends, then it's pri...
2,829
Common Lisp
.lisp
70
34.485714
151
0.580821
DiegoNavaca/Primes_array
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
81a41c4087ff37f85df225eacec4d651fa38aa80b8ea98d3cdef27766b3f2c97
39,431
[ -1 ]
39,448
nfa.lisp
DrTaxi98_NFA/Lisp/nfa.lisp
;;;; nfa.lisp: regular languages compiler and NFA tester ;;;; Copyright (C) 2020 Andrea Tassi ;;;; ;;;; 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 o...
7,903
Common Lisp
.lisp
206
33.985437
78
0.663837
DrTaxi98/NFA
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
96c0c2a6f43d6d0a5d4f1ba6233d934170c6b361cbe0198f81ed77635de87187
39,448
[ -1 ]
39,450
nfa.pl
DrTaxi98_NFA/Prolog/nfa.pl
%%%% -*- Mode: Prolog -*- /* nfa.pl: regular languages compiler and NFA tester Copyright (C) 2020 Andrea Tassi 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, eithe...
7,591
Common Lisp
.l
224
29.133929
76
0.666712
DrTaxi98/NFA
0
0
0
GPL-3.0
9/19/2024, 11:46:20 AM (Europe/Amsterdam)
f8245b8df483f76bc580cc4552d156d58583bb0709169287f98c928cc166ad21
39,450
[ -1 ]
39,466
GuessMyNumber.lisp
Xevion_lisp-projects/games/GuessMyNumber/GuessMyNumber.lisp
(defparameter *small* 1) (defparameter *big* 100) (defun start-over () (defparameter *small* 1) (defparameter *big* 100) (guess-my-number) ) (defun smaller() (setf *small* (1- (guess-my-number))) (print (guess-my-number)) ) (defun bigger() (setf *big* (1+ (guess-my-number))) (print (gues...
1,159
Common Lisp
.lisp
39
20.128205
109
0.461116
Xevion/lisp-projects
0
0
0
GPL-3.0
9/19/2024, 11:46:29 AM (Europe/Amsterdam)
c1ab5e5af2277a2de86cd2e247dddb48f84e21b3069adb33b89bad907be6c38c
39,466
[ -1 ]
39,467
Prompt.lisp
Xevion_lisp-projects/scripts/Prompt.lisp
(defun read-3-numbers-&-format-sum () (flet ((prompt (string) (format t "~&~a: " string) (finish-output) (read nil 'eof nil))) (let ((x (prompt "first number")) (y (prompt "second number")) (z (prompt "third number"))) (format t "~&the sum of ~a, ~a, & ~a...
397
Common Lisp
.lisp
11
28
55
0.483204
Xevion/lisp-projects
0
0
0
GPL-3.0
9/19/2024, 11:46:29 AM (Europe/Amsterdam)
f85a18cda7fbcfbe7cf18a6716b2bb4e3f01bed3a7cfa99b2ce7baa577f913da
39,467
[ -1 ]
39,468
MonthLength.lisp
Xevion_lisp-projects/scripts/MonthLength.lisp
(defconstant jan 1) (defconstant feb 2) (defconstant mar 3) (defconstant apr 4) (defconstant may 5) (defconstant jul 6) (defconstant jun 7) (defconstant aug 8) (defconstant oct 9) (defconstant sep 10) (defconstant nov 11) (defconstant dec 12) (defun isLeapYear () true ) (defun month-length (mon) (case mon ...
503
Common Lisp
.lisp
24
18.041667
43
0.679245
Xevion/lisp-projects
0
0
0
GPL-3.0
9/19/2024, 11:46:29 AM (Europe/Amsterdam)
4c33d5ac6e5c2a74c89bfaee9184b61afb7e14a8511c8dc09b32584704ce22f8
39,468
[ -1 ]
39,487
levenshtein-tests.lisp
vaelen_levenshtein/levenshtein-tests.lisp
;; Copyright 2020, Andrew C. Young <andrew@vaelen.org> ;; ;; 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...
1,865
Common Lisp
.lisp
46
36.543478
98
0.684327
vaelen/levenshtein
0
0
0
GPL-3.0
9/19/2024, 11:46:29 AM (Europe/Amsterdam)
a5ac30a58fae8f3b24605e592718d40f4d0c860fcf6bf9f254dde967febafcbf
39,487
[ -1 ]
39,488
levenshtein.lisp
vaelen_levenshtein/levenshtein.lisp
;; Copyright 2020, Andrew C. Young <andrew@vaelen.org> ;; ;; 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...
4,019
Common Lisp
.lisp
74
46.202703
108
0.576796
vaelen/levenshtein
0
0
0
GPL-3.0
9/19/2024, 11:46:29 AM (Europe/Amsterdam)
6f0a9908be1e4b8db4b65895bb81fbf44e7f81f46f37cbd26d6e4a0233391c95
39,488
[ -1 ]
39,489
levenshtein.asd
vaelen_levenshtein/levenshtein.asd
(defsystem "levenshtein" :components ((:file "levenshtein")) :in-order-to ((test-op (test-op "levenshtein/tests")))) (defsystem "levenshtein/executable" :build-operation program-op :build-pathname "levenshtein" ;; shell name :entry-point "levenshtein::main" ;; thunk :components ((:file "levenshtein...
504
Common Lisp
.asd
12
38.666667
72
0.706122
vaelen/levenshtein
0
0
0
GPL-3.0
9/19/2024, 11:46:29 AM (Europe/Amsterdam)
67a3a8e17038dc022d6cc6902ea3a117c92655dedbe26f518ed966fd303dbaf6
39,489
[ -1 ]
39,491
Makefile
vaelen_levenshtein/Makefile
LISP=sbcl all: build build: $(LISP) --eval '(require "asdf")' --eval '(asdf:make :levenshtein/executable)' --quit clean: rm levenshtein
141
Common Lisp
.l
6
21.666667
86
0.719697
vaelen/levenshtein
0
0
0
GPL-3.0
9/19/2024, 11:46:29 AM (Europe/Amsterdam)
1b8293c97613fadbab75aed20fb42b2bcfd088d7521d6b2b6e693375bb07f3f5
39,491
[ -1 ]
39,508
elfunctions.lisp
ZerglingOne_elisp-functions/elfunctions.lisp
(defun index (aList anIndex) (cond ((> anIndex 0) (index (cdr aList) (- anIndex 1))) ((< anIndex 0) NIL) ((= anIndex 0) (car aList)))) (defvar currentversions nil) (defvar servicemethods nil) (defvar apimethods nil) (defvar repomethods nil) (defvar microservicename nil) (de...
21,472
Common Lisp
.lisp
593
33.573356
151
0.702242
ZerglingOne/elisp-functions
0
0
0
GPL-3.0
9/19/2024, 11:46:29 AM (Europe/Amsterdam)
46a9ee0983aa768f2bd2f52ad3bdab00c89a2b2ba55ed51f380f04bdc8e3be93
39,508
[ -1 ]
39,511
emacsalttab.ahk
ZerglingOne_elisp-functions/AHKMacros/emacsalttab.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Event ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. ...
383
Common Lisp
.l
7
52.285714
89
0.798387
ZerglingOne/elisp-functions
0
0
0
GPL-3.0
9/19/2024, 11:46:29 AM (Europe/Amsterdam)
c96cd5728e6782b429e09864edd96f1e36d253d12738cd8fc1b6400e58cf4b19
39,511
[ -1 ]
39,512
emacsalttabpaste.ahk
ZerglingOne_elisp-functions/AHKMacros/emacsalttabpaste.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. /; #Warn ; Enable warnings to assist with detecting common errors. /; SendMode Event ; Recommended for new scripts due to its superior speed and reliability./; SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting direc...
466
Common Lisp
.l
11
39.727273
92
0.776286
ZerglingOne/elisp-functions
0
0
0
GPL-3.0
9/19/2024, 11:46:29 AM (Europe/Amsterdam)
7d7d70872385d05cc414b0dca9e76b669d89ebfa326df4aaea1ae71cfb4209d1
39,512
[ -1 ]
39,527
audio-res.lisp
maurooaranda_spong/audio-res.lisp
;; Copyright (C) 2020 Mauro Aranda ;; S-Pong 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. ;; S-Pong is distributed in the hope...
978
Common Lisp
.lisp
18
52.055556
76
0.743455
maurooaranda/spong
0
0
0
GPL-3.0
9/19/2024, 11:46:37 AM (Europe/Amsterdam)
0f7365954d786c5a85257c482b3f17074202f1bc0f319964af4c7c9f1e33bef3
39,527
[ -1 ]
39,528
globals.lisp
maurooaranda_spong/globals.lisp
;; Copyright (C) 2020 Mauro Aranda ;; S-Pong 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. ;; S-Pong is distributed in the hope...
3,300
Common Lisp
.lisp
64
49.25
78
0.739144
maurooaranda/spong
0
0
0
GPL-3.0
9/19/2024, 11:46:37 AM (Europe/Amsterdam)
6cbc5f8ccb9ea27d0b1bd8d19bbd39fabfbce82acbb7e6e79e95ef32ccd13d03
39,528
[ -1 ]
39,529
player.lisp
maurooaranda_spong/player.lisp
;; Copyright (C) 2020 Mauro Aranda ;; S-Pong 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. ;; S-Pong is distributed in the hope...
5,958
Common Lisp
.lisp
141
38.41844
84
0.655596
maurooaranda/spong
0
0
0
GPL-3.0
9/19/2024, 11:46:37 AM (Europe/Amsterdam)
0ccfd50a804af26d4d969f30782cfb95f96b7c341d611f7ffd1170ac31652f56
39,529
[ -1 ]
39,530
random-x.lisp
maurooaranda_spong/random-x.lisp
;; Copyright (C) 2020 Mauro Aranda ;; S-Pong 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. ;; S-Pong is distributed in the hope...
1,058
Common Lisp
.lisp
22
46.227273
76
0.71137
maurooaranda/spong
0
0
0
GPL-3.0
9/19/2024, 11:46:37 AM (Europe/Amsterdam)
731e53a678da40715c298c4938134f4c993b6fa15c80f9eba49917d1b79589d0
39,530
[ -1 ]
39,531
paddle.lisp
maurooaranda_spong/paddle.lisp
;; Copyright (C) 2020 Mauro Aranda ;; S-Pong 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. ;; S-Pong is distributed in the hope...
1,648
Common Lisp
.lisp
34
45.411765
71
0.700685
maurooaranda/spong
0
0
0
GPL-3.0
9/19/2024, 11:46:37 AM (Europe/Amsterdam)
9509c72002a1f478d1fa6af41555618426786681341685f3bf8c3cea1a4eb150
39,531
[ -1 ]
39,532
sprite.lisp
maurooaranda_spong/sprite.lisp
;; Copyright (C) 2020 Mauro Aranda ;; S-Pong 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. ;; S-Pong is distributed in the hope...
1,253
Common Lisp
.lisp
27
44.074074
78
0.718622
maurooaranda/spong
0
0
0
GPL-3.0
9/19/2024, 11:46:37 AM (Europe/Amsterdam)
6ecfcdd7df04daa43387b4e322d150241d82ce6518eef47fb5f6e12c9cdb13f8
39,532
[ -1 ]
39,533
rectangle.lisp
maurooaranda_spong/rectangle.lisp
;; Copyright (C) 2020 Mauro Aranda ;; S-Pong 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. ;; S-Pong is distributed in the hope...
1,208
Common Lisp
.lisp
24
48.166667
71
0.741497
maurooaranda/spong
0
0
0
GPL-3.0
9/19/2024, 11:46:37 AM (Europe/Amsterdam)
cc38ab20f45a5c27ba4606192fe07322b6dbb8db139f435f346042456616632e
39,533
[ -1 ]
39,534
powerup.lisp
maurooaranda_spong/powerup.lisp
;; Copyright (C) 2020 Mauro Aranda ;; S-Pong 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. ;; S-Pong is distributed in the hope...
4,285
Common Lisp
.lisp
88
45.193182
78
0.714388
maurooaranda/spong
0
0
0
GPL-3.0
9/19/2024, 11:46:37 AM (Europe/Amsterdam)
9cab2f9b509c1eaae64dff0d8b5ea58910b502cf9ce53700ecbc1b9d6afba245
39,534
[ -1 ]
39,535
shape.lisp
maurooaranda_spong/shape.lisp
;; Copyright (C) 2020 Mauro Aranda ;; S-Pong 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. ;; S-Pong is distributed in the hope...
794
Common Lisp
.lisp
15
51.266667
71
0.74677
maurooaranda/spong
0
0
0
GPL-3.0
9/19/2024, 11:46:37 AM (Europe/Amsterdam)
c146940c808a57ba186475b52ac6a2675f0d98508621506044fc34bdf8348597
39,535
[ -1 ]
39,536
packages.lisp
maurooaranda_spong/packages.lisp
;; Copyright (C) 2020 Mauro Aranda ;; S-Pong 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. ;; S-Pong is distributed in the hope...
787
Common Lisp
.lisp
16
47.5
71
0.753264
maurooaranda/spong
0
0
0
GPL-3.0
9/19/2024, 11:46:37 AM (Europe/Amsterdam)
88d0dd6abf1bcfba07ed57442ea26a387eb5b0263766247ade211b1ccba1817c
39,536
[ -1 ]
39,537
ball.lisp
maurooaranda_spong/ball.lisp
;; Copyright (C) 2020 Mauro Aranda ;; S-Pong 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. ;; S-Pong is distributed in the hope...
2,241
Common Lisp
.lisp
47
44.085106
71
0.630664
maurooaranda/spong
0
0
0
GPL-3.0
9/19/2024, 11:46:37 AM (Europe/Amsterdam)
980b29e710307c5606121350c4ab931a49d07c3ea041b8478f85989b2c45ed8c
39,537
[ -1 ]
39,538
spong.asd
maurooaranda_spong/spong.asd
;; Copyright (C) 2020 Mauro Aranda ;; S-Pong 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. ;; S-Pong is distributed in the hope...
1,869
Common Lisp
.asd
37
45.513514
76
0.674699
maurooaranda/spong
0
0
0
GPL-3.0
9/19/2024, 11:46:37 AM (Europe/Amsterdam)
932bd636e171771792a5aa84f4d549f8334589366a7f6bfdecbda035b40f2c13
39,538
[ -1 ]
39,565
fibonacci.lisp
mets634_LispFun/src/fibonacci.lisp
(defpackage fibonacci (:use :cl) (:export :fibonacci-rec :fibonacci-closure :main)) (in-package :fibonacci) (declaim (ftype (function (fixnum) fixnum) fibonacci-rec)) (defun fibonacci-rec (n) "calculates fibonacci using recursion definition f(n) = f(n-1) + f(n-2)" (if (< n 2) n (+ (fibonacci-rec...
945
Common Lisp
.lisp
28
29.75
74
0.635061
mets634/LispFun
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
c5d132eb69130e9649c4981b341ec63346df01131bf137131f57f5b312c4fe3d
39,565
[ -1 ]
39,566
hello-world.lisp
mets634_LispFun/src/hello-world.lisp
(defpackage hello-world (:use :cl) (:export :print-hello-world)) (in-package :hello-world) (defun print-hello-world () (format t "Hello World!"))
153
Common Lisp
.lisp
6
23.333333
31
0.69863
mets634/LispFun
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
89ba0434c8ac6523a726111f3ac278ebf01cb1022daf0c17f561db9e86d25048
39,566
[ -1 ]
39,567
lisp-fun.asd
mets634_LispFun/lisp-fun.asd
(asdf:defsystem "lisp-fun" :version "0.1.0" :author "mets634" :license "GNU General Public License v3.0" :depends-on () :components ((:module "src" :components ((:file "hello-world") (:file "fibonacci")))) :description "A project to play around with Common Lisp")
311
Common Lisp
.asd
10
25.4
59
0.61794
mets634/LispFun
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
3830dadee679d7516e9ae2763e013c6148cfecf20cde1f8674d4d99262ae6f01
39,567
[ -1 ]
39,585
fact.lisp
NiramayVaidya_Basic_LISP_Codes/fact.lisp
(princ (funcall (lambda (n) (if (<= n 0) 1 (* n (lambda (- n 1))))) 4)
71
Common Lisp
.lisp
1
70
70
0.485714
NiramayVaidya/Basic_LISP_Codes
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
eabb84e5b0c06f5d592f7866be97e454074196791d42c5bdbb0889cf8bc1bc7e
39,585
[ -1 ]
39,586
factorial.lisp
NiramayVaidya_Basic_LISP_Codes/factorial.lisp
(princ (funcall ((lambda (f) (lambda (n) (funcall f f n))) (lambda (f n) (if (= n 0) 1 (* n (funcall f f (- n 1)))))) 4))
122
Common Lisp
.lisp
1
121
121
0.512397
NiramayVaidya/Basic_LISP_Codes
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
aa8e5301e76137cfcae7ff9d780ebf092f37c1ed71356e1445476062e25acd3b
39,586
[ -1 ]
39,587
7elem.cl
NiramayVaidya_Basic_LISP_Codes/7elem.cl
(defun elem7 (list) "returns 7th element of the list if present, else returns not present message" (if (>= (length list) 7) (princ (nth 6 list)) (princ "7th element not present"))) (princ #\newline) (elem7 '(1 2 3 4 5 6)) (princ #\newline)
240
Common Lisp
.cl
4
59
180
0.690678
NiramayVaidya/Basic_LISP_Codes
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
cffc353b9318db5184347b28b70a1013347b5759204a2be3ef8e6c453cad9309
39,587
[ -1 ]
39,588
basic_1.cl
NiramayVaidya_Basic_LISP_Codes/basic_1.cl
(princ (fboundp 'quadratic)) (princ #\newline) (defun quadratic (a b c x) "Returns the value of the quadratic polynomial a*x^2+b*x+c at x" (+ (* a x x) (* b x) c)) (princ (fboundp 'quadratic)) (princ #\newline) (princ (function quadratic)) (princ #\newline) (princ (describe 'quadratic)) (princ #\newline) (princ (type-o...
715
Common Lisp
.cl
20
34.75
116
0.670504
NiramayVaidya/Basic_LISP_Codes
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
b2276183af53833a17067a10534e5fe42622dfffee41efb5f650921bae6fcb58
39,588
[ -1 ]
39,589
basic.cl
NiramayVaidya_Basic_LISP_Codes/basic.cl
(princ "Hello World") (princ #\newline) (princ (and nil 2)) (princ #\newline) (princ (and 1 2)) (princ #\newline) ;the next uncommented statement below is equivalent to the above statement ;;another type of comment, more importance ;;;and another though even more important #| block comment |# (princ (if 1 2 nil)) (prin...
1,373
Common Lisp
.cl
52
25.384615
96
0.684848
NiramayVaidya/Basic_LISP_Codes
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
f00dc3828e2e3d164b86b32e876103492534d7a4551896a0da70b5d24680e553
39,589
[ -1 ]
39,590
list.cl
NiramayVaidya_Basic_LISP_Codes/list.cl
(princ (car (cdr (cdr '(7 (* 5 4) (+ 3 1) (/ 4 1) 65))))) (princ #\newline) (princ (cdr '(7 (* 5 4) (+ 3 1) (/ 4 1) 65))) (princ #\newline) (princ (cdr (cdr '(7 (* 5 4) (+ 3 1) (/ 4 1) 65)))) (princ #\newline) (princ (cdar '((a b) c d e))) (princ #\newline) (princ (cadr '((a b) c d e)))
288
Common Lisp
.cl
9
31
57
0.487455
NiramayVaidya/Basic_LISP_Codes
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
e4eee2a207183b38c0ece61feacfe7a1511ad17a7566ddf2e3c59fb1118fb1f6
39,590
[ -1 ]
39,591
basic_2.cl
NiramayVaidya_Basic_LISP_Codes/basic_2.cl
(princ (characterp #\a)) (princ #\newline) (princ (alpha-char-p #\a)) (princ #\newline) (princ (char-upcase #\a)) (princ #\newline) (princ (char-code #\a)) (princ #\newline) (princ (code-char 98)) (princ #\newline) (princ (char= #\a #\b)) (princ #\newline) (princ (char< #\a #\b)) (princ #\newline) (defun nextchar (c) "...
431
Common Lisp
.cl
17
24.235294
88
0.652913
NiramayVaidya/Basic_LISP_Codes
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
87442bc21e63473e480122f90f757904d1beb4b95ab1eb509d7169981f352a14
39,591
[ -1 ]
39,614
util.lisp
borodust_decent-game/src/util.lisp
(cl:in-package :decent-game) (declaim (special *world*)) (defparameter *debug-rendering* nil) (defclass state-input-handler (gk.input:input-handler) ()) (defvar +zero-pos+ (gk:vec2 0 0)) (defvar *observation-repeat* 0) (defun now () (bodge-util:real-time-seconds)) (defun get-player () (player-of (world-of (cu...
2,408
Common Lisp
.lisp
55
35.290909
85
0.621016
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
b322e8d4a3e7ad85afb9e41941d97316fa671c3504530cf749edb4eab944ac52
39,614
[ -1 ]
39,615
event.lisp
borodust_decent-game/src/event.lisp
(cl:in-package :decent-game) (defvar *event-table* (make-hash-table)) (defun subscribe-to-event (event-id action) (pushnew action (gethash event-id *event-table*))) (defun unsubscribe-from-event (event-id action) (a:deletef (gethash event-id *event-table*) action)) (defun trigger-event (event-id &rest args ...
593
Common Lisp
.lisp
11
48.545455
88
0.703833
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
8ef66e08d77b24d99afe648a451bd3e280e849ecefc86ed4e319d9d53224c65e
39,615
[ -1 ]
39,616
resources.lisp
borodust_decent-game/src/resources.lisp
(cl:in-package :decent-game) (defun asset-path (pathname) (asdf:system-relative-pathname :decent-game (merge-pathnames pathname "assets/"))) (defvar *pack-table* (make-hash-table)) (defvar *resource-table* (make-hash-table)) (defun register-resource (name) (setf (gethash name *resource-table*) t)) (defun rem...
3,299
Common Lisp
.lisp
81
33.765432
84
0.654934
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
95d21dc719475a08a48d04168c6ec80c863309b19b922c82ab65aef2a132d115
39,616
[ -1 ]
39,617
hud.lisp
borodust_decent-game/src/hud.lisp
(cl:in-package :decent-game) ;;; player life bar (gk:define-image player-life-bar-left (asset-path "img/hud/player-life-bar/player-life-bar-left.png") :use-nearest-interpolation t) (gk:define-image player-life-bar-middle (asset-path "img/hud/player-life-bar/player-life-bar-middle.png") :use-nearest-interpolation ...
2,687
Common Lisp
.lisp
52
47.634615
113
0.694624
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
810dcd8d0a6cf206c69e3f861159040e87526194896926e3ccf8edfe10003f66
39,617
[ -1 ]
39,618
color.lisp
borodust_decent-game/src/color.lisp
(in-package :decent-game) (defun randcolor () "Returns a random color as a gamekit:vec4." (gk:vec4 (/ (random 100) 100) (/ (random 100) 100) (/ (random 100) 100) 1)) (defun alphacolor (alpha color) "Returns a gamekit:vec4 color with an alpha value of alpha, without modifying the...
1,112
Common Lisp
.lisp
23
43.782609
81
0.669437
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
945856febac1a5d0cbb3fcf769a28809daa89d9cc5420e69a6f34f790cc2b906
39,618
[ -1 ]
39,619
text.lisp
borodust_decent-game/src/text.lisp
; Load Screen - text menu (main-load-screen) ; Text Info Screen On Game Start describing game premise. (info-on-start) ; ESC screen - text menu (main-esc-menu) ; Death screen - text menu (death-screen) ; Boss Fight (boss-battle) ; Final Outcome Text Summary (final-outcome) ; End Credits (end-credits) ; Template is at *...
3,040
Common Lisp
.lisp
55
46.072727
157
0.636577
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
cb1559e69d9865629029e916d6a1f81e027c8693c3baeb1420f61ae655b63dcc
39,619
[ -1 ]
39,620
timer-util.lisp
borodust_decent-game/src/timer-util.lisp
(in-package #:decent-game) (defvar *timers* nil) ;;;; Timers ;;;;---------------------------------------------------------------------------- (defun now () (/ (get-internal-real-time) internal-time-units-per-second)) (defun timer-time (timer) (car timer)) (defun timer-handler (timer) (cdr timer)) (defun insert...
1,193
Common Lisp
.lisp
30
32.366667
83
0.55816
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
73776ba5bab4f62f3f433fc3f26f9f33971183faeb9b2903a9521ff01b2fe58c
39,620
[ -1 ]
39,621
physics.lisp
borodust_decent-game/src/physics.lisp
(cl:in-package :decent-game) (defparameter *universe-scale* 10) (defparameter *body-fill-color* (gk:vec4 1 0 0 0.5)) (defparameter *body-stroke-color* (gk:vec4 1 0 0 0.8)) (defvar +zero-rot+ (b:mat2 1 0 0 1)) ;;; ;;; UNIVERSE ;;; (defgeneric collide (this that) (:method (this that) ...
9,621
Common Lisp
.lisp
227
32.211454
103
0.584238
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
13c420fc3875aba6b200fe21ced19f55d390b42d96e5799435a7e167f69a59d6
39,621
[ -1 ]
39,622
animation.lisp
borodust_decent-game/src/animation.lisp
(cl:in-package :decent-game) (defparameter *animation-fps* 6) (defparameter *animation-sprite-origin* (gk:vec2 0 0)) (defun draw-animation-sprite (image time position frame-count mirror-x mirror-y) (let ((sprite-width (/ (gk:image-width image) frame-count)) (current-frame (mod (truncate (* time *animation...
1,113
Common Lisp
.lisp
20
46.8
87
0.658065
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
77f021c5378f26de9c45001ab41044c4b8bbda39cee66f4e3f86742897e0a902
39,622
[ -1 ]
39,623
packages.lisp
borodust_decent-game/src/packages.lisp
(cl:defpackage :decent-game (:use :cl) (:local-nicknames (#:a #:alexandria) (#:gk #:trivial-gamekit) (#:gk.fsm #:trivial-gamekit.fistmachine) (#:gk.input #:trivial-gamekit.input-handler) (#:b #:cl-bodge.engine) (#:b....
365
Common Lisp
.lisp
9
27.777778
64
0.485955
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
7df2b2cc607a3167355b69aff38f40f36cae5a44f8fabcd16cd58a2ae795d778
39,623
[ -1 ]
39,624
bullet.lisp
borodust_decent-game/src/objects/bullet.lisp
(cl:in-package :decent-game) (defparameter *bullet-ttl* 2) (defgeneric ttl-of (this)) (defclass bullet () ((body :initform nil) (spawn-time :initform (bodge-util:real-time-seconds)) (velocity :initarg :velocity :accessor velocity-of))) (defmethod ttl-of ((this bullet)) *bullet-ttl*) (defmethod initi...
2,139
Common Lisp
.lisp
56
33.267857
82
0.681308
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
56d2abbf654f7926d98875266977349f69a3da0e1ef589591e7cc08d460cccfc
39,624
[ -1 ]
39,625
stats.lisp
borodust_decent-game/src/objects/stats.lisp
(cl:in-package :decent-game) (defclass stats () ((hp :accessor hp) (hp-max :initarg :hp-max :accessor hp-max) (strength :initarg :strength :accessor strength) (attack-speed :initarg :attack-speed :accessor attack-speed) (movement-speed :initarg :movement-speed ...
690
Common Lisp
.lisp
20
27.85
74
0.646707
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
024b2eb4fe53a5ad6222344df4724740fb05cd7bf4f542410c8f9cd6f0c6909e
39,625
[ -1 ]
39,626
player.lisp
borodust_decent-game/src/objects/player.lisp
(cl:in-package :decent-game) (defparameter *player-movement-speed* 48) (defparameter *player-jump-strength* 10000) (define-animation player-idle-right (asset-path "img/player/player-idle-right.png") :frames 2) (define-animation player-idle-left (asset-path "img/player/player-idle-left.png") :frames 2) (define-animat...
7,312
Common Lisp
.lisp
145
42.462069
110
0.655356
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
8c8c9f353d2242a4f064aaf27c579dd2badbcf7e1bcbae2be449b13129d47017
39,626
[ -1 ]
39,627
level.lisp
borodust_decent-game/src/objects/level.lisp
(cl:in-package :decent-game) (defparameter *sensor-color* (gk:vec4 0 0 0.8 0.5)) (declaim (special *level-width* *level-height* *image* *tile-width* *tile-height* *tile-map* *image-map* *leve...
13,082
Common Lisp
.lisp
304
32.414474
105
0.578582
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
963741c4f4446ceda4eec2397b0245e955a4aaf7b258874a84e291e02b36a28f
39,627
[ -1 ]
39,628
menu.lisp
borodust_decent-game/src/objects/menu.lisp
(cl:in-package :decent-game) (gk:define-font bold-pixel-operator (asset-path "fnt/pixel-operator/PixelOperatorMono8-Bold.ttf")) (gk:define-font pixel-operator (asset-path "fnt/pixel-operator/PixelOperatorMono8.ttf")) (define-resource-pack font-resources () 'pixel-operator 'bold-pixel-operator) (defparameter *...
1,824
Common Lisp
.lisp
39
41.487179
103
0.686686
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
23456bf05706cc40738f8c003b7a93217a2eec946cdccbe2265e878c86873939
39,628
[ -1 ]
39,629
world.lisp
borodust_decent-game/src/objects/world.lisp
(cl:in-package :decent-game) (defparameter *observation-step* 0.01) (defparameter *observation-repeats* 4) (defgeneric world-of (state)) (defclass world () ((universe :initform nil :reader universe-of) (level :initform nil :reader level-of) (player :initform nil :reader player-of) (enemies :initform nil...
3,007
Common Lisp
.lisp
72
34.902778
90
0.649485
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
8bbce8ec528828eeba5723e237617c4142f36a024133ae4144b7caf8b8676cf1
39,629
[ -1 ]
39,630
fighter.lisp
borodust_decent-game/src/objects/fighter.lisp
(cl:in-package :decent-game) (defgeneric position-of (object)) (defgeneric velocity-of (object)) (defgeneric speed-of (object) (:method (object) (declare (ignore object)) 0)) (defgeneric shoot (object)) ;;; ;;; GENERIC FIGHTER ;;; (defclass fighter (stats) ((states :initform (list) :accessor states) ...
5,851
Common Lisp
.lisp
149
34.134228
109
0.663472
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
c3a4a9dd46b40cbbcfef8f696a7604f1b35de589bc06a4a91daf9569b0d83f8e
39,630
[ -1 ]
39,631
dialogue.lisp
borodust_decent-game/src/objects/dialogue.lisp
(cl:in-package :decent-game) (defgeneric dialogue-type (event)) (defgeneric dialogue-image (event)) (defgeneric dialogue-choices (event)) (defgeneric dialogue-text (event)) (defgeneric dialogue-choice-id (event choice)) (defgeneric dialogue-choice-test (event choice)) (defgeneric dialogue-choice-text (event choice))...
5,823
Common Lisp
.lisp
111
37.333333
103
0.550554
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
419a1912af81a77ed00993c13c3f33a564e6f5cd3487fba35fd03441fd5fbb93
39,631
[ -1 ]
39,632
hitbox.lisp
borodust_decent-game/src/objects/hitbox.lisp
(cl:in-package :decent-game) ;;; ;;; HITBOX ;;; (defclass hitbox () ((owner :initarg :owner :initform nil :reader owner-of))) (defmethod collide :around ((this hitbox) anything) (call-next-method) nil) (defmethod collide :around (anything (this hitbox)) (call-next-method) nil) (defclass player-hitbox (h...
369
Common Lisp
.lisp
14
24.071429
59
0.711816
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
8eeb6341d392302014cc238f91638949a2ef3fd629db59d81f8720210d7166ff
39,632
[ -1 ]
39,633
enemy.lisp
borodust_decent-game/src/objects/enemies/enemy.lisp
(cl:in-package :decent-game) (defclass enemy () ()) (defun make-enemies (&key world enemy-type-list) (let ((enemies nil)) (dolist (enemy-type enemy-type-list enemies) (push (make-instance enemy-type :world world) enemies)))) (defun render-enemies (enemy-list) (dolist (enemy enemy-list) (render e...
1,105
Common Lisp
.lisp
26
38.153846
69
0.670423
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
0b9cc4333d1d85b75ad3ab8f3316b4c5bf738b1e67b8eca2d065f5d31d675ede
39,633
[ -1 ]
39,634
alien.lisp
borodust_decent-game/src/objects/enemies/alien.lisp
(cl:in-package :decent-game) (defclass alien (enemy) () (:default-initargs :direction -1) (:documentation "Contains common properties of aliens."))
159
Common Lisp
.lisp
6
23.666667
59
0.721854
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
9e9b2c834b7a2140684ae9c6b6d211c6c553938fd055fc16166d33656867c7bf
39,634
[ -1 ]
39,635
alien-stinger.lisp
borodust_decent-game/src/objects/enemies/alien-stinger.lisp
(cl:in-package :decent-game) (defparameter *alien-stinger-movement-speed* 40) (define-animation alien-stinger-0-fly-0 (asset-path "img/alien-stinger-0/alien-stinger-0-fly-0.png") :frames 2) (define-animation alien-stinger-0-attack-sting-0 (asset-path "img/alien-stinger-0/alien-stinger-0-attack-sting-0.png"...
2,621
Common Lisp
.lisp
54
40.537037
100
0.636257
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
79c0e2b246006cd14580c3c220c97d5627f77b765967cc384f44a2b58456cc4f
39,635
[ -1 ]
39,636
alien-shooter.lisp
borodust_decent-game/src/objects/enemies/alien-shooter.lisp
(cl:in-package :decent-game) (defparameter *alien-shooter-sense-field-radius* 80) (defparameter *alien-shooter-shoot-radius* 60) (defparameter *alien-shooter-close-radius* 30) (defparameter *alien-shooter-movement-speed* 30) (defparameter *alien-shooter-shooting-delay* 0.8) (define-animation alien-shooter-0-walk-0 ...
4,930
Common Lisp
.lisp
108
37
99
0.615641
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
6c83a6e38cfd9edd2b15d6f866922ae7468e0010892b10623d13850ccba54cb4
39,636
[ -1 ]
39,637
boss.lisp
borodust_decent-game/src/objects/enemies/boss.lisp
(cl:in-package :decent-game) (define-animation boss-idle (asset-path "img/boss/boss-idle.png") :frames 2) (define-animation boss-attack (asset-path "img/boss/boss-attack.png") :frames 5) (define-animation boss-hurt (asset-path "img/boss/boss-hurt.png") :frames 1) (define-animation boss-dying (asset-path "img/boss/bos...
1,615
Common Lisp
.lisp
37
35.324324
82
0.607643
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
870fddfee6e9d9c3aebcb5e96258fc77dca0edf87ecb53d725d1a6b7996ad164
39,637
[ -1 ]
39,638
gameplay.lisp
borodust_decent-game/src/debug/gameplay.lisp
(cl:in-package :decent-game) (define-level test-level (asset-path "tld/test/test.sxp") (test-level-tilesheet (asset-path "tld/test/tiles.png") "tiles.png")) (define-resource-pack gameplay-debug-resources (boss-resources player-resources ...
3,900
Common Lisp
.lisp
84
40.130952
89
0.663487
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
ac6439c5add9e6839f14a44d2d62c4144d8511c12b2171509e9138f91bfd49a9
39,638
[ -1 ]
39,639
dialogue.lisp
borodust_decent-game/src/debug/dialogue.lisp
(cl:in-package :decent-game) (defdialogue (:debug-dialogue (:choices :debug-choice-1 "Doh!" :debug-dialogue-cont "Huh?" :debug-choice-3 "Duh...")) "This is a debug dialogue. Best one right?") (defdialogue (:debug-dialogue-cont (:choices :...
1,396
Common Lisp
.lisp
29
41
89
0.670362
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
86d18b8c9baa7c6e161aac9cd456cdcea84f0836d61f9e285f988e4050fde749
39,639
[ -1 ]
39,640
animation.lisp
borodust_decent-game/src/debug/animation.lisp
(cl:in-package :decent-game) (define-animation background-area-0 (asset-path "img/backgrounds/area-0/background-area-0.png") :frames 1) (define-resource-pack animation-debug-resources (player-resources alien-stinger-0-resources ...
2,400
Common Lisp
.lisp
42
49.666667
107
0.655128
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
b91f27b7f87a227d229f6b28d4df1b3c384d7a683d034b7aaf6d970847ee9fed
39,640
[ -1 ]
39,641
main-menu.lisp
borodust_decent-game/src/states/main-menu.lisp
(cl:in-package :decent-game) (gk:define-sound menu-theme (asset-path "snd/music/intro.wav")) (gk:define-sound credits-tune (asset-path "snd/music/Hip2BCube_-_P_10.ogg")) (define-resource-pack main-menu-resources (font-resources) 'menu-theme 'credits-tune) (defclass main-menu (state-input-handler) ((menu :ini...
2,992
Common Lisp
.lisp
65
37.276923
97
0.604001
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
e5503cf9f780bff6d74deb910c927e9a5605de0537c87f5b692ba7761679de3f
39,641
[ -1 ]
39,642
stage.lisp
borodust_decent-game/src/states/stage.lisp
(cl:in-package :decent-game) ;;; ;;; INIT ;;; (defclass init-stage (loading-screen) ()) ;;; ;;; PREPARE ;;; (defgeneric provide-world (prepare-stage)) (defclass prepare-stage () ((pack :initarg :pack :initform (error ":pack missing")) (stage :initarg :stage :initform (error ":stage missing")) (level :init...
4,798
Common Lisp
.lisp
116
37.741379
78
0.689201
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
d27be275402b045c01ad4b4213fa9aee77bf302cfd9cf8230642ad65ba28459a
39,642
[ -1 ]
39,643
dialogue.lisp
borodust_decent-game/src/states/dialogue.lisp
(cl:in-package :decent-game) ;;; ;;; OSD ;;; (defclass gameplay-dialogue () ((dialogue :initarg :dialogue))) (defmethod gk:draw ((this gameplay-dialogue))) ;;; ;;; CUTSCENE ;;; (defclass cutscene-dialogue () ()) (defmethod gk:draw ((this cutscene-dialogue))) ;;; ;;; DIALOGUE ;;; (defclass dialogue-screen (...
1,240
Common Lisp
.lisp
38
29.710526
78
0.715495
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
9ec0486d264969c077f78e2cc23fe6b732fc34d38ed559ed0c0a771afc853d91
39,643
[ -1 ]
39,644
credits.lisp
borodust_decent-game/src/states/credits.lisp
(cl:in-package :decent-game) (defparameter *credits-pos* (gk:vec2 16 124)) (defclass credits-screen (state-input-handler) ((credits-finished-p :initform nil :accessor credits-finished-p))) (defmethod gk:act ((this credits-screen)) (cond ((and (> (gk:y *credits-pos*) 420) (not (credits-finished-p ...
2,335
Common Lisp
.lisp
63
32.460317
78
0.688143
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
9ac1fad4b88ab8660c67a3fa7bf7b28cd6f05c6d3eca54e1b8cf83d8fc7b4c8d
39,644
[ -1 ]
39,645
base-loading-screen.lisp
borodust_decent-game/src/states/base-loading-screen.lisp
(cl:in-package :decent-game) (defgeneric on-load (state)) (defclass base-loading-screen (state-input-handler) ((pack-name :initarg :pack :initform (error ":pack missing")) (pack :initform nil :reader pack-of) (prepared-percentage :initform 100 ; 100 is the default, because if no ...
1,212
Common Lisp
.lisp
24
36.583333
111
0.558002
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
c3fd350eaacf8bba77236a97fe3b45eb094ce501ab4342a6930d91962a617b03
39,645
[ -1 ]
39,646
loading.lisp
borodust_decent-game/src/states/loading.lisp
(cl:in-package :decent-game) (gk:define-image loading-screen-bar-overlay (asset-path "img/hud/loading-screen-bar-overlay.png") :use-nearest-interpolation t) (define-animation loading-screen-animation (asset-path "img/hud/loading-screen-anim-sprite-sheet.png") :frames 12) (define-resource-pack loading-screen-res...
1,429
Common Lisp
.lisp
30
41.7
102
0.686825
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
e617d47d0ac9e1a1407b505cd961642d175cfbdd672d5cd7b17e711c46f6f66e
39,646
[ -1 ]
39,647
pause.lisp
borodust_decent-game/src/states/pause.lisp
(cl:in-package :decent-game) (defclass pause-screen (state-input-handler) ((world :initarg :world :initform (error ":world missing") :reader world-of) (pack :initarg :pack :initform (error ":pack missing")) (menu :initform nil))) (defmethod initialize-instance :after ((this pause-screen) &key) (with-slots...
2,498
Common Lisp
.lisp
55
35.781818
83
0.589765
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
6a4bd9766e60fa6f4e844512a7f133e6525aea37d00726dacc7ab7e6036d294f
39,647
[ -1 ]
39,648
init.lisp
borodust_decent-game/src/states/init.lisp
(cl:in-package :decent-game) (defclass init-screen (base-loading-screen) () (:default-initargs :pack 'loading-screen-resources)) (defmethod on-load ((this init-screen)) (gk.fsm:transition-to 'loading-screen :pack 'main-menu-resources :next-state 'main-menu)) (d...
415
Common Lisp
.lisp
9
38.333333
56
0.651629
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
564d621c00cb347ff9da8bad3287d12e5a18f694c686f95d6b603151893410cf
39,648
[ -1 ]
39,649
stage.lisp
borodust_decent-game/src/states/stage-2/stage.lisp
(cl:in-package :decent-game) (gk:define-sound boss-tune (asset-path "snd/music/gigamegasuuperbossbeaty.ogg")) (define-level stage-2 (asset-path "tld/stage-2/stage.sxp") (stage-2-tilesheet (asset-path "tld/stage-2/tiles.png") "tiles.png") (boss-stage-2-tilesheet (asset-path "tld/stage-2/tileset-1-with-alpha.png")...
1,555
Common Lisp
.lisp
46
29.282609
106
0.659718
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
f46f0a0d05ce9f53267a3698eefefddbfa1db0d903356a1542874bdae5f48c0a
39,649
[ -1 ]
39,650
stage.lisp
borodust_decent-game/src/states/stage-0/stage.lisp
(cl:in-package :decent-game) (gk:define-sound gameplay-tune (asset-path "snd/music/combat-zone.ogg")) (define-level stage-0 (asset-path "tld/stage-0/stage.sxp") (stage-0-tilesheet (asset-path "tld/stage-0/tiles.png") "tiles.png")) (define-resource-pack stage-0-resources (player-resources ...
1,208
Common Lisp
.lisp
39
25.205128
76
0.626736
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
89d00696094add92a6d2051289cc011db29960b33ca03f9617c5ef419636a112
39,650
[ -1 ]
39,651
exporter.lisp
borodust_decent-game/tiled/exporter.lisp
(uiop:define-package :decent-game.tiled (:use :cl :cffi :cffi-c-ref) (:export #:convert)) (cl:in-package :decent-game.tiled) (declaim (special *properties* *objects* *map*)) (defcallback parse-property :void ((property :pointer) (data :pointer)) (declare (ignore data)) ...
6,218
Common Lisp
.lisp
132
33.94697
97
0.524203
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
a3bc2a788caa6865c84edde130b5f847da06023fe565a5cc417ce528c7c6d4eb
39,651
[ -1 ]
39,652
text-template.lisp
borodust_decent-game/brainstorming/text-template.lisp
(cl:in-package :decent-game) (defdialogue (:event-0 ;; this is the event that triggers this dialogue ;; type can be :osd or :cutscene ;; :osd is the default if no :type is provided (:type :osd) ;; here's the smallish avatar-like image because :osd ...
1,591
Common Lisp
.lisp
29
42.758621
98
0.604487
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
ffd610f718c21b1cbbf1630af3e01d72de2323e8488162e1324532dacd615e0c
39,652
[ -1 ]
39,653
text-template.lisp
borodust_decent-game/brainstorming/txt/text-template.lisp
;;;TODO if the code is changed and this doesn't work, i'll just re-do it. lemme know. ;; First cut-scene giving premise (decent-game:defdialogue (:info-on-start (:type :cutscene) ;; in order of complexity - pick one ;; hero lying down,hero ...
3,703
Common Lisp
.lisp
60
45.85
157
0.566703
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
e14cece680ba491bd4158baeb8a17c461340a52a3e09cdb06243d1a85f8d71a3
39,653
[ -1 ]
39,654
decent-game.asd
borodust_decent-game/decent-game.asd
(cl:pushnew :bodge-gl2 cl:*features*) (asdf:defsystem :decent-game :description "Spring Lisp Game Jam 2020 entry" :author "decent-username, Ryan Burnside, David O'Toole, readeval, Pavel Korolev" :license "GNUv3" :depends-on (#:alexandria #:trivial-gamekit #:trivial-gamekit-fistmac...
2,798
Common Lisp
.asd
68
21.735294
82
0.377615
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
142988bd814168335000b60d72f5904d189903cec6d8335a388bcb739dc4cb5d
39,654
[ -1 ]
39,656
.travis.yml
borodust_decent-game/.travis.yml
language: common-lisp sudo: false addons: apt: packages: - zip env: global: - GAMEKIT_SYSTEM_NAME: decent-game - GAMEKIT_APPLICATION_PACKAGE: decent-game - GAMEKIT_APPLICATION_MAIN_CLASS: decent-game - PATH: ~/.bodge/bin/:$PATH - GAMEKIT_TARGET_PACKAGE: $GAMEKIT_SYSTEM_NAME-x86-64-$TRAVIS_OS_NAM...
1,871
Common Lisp
.l
44
39.454545
698
0.794829
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
409cbec0c0827e839dc31ac1987135c509725fbf7cbb35ed3afbbb8ae6bdd01e
39,656
[ -1 ]
39,657
.appveyor.yml
borodust_decent-game/.appveyor.yml
image: - Visual Studio 2017 platform: - x64 environment: global: GAMEKIT_SYSTEM_NAME: decent-game GAMEKIT_APPLICATION_PACKAGE: decent-game GAMEKIT_APPLICATION_MAIN_CLASS: decent-game GAMEKIT_ARTIFACT: $(GAMEKIT_SYSTEM_NAME)-x86-64-windows-$(APPVEYOR_REPO_TAG_NAME).zip GAMEKIT_BUILD_DIR: $(TM...
1,471
Common Lisp
.l
46
28.565217
89
0.711864
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
ebd10a3c8cb3c08f3e4898994c61ebc0c7a400fafd2dbaa375e3f794d122c296
39,657
[ -1 ]
39,696
tiles.tsx
borodust_decent-game/assets/tld/test/tiles.tsx
<?xml version="1.0" encoding="UTF-8"?> <tileset version="1.2" tiledversion="1.3.3" name="tiles" tilewidth="8" tileheight="8" tilecount="576" columns="32"> <image source="tiles.png" width="256" height="144"/> </tileset>
220
Common Lisp
.l
4
53.75
115
0.689815
borodust/decent-game
0
0
0
GPL-3.0
9/19/2024, 11:46:45 AM (Europe/Amsterdam)
4903be64f61f72f61f9dc2bb5ff12ccb24501c9ac5d70dcd4528d5a092af1e1a
39,696
[ -1 ]
39,715
helper.lisp
hwa_lisp-helpers/hunchentoot-helper/helper.lisp
(in-package #:hunchentoot-helper) ;; ;;;; server starter ;; (defparameter *server* nil) (defparameter *hunchentoot-log-dir* #p"/tmp") (defun start-webserver (&optional (port 5000)) (flet ((prefix-log-dir (log-file) (format nil "~a/~a" *hunchentoot-log-dir* log-file))) (let ((server (make-...
1,696
Common Lisp
.lisp
40
37.4
88
0.654336
hwa/lisp-helpers
0
0
0
GPL-3.0
9/19/2024, 11:46:54 AM (Europe/Amsterdam)
c475a902658517a31ebc78f7cfd4c51d004c6d23199bf907e0d9730f4c5c943f
39,715
[ -1 ]
39,716
helper.lisp
hwa_lisp-helpers/cl-yaml-helper/helper.lisp
(in-package #:cl-yaml-helper) (defun decode-yaml-from-file (yaml-file) (cl-yaml:parse yaml-file)) (defgeneric encode-yaml-to-emitter (emitter object)) (defmethod encode-yaml-to-emitter (emitter (object (eql 'nil))) (yaml.emitter:emit-object emitter object)) (defmethod encode-yaml-to-emitter (emitter (object lis...
1,474
Common Lisp
.lisp
33
38.757576
77
0.70021
hwa/lisp-helpers
0
0
0
GPL-3.0
9/19/2024, 11:46:54 AM (Europe/Amsterdam)
b2f79fb8c6295f2c7425fc7cf20a7ee9bd9ce166fb3610b11a521036dd771141
39,716
[ -1 ]