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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
44,176 | makro.lsp | preksi_surveyors-lisp/makro.lsp | ;**********************************************
;*************** makro lisp *****************
;**********************************************
;zajednièka datoteka svih makroa, koja se
;uèitava kod pokretanja AutoCAD-a pa su tipkovnièke
;kratice dostupne odmah, a mogu se koristiti i za VBA
;------------------- VBA m... | 2,844 | Common Lisp | .l | 165 | 15.369697 | 62 | 0.607733 | preksi/surveyors-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | 7262b7a0eaa5d061bc00f4dae3bc31746679a2c33a13f559e0f3978974b5c07f | 44,176 | [
-1
] |
44,177 | tekst.lsp | preksi_surveyors-lisp/tekst.lsp | ;************************************ F R O N T **************************************
;***** *****
;***** lisp za ispisivanje frontova *****
;***** by prexy, 10.07.2001.god. ... | 15,789 | Common Lisp | .l | 487 | 28.036961 | 107 | 0.444459 | preksi/surveyors-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | 1b8decec3fab46c5e064d2fbcc890bd55c59fe1c45a91fb7178c7ff9a75da350 | 44,177 | [
-1
] |
44,178 | zgrade.lsp | preksi_surveyors-lisp/zgrade.lsp | ;***************** Lispovi koji su vezani uz crtanje zgrada *********************
;********************************************************************************
;
; Lisp za crtanje zgrade iz tri toèke
;
; by pyton, zadnja promjena 14.01.2012. by prexy
;
;****************************... | 5,991 | Common Lisp | .l | 161 | 34.142857 | 85 | 0.56109 | preksi/surveyors-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | c2f632c02dde305cc44a03c1f6c8db88930a0a2bf65281f44fb315e0da05c3bd | 44,178 | [
-1
] |
44,179 | crtanje.lsp | preksi_surveyors-lisp/crtanje.lsp | ;******************************** C R T A NJ E ********************************
;********************************* O R T O G O N A L**********************************
;***** *****
;***** lisp za ortogonal ... | 9,982 | Common Lisp | .l | 252 | 36.706349 | 103 | 0.495896 | preksi/surveyors-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | 3e81502de967e39b1c2d6bc39612e3e34cc881ea82520ff1ef497a3c605f2f24 | 44,179 | [
-1
] |
44,180 | alati.lsp | preksi_surveyors-lisp/alati.lsp | ;******************************** S T A T I S T I K A ******************************
;***** *****
;***** lisp za ispis statistike dwg-a *****
;***** by prexy, 29.10.2002.god. ... | 8,110 | Common Lisp | .l | 215 | 34.576744 | 92 | 0.490143 | preksi/surveyors-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | 1d307c1aaa325a4c506fca0d390127e99164ac0394ba52b6254193707019e591 | 44,180 | [
-1
] |
44,181 | blokovi.lsp | preksi_surveyors-lisp/blokovi.lsp | ;*******************************************************
;*******************************************************
; Lisp za reinsertiranje bloka
; izborom vec postojeceg bloka na dwg-u
; by prexy, 04.02.2001.
;*******************************************************
;***********************************************... | 3,200 | Common Lisp | .l | 99 | 29.242424 | 86 | 0.448613 | preksi/surveyors-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | 3c2fa979297555fa38fbb306f99e4d456edafb5865d9c36f9bc72d26d21e89a3 | 44,181 | [
-1
] |
44,202 | tournament.lisp | nshan651_rcv/src/tournament.lisp | ;;;; Ranked choice voting
(in-package #:cl-user)
(defpackage #:rcv/tournament
(:use #:cl)
(:export :display-results :tournament))
(in-package #:rcv/tournament)
(defun rank-prefs (top-choices)
"Return the rankings of each ballot's top choice candidates."
(let ((ranking '()))
(dolist (choice top-choices)
... | 2,718 | Common Lisp | .lisp | 66 | 36.575758 | 89 | 0.677005 | nshan651/rcv | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | f1e5c138d0e0da270b7ae4a90d79d69e59bdec8ee3e865b040df0392cbe72a41 | 44,202 | [
-1
] |
44,203 | election.lisp | nshan651_rcv/src/election.lisp | (in-package #:cl-user)
(defpackage #:rcv/election
(:use #:cl #:cl-csv)
(:export :get-ballots :get-candidates))
(in-package #:rcv/election)
(defun get-ballots (source)
"Read ballots from stdin or a file."
(let ((csv-str (if (and source (probe-file source))
(parse-namestring source)
(with-output-to... | 2,749 | Common Lisp | .lisp | 67 | 36.164179 | 83 | 0.630101 | nshan651/rcv | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | 20be303f63781435f06affdd6a45de2c0c16738be3cefa6b873cf0ee47ad5e6e | 44,203 | [
-1
] |
44,204 | rcv.lisp | nshan651_rcv/src/rcv.lisp | ;;;; Ranked choice voting.
;;;; https://en.wikipedia.org/wiki/Instant-runoff_voting
;;;; Python project for IRV: https://github.com/jontingvold/pyrankvote
(in-package #:cl-user)
(defpackage #:rcv
(:use #:cl #:clingon)
(:import-from :rcv/tournament
:tournament)
(:import-from :rcv/election
;; :election
:ge... | 2,245 | Common Lisp | .lisp | 76 | 25.868421 | 155 | 0.692557 | nshan651/rcv | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | 120a426a4b0623a6522d752c96354750f2cbf6f33f60a8bea04da47ee19af647 | 44,204 | [
-1
] |
44,205 | main.lisp | nshan651_rcv/t/main.lisp | (in-package #:cl-user)
(defpackage #:rcv/t/main
(:use #:cl
#:fiveam
#:rcv/stdin
#:rcv/tournament))
(in-package #:rcv/t/main)
(def-suite test-rcv
:description "Test rank choice voting.")
(in-suite test-rcv)
(defvar *ballots-str*
'(("Bush" "Nader" "Gore")
("Bush" "Nader" "Gore")
("Bush" "Nader")... | 1,275 | Common Lisp | .lisp | 45 | 24.577778 | 68 | 0.60834 | nshan651/rcv | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | f70b58c79eb79c5de0f73f98bab5d79f6bbe424bc26d1b017c74e7ada80ddb2b | 44,205 | [
-1
] |
44,206 | rcv.asd | nshan651_rcv/rcv.asd | (defsystem "rcv"
:author "nshan651 <public.nshan651.com>"
:license "AGPL 3.0"
:version "0.1"
:homepage "https://github.com/nshan651/rcv"
:bug-tracker "https://github.com/nshan651/rcv/issues"
:source-control (:git "git@github.com/nshan651/rcv.git")
:description "Ranked-choice voting command-line tool."
:... | 1,979 | Common Lisp | .asd | 62 | 26.790323 | 63 | 0.646259 | nshan651/rcv | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | ed2da9f65071f1c46cdad00acfd2b0632cb0444522af40e20f4361b4a2ce6ecc | 44,206 | [
-1
] |
44,208 | Makefile | nshan651_rcv/Makefile | # Binary executable
BIN := rcv
# Lisp implementation (default to sbcl).
LISP := sbcl
.PHONY: all clean install run uninstall
all:
$(LISP) --non-interactive \
--eval '(ql:quickload :rcv)' \
--eval '(asdf:make :rcv)'
run:
@ ./bin/$(BIN)
test:
$(LISP) --non-interactive --eval '(ql:quickload :rcv/tests)'
inst... | 510 | Common Lisp | .l | 20 | 23.5 | 62 | 0.677019 | nshan651/rcv | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | f9e9520db07f2e9014050d4a7f3b7ec0af9b326caf44ba1debd857abe4c3e677 | 44,208 | [
-1
] |
44,227 | main.lisp | lambdanil_not-clos/main.lisp | (load "not-clos.lisp")
(not-clos:make-object person ;; Create a new object person
;; The slots of this object
((name "unnamed") ;; We can set an initialization form for slot
year
(language (error "make-person: Missing required :name key")))) ;; initforms are ... | 2,452 | Common Lisp | .lisp | 40 | 55.825 | 139 | 0.67375 | lambdanil/not-clos | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | df49f4319c2d82ba3efd5a59971c1115863cd3f03681f83746215f343375ba61 | 44,227 | [
-1
] |
44,228 | not-clos.lisp | lambdanil_not-clos/not-clos.lisp | (defpackage :not-clos
(:use :cl)
(:nicknames :nclos)
(:export
#:where
#:make-object
#:object-type
#:self))
(in-package :not-clos)
;; Make the object slots (symbol-name (car
;; '(<object>-slot <object>-slot0)
(defmacro make-slots (object)
(let ((slots (symbol-append object '- 'slots)))
`(mapca... | 7,629 | Common Lisp | .lisp | 164 | 41.371951 | 106 | 0.632244 | lambdanil/not-clos | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | 3cb11e74634005556b69418462bb7f82560c25bba6ceb25b49c40e31f04e98a4 | 44,228 | [
-1
] |
44,247 | macrolayer.lisp | equwal_defsl/macrolayer.lisp | ;;; This file is meant to provide a macro layer for Sly and Slime
;;; This contains a few things:
;;; - 5AM is used for testing, but only if it is a *features* member.
;;; The abstraction gets more specific as you go to the end of the file.
(in-package :sl)
#+5am (defmacro show-bound (unbind predicate thing &body ... | 3,152 | Common Lisp | .lisp | 61 | 42.459016 | 102 | 0.624187 | equwal/defsl | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | 9489eadefd72b7473fe6f3040701869f5fe9431fdeb0a272de0d0304952bb477 | 44,247 | [
-1
] |
44,248 | utils.lisp | equwal_defsl/utils.lisp | (in-package :sl)
(eval-when (:compile-toplevel :load-toplevel :execute)
;; From Graham's OnLisp
(defun pack (obj)
"Ensure obj is a cons."
(if (consp obj) obj (list obj)))
(defun shuffle (x y)
"Interpolate lists x and y with the first item being from x."
(cond ((null x) y)
((null y) x)
... | 2,212 | Common Lisp | .lisp | 56 | 27.232143 | 80 | 0.500697 | equwal/defsl | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | da48e4c652b2468007f53642deb3fd8bd060d2b40231cf0f695dd91b89489d0d | 44,248 | [
-1
] |
44,249 | sl.lisp | equwal_defsl/sl.lisp | ;;; Provide least common denominator shared functionality between Sly and Slime.
(in-package :sl)
;(defequivsfn operator-arglist)
| 132 | Common Lisp | .lisp | 3 | 42.333333 | 80 | 0.811024 | equwal/defsl | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | 466f6c788225927c6a32eaf7ea5ebea380849f9f274201ab27a5315555b52aed | 44,249 | [
-1
] |
44,250 | sl.asd | equwal_defsl/sl.asd | (defpackage :sl-system (:use :cl :asdf))
(in-package :sl-system)
(defsystem :sl
:version "1.0"
:description "Wrapper for the lowest common denominator of Sly and Slime"
:author "Spenser Truex <truex@equwal.com>"
:serial t
:license "GNU GPL v3"
:components ((:file "package")
... | 473 | Common Lisp | .asd | 14 | 28.357143 | 76 | 0.593886 | equwal/defsl | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:48 AM (Europe/Amsterdam) | 8e0f02ad4f8d24b91f7923e85d2728a775517957fc163bb5a6e2fc8c426d044c | 44,250 | [
-1
] |
44,270 | minerva.lisp | maximinus_Minerva/minerva.lisp | ;;;; minerva.lisp
(asdf:load-asd #P"/home/sparky/data/code/Minerva/minerva.asd")
(ql:quickload "minerva")
(ql:quickload "minerva/tests")
;; now you can run a test with this syntax
;; (fiveam:run! 'minerva/tests::base-tests)
| 226 | Common Lisp | .lisp | 6 | 36.333333 | 62 | 0.733945 | maximinus/Minerva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | cf3be5f4ff5106a9c566913a6c6d428e39d81f5c7d4bd2cc7e6096af84dc892a | 44,270 | [
-1
] |
44,271 | package.lisp | maximinus_Minerva/test/package.lisp | ;; define test packages here
(defpackage :minerva/tests
(:use :cl :fiveam))
| 79 | Common Lisp | .lisp | 3 | 24.333333 | 28 | 0.733333 | maximinus/Minerva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | e47a6e6d2cf129076552415d6b735d6ab7d04fd4ffe2b47bd233044a43b557eb | 44,271 | [
-1
] |
44,272 | test-widgets.lisp | maximinus_Minerva/test/test-widgets.lisp | (in-package :minerva/tests)
(def-suite test-widgets
:description "Test the ColorRect")
(def-suite* test-colorrect :in test-widgets)
(test size-matches
(let ((foo (make-instance 'minerva:ColorRect :size (minerva::make-size 10 20))))
(is (and (equal (minerva::width (minerva::min-size foo)) 10)
(equal (m... | 552 | Common Lisp | .lisp | 11 | 46.909091 | 100 | 0.697761 | maximinus/Minerva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | f9b1eb66b15c756ae4231d515539031dbbe0062e333b17db62abda8a252291aa | 44,272 | [
-1
] |
44,273 | test-base.lisp | maximinus_Minerva/test/test-base.lisp | (in-package :minerva/tests)
(def-suite base-tests
:description "Test base helper classes")
(def-suite* test-expand :in base-tests)
(test expand-none-not-horizontal
(is (not (minerva:horizontal-expandp 'minerva:expand-none))))
(test expand-vertical-not-horizontal
(is (not (minerva:horizontal-expandp '... | 3,385 | Common Lisp | .lisp | 82 | 37.170732 | 71 | 0.676749 | maximinus/Minerva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | bfd074631eb01bd01888dec06b75d17b201af58991d0ae585313df06e291f430 | 44,273 | [
-1
] |
44,274 | test-containers.lisp | maximinus_Minerva/test/test-containers.lisp | (in-package :minerva/tests)
(def-suite test-containers
:description "Test all container widgets")
(def-suite* test-box :in test-containers)
(test widget-creation
(is (make-instance 'minerva:Box)))
(test empty-box-no-size
(let* ((foo (make-instance 'minerva:Box))
(widget-size (minerva::min-size foo)))
... | 1,723 | Common Lisp | .lisp | 36 | 44.194444 | 85 | 0.691711 | maximinus/Minerva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 70a3c7aa575e125cd7289fe3605d7f36d03dced415b3edee23129cc6d16cbb6f | 44,274 | [
-1
] |
44,275 | base_example.lisp | maximinus_Minerva/examples/base_example.lisp | (asdf:load-asd #P"/home/sparky/data/code/Minerva/minerva.asd")
(ql:quickload "sdl2")
(ql:quickload "sdl2-image")
(ql:quickload "sdl2-ttf")
(ql:quickload "minerva")
(in-package :minerva)
(defun single-colorrect-example ()
(let* ((crect (make-instance 'ColorRect :size (make-size 256 256) :color '(255 0 0 0)))
(exam... | 466 | Common Lisp | .lisp | 11 | 40.363636 | 89 | 0.716814 | maximinus/Minerva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | d5cdc98e9a1d5dd4b4b1c1e1216426d05cac9f60fe864854855add452035df47 | 44,275 | [
-1
] |
44,276 | package.lisp | maximinus_Minerva/src/package.lisp | ;; define the packages here
(defpackage :minerva
(:use :cl)
(:shadow :Position)
(:export
:Font :load-font :get-texture
:horizontal-expandp :vertical-expandp
:expand-horizontal :expand-vertical :expand-none :expand-both
:align-left :align-right :align-top :align-bottom :align-center
:Size :equal-si... | 415 | Common Lisp | .lisp | 16 | 22.4375 | 66 | 0.713568 | maximinus/Minerva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 1c0feab7066b3a532e399775f6fd2d390f347a169e7248c385f890d7eab81f41 | 44,276 | [
-1
] |
44,277 | main.lisp | maximinus_Minerva/src/main.lisp | (in-package :minerva)
(defun init-window ()
(sdl2:init)
(sdl2-ttf:init)
(sdl2:create-window :title "Minerva IDE"
:w 640
:h 480
:flags '(:shown)))
(defun draw-color (display)
(sdl2:fill-rect display
nil
(sdl2:map-rgb (sdl2:surface-format display) 255 0 0)))
(defun wait-for-keyp... | 2,004 | Common Lisp | .lisp | 57 | 31 | 84 | 0.66856 | maximinus/Minerva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 3f3454610404784b57f31a2a65a3ce7e3f57240b96e56012effcf22f9801791d | 44,277 | [
-1
] |
44,278 | widgets.lisp | maximinus_Minerva/src/widgets.lisp | ;; Simple widgets for the GUI
;; ColorRect is mainly used as a test widget
(in-package :minerva)
(defclass ColorRect (Widget)
((size :initarg :size :accessor size)
(color :initarg :color :accessor color)))
(defmethod min-size ((self ColorRect))
(size self))
(defmethod draw ((self ColorRect) new-size)
(setf... | 716 | Common Lisp | .lisp | 15 | 44.8 | 114 | 0.707317 | maximinus/Minerva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 9e40c013297a806153a61e2ed81531ba24aa8f3ea23f7cb58431e6ccab8ac6c2 | 44,278 | [
-1
] |
44,279 | base.lisp | maximinus_Minerva/src/base.lisp | (in-package :minerva)
(defconstant screen-width 640)
(defconstant screen-height 480)
(defclass Font ()
((sdl-font :initarg :sdl-font
:reader sdl-font)
(color :initarg :color
:accessor color))
(:default-initargs :color '(0 0 0 0)))
(defun load-font (font-name size)
;; given a path to a font, load ... | 5,890 | Common Lisp | .lisp | 142 | 38.056338 | 101 | 0.683409 | maximinus/Minerva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 8d5c3af0aad88cec3f3613b46919eb8d192534155927cbe9be3ae4e63fc9005e | 44,279 | [
-1
] |
44,280 | containers.lisp | maximinus_Minerva/src/containers.lisp | (in-package :minerva)
;; in addition to the base widgets, containers have the following additional properties
;; widgets: the widgets held by the container
;; and the following methods
;; add-widget: adds the widget to the container and sets its parent
(defclass Box (Widget)
;; box will display the first wi... | 7,302 | Common Lisp | .lisp | 160 | 41.59375 | 125 | 0.689389 | maximinus/Minerva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 163177a4400ef20aa2de445545b2c40378721babf6b238242bc60331c22de185 | 44,280 | [
-1
] |
44,281 | minerva.asd | maximinus_Minerva/minerva.asd | ;;;; minerva.asd - define all systems here
(asdf:defsystem "minerva"
:description "Minerva: The modern Lisp IDE"
:author "Chris Handy <maximinus@gmail.com>"
:license "GPL 3.0"
:version "0.0.1"
:serial t
:depends-on (:sdl2 :sdl2-ttf :sdl2-image)
:pathname "src/"
:components ((:file "package")
(:... | 745 | Common Lisp | .asd | 25 | 25.24 | 45 | 0.633194 | maximinus/Minerva | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | d842b80d481ac65f3bc77e504cb3fecfb8c95cbc30926a815b4e727134dc148e | 44,281 | [
-1
] |
44,309 | syncfile.lsp | KupipiKuki_BricsCAD_Lisp/syncfile.lsp | (defun jc:syncfile (fromDir toDir / fileList toFileList isDir fileItem cpType)
(setq isDir (vl-directory-files toDir))
(setq fileList ( vl-directory-files fromDir nil 1 ))
(if fileList
(progn
(if
(not
isDir
)
(progn
(vl-mkdir toDir)
(p... | 3,075 | Common Lisp | .l | 109 | 14.018349 | 125 | 0.368794 | KupipiKuki/BricsCAD_Lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | ad04763adc6cc297b831bec7d0efa80cd675d52de685e800bde9f618bb016dba | 44,309 | [
-1
] |
44,310 | FindRep.lsp | KupipiKuki_BricsCAD_Lisp/FindRep.lsp | ;By Jason Cheers
;
;Thanks for example source code:
;Lee Mac
;DannyNL @ AutoDesk Forums
;T.Willey @ AUGI Forums
;Help from many forum members accross multiple sites
;
; ************************************************************************
(defun c:FINDREP (oldStr newStr)
(setq ss(ssget ))
(JMC... | 7,080 | Common Lisp | .l | 146 | 41.828767 | 166 | 0.555459 | KupipiKuki/BricsCAD_Lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 9b8e53ebffba36d45dd6899bba8f5e05ca248a4dc167e92bf98a351b748fd28c | 44,310 | [
-1
] |
44,311 | setObjectColor.lsp | KupipiKuki_BricsCAD_Lisp/setObjectColor.lsp | ;By Jason Cheers
;
;Thanks for example source code:
;Lee Mac
;DannyNL @ AutoDesk Forums
;Help from many forum members accross multiple sites
;
; ************************************************************************
(defun LM:ApplytoBlockObjects ( blks name func / def result )
(setq func (eval func))
... | 4,654 | Common Lisp | .l | 153 | 24.261438 | 103 | 0.600491 | KupipiKuki/BricsCAD_Lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 92115bdd4c66b2875cdccaebc8c4188bc3e4c2c93c896d7d53d8bd4c7bf5f76a | 44,311 | [
-1
] |
44,312 | BlockExplode.lsp | KupipiKuki_BricsCAD_Lisp/BlockExplode.lsp | ;By Jason Cheers
;
;Thanks for example source code:
;Lee Mac
;DannyNL @ AutoDesk Forums
;T.Willey @ AUGI Forums
;Help from many forum members accross multiple sites
;
; ************************************************************************
(defun c:ESBLK ()
(setq ss(ssget ))
(JMC:ExplodeAll ss ... | 15,648 | Common Lisp | .l | 324 | 31.54321 | 176 | 0.496306 | KupipiKuki/BricsCAD_Lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | d5c4be912b8a549c464b7df96d56849fe3982c1007b7b9482e621cf203415905 | 44,312 | [
-1
] |
44,313 | copyPaste.lsp | KupipiKuki_BricsCAD_Lisp/copyPaste.lsp | (defun c:copyatt ( )
(setq ss(ssget ))
(JMC:COPYPASTE ss)
(princ)
)
(defun JMC:COPYPASTE ( SB_Selection / FA_BlkObject FA_Attributes FA_Return)
(setq SB_FoundSel (ssadd))
(setq SB_Count 0)
(setq SB_Max (sslength SB_Selection))
(while (< SB_Count SB_Max)
(setq SB_Ent (ssname SB_Selection SB_... | 943 | Common Lisp | .l | 30 | 25.133333 | 79 | 0.608123 | KupipiKuki/BricsCAD_Lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | caa9eb4ef26779b628f9de9fc4f8f4b21547212b1e76c2b1852f019e242542dc | 44,313 | [
-1
] |
44,314 | PurgeAll.lsp | KupipiKuki_BricsCAD_Lisp/PurgeAll.lsp | ;Modified by JCHEERS
;Written by Mark and Modified by Kevin Nehls on the Autodesk forums
;
;******************************************************************
(defun C:PURGEALL (/ Count ttlCount)
(setq Count 0)
(setq ttlCount 0 )
(while (/= 0
(setq Count
(
(lambda (/ Count)
(setq Count... | 750 | Common Lisp | .l | 36 | 15.805556 | 68 | 0.482517 | KupipiKuki/BricsCAD_Lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | bf3b4623dbd29e852f09022627d21fe2a9062b455d155890944c5034fb6245c9 | 44,314 | [
-1
] |
44,335 | scratch.lisp | kirollos-ha_lisp-html/scratch.lisp | (defstruct (tagspec
(:constructor tag))
"tutto quello che il sistema sa di una tag viene dallo struct tag associato, tutto"
;; poi allo struct andaranno aggiunte, tra le altre cose
;; - check da fare sui parametri alla generazione
;; - "hint" per la stampa, ovvero dove mettere i newline
;; - vedi poi
s... | 4,964 | Common Lisp | .lisp | 119 | 37.428571 | 298 | 0.656231 | kirollos-ha/lisp-html | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 9ab86696200e7a467e57731facf10c9c6a4cc973eb0a06ed4c7bb18e01e8e2d8 | 44,335 | [
-1
] |
44,352 | main.lisp | bmansurov_cl-foma/src/main.lisp | (defpackage cl-foma
(:use :cl)
(:export :make-fst
:apply-down
:apply-up
:apply-lower-words
:apply-upper-words
:apply-words
:apply-random-lower
:apply-random-upper
:apply-random-words))
(in-package :cl-foma)
(cffi:define-foreign... | 5,533 | Common Lisp | .lisp | 162 | 29.271605 | 70 | 0.670163 | bmansurov/cl-foma | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 337c4620f2c1450f0d629b7f9ec0c21497b69553281beb4ad5cd40a15f717513 | 44,352 | [
-1
] |
44,353 | main.lisp | bmansurov_cl-foma/tests/main.lisp | (defpackage cl-foma/tests/main
(:use :cl
:cl-foma
:rove))
(in-package :cl-foma/tests/main)
;; NOTE: To run this test file, execute `(asdf:test-system :cl-foma)' in your Lisp.
(deftest test-target-1
(testing "should (= 1 1) to be true"
(ok (= 1 1))))
| 276 | Common Lisp | .lisp | 9 | 26.777778 | 83 | 0.630189 | bmansurov/cl-foma | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | a8f8577b3ac825b9f0ed58c857c521ccb84e4c41c1088c96703f7855740d1739 | 44,353 | [
-1
] |
44,354 | cl-foma.asd | bmansurov_cl-foma/cl-foma.asd | (defsystem "cl-foma"
:version "0.1.0"
:author "bmansurov"
:license "lgpl-3"
:depends-on ("cffi")
:components ((:module "src"
:components
((:file "main"))))
:description "Common Lisp bindings for Foma"
:in-order-to ((test-op (test-op "cl-foma/tests"))))
(defsystem "cl-foma/... | 609 | Common Lisp | .asd | 20 | 24.15 | 55 | 0.576531 | bmansurov/cl-foma | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 08017c221ae208ea4e915d03665ce18f147485da6c56feb941121ce0abce959e | 44,354 | [
-1
] |
44,373 | essentials-of-lisp.md | Neshamon_simple-database/essentials-of-lisp.md | <a id="x-28SIMPLE-DB-3A-40ESSENTIALS-OF-LISP-20MGL-PAX-3ASECTION-29"></a>
<a id="SIMPLE-DB:@ESSENTIALS-OF-LISP%20MGL-PAX:SECTION"></a>
# Essentials of Lisp
## Table of Contents
- [1 The Basics][3e78]
- [2 The Basics of the Basics][77a6]
- [3 Flow of Execution][0fd9]
- [4 Symbols][b896]
###### \[in package SIMPLE-DB... | 10,622 | Common Lisp | .lisp | 181 | 54.966851 | 133 | 0.698244 | Neshamon/simple-database | 0 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | d03eb017c4bc446121a0bd465a2c86cc401863a7fbd9b2d4177b7b3f243d3770 | 44,373 | [
-1
] |
44,390 | main.lisp | fmqa_oascg/typescript/tests/main.lisp | (defpackage #:oascg-typescript-tests
(:use :cl :fiveam)
(:export #:run! #:oascg-typescript))
(in-package #:oascg-typescript-tests)
(def-suite oascg-typescript)
(in-suite oascg-typescript)
(test test-basic-types-any
(let* ((json "{}")
(ht (com.inuoe.jzon:parse json))
(schema (oascg-core:schem... | 6,675 | Common Lisp | .lisp | 110 | 53.290909 | 160 | 0.540024 | fmqa/oascg | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 616f31b5d89a50da66eb1e902b48adca9f24e10fe25fea62b677443855759e41 | 44,390 | [
-1
] |
44,391 | main.lisp | fmqa_oascg/core/src/main.lisp | ;; OAS CODE GENERATOR - CORE DATA STRUCTURES & FUNCTIONS
;;
;; This module contains functions for converting OAS structures to concrete COMMON LISP types.
;;
;; +--------------+-------------+------------------------+--------------------------------------+
;; |OAS TYPE |CLASS |SLOTS |DESCRI... | 19,367 | Common Lisp | .lisp | 414 | 41.140097 | 97 | 0.517046 | fmqa/oascg | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 9df9cdc4fc50eb8b111485bf0e3b6490dd43d372983e3b0a5672c2618130d5c0 | 44,391 | [
-1
] |
44,392 | main.lisp | fmqa_oascg/core/tests/main.lisp | (defpackage #:oascg-core-tests
(:use :cl :fiveam)
(:export #:run! #:oascg-core))
(in-package #:oascg-core-tests)
(def-suite oascg-core)
(in-suite oascg-core)
(test parse-unbounded-schema
(let* ((example-json "{}")
(oas-schema (com.inuoe.jzon:parse example-json))
(schema (oascg-core:schema-fr... | 6,394 | Common Lisp | .lisp | 121 | 44.68595 | 150 | 0.61799 | fmqa/oascg | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 3706b6619f674f19bcaacdc8fa921825ec2cf2612d4a99aff73b495d35c37219 | 44,392 | [
-1
] |
44,393 | oascg.asd | fmqa_oascg/oascg.asd | (defsystem "oascg"
:pathname "core"
:version "0.1.0"
:author ""
:license ""
:components ((:module "src" :components ((:file "main"))))
:in-order-to ((test-op (test-op "oascg/tests")))
:description ""
:long-description "")
(defsystem "oascg/tests"
:pathname "core"
:depends-on ("oascg" "com.inuoe.jzo... | 1,484 | Common Lisp | .asd | 42 | 30.761905 | 99 | 0.627955 | fmqa/oascg | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:51:56 AM (Europe/Amsterdam) | 624debd1eb0dc06e947ab027bb0ce5f6a6d9daa9ff5d8e6b353fd079c686a01a | 44,393 | [
-1
] |
44,412 | package.lisp | Neshamon_graphics-practice/package.lisp | (defpackage #:org.my.project
(:use #:cl+trial)
(:shadow #:main #:launch)
(:local-nicknames
(#:v #:org.shirakumo.verbose))
(:export #:main #:launch)) | 159 | Common Lisp | .lisp | 6 | 23.833333 | 33 | 0.636364 | Neshamon/graphics-practice | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:04 AM (Europe/Amsterdam) | 15a5972206530103ba3dd3ccbb149bfc6ee4e644cfb099d318c2099450e6aab4 | 44,412 | [
-1
] |
44,413 | keymap.lisp | Neshamon_graphics-practice/keymap.lisp | (in-package #:org.my.project)
(ql:quickload '(:trial :trial-glfw :trial-png))
(defclass main (trial:main)
())
(defun launch (&rest args)
(apply #'trial:launch 'main args))
(define-asset (trial cat) image
#p"cat.png")
(define-shader-entity my-cube (vertex-entity
textured-entity
... | 839 | Common Lisp | .lisp | 22 | 31.636364 | 65 | 0.629172 | Neshamon/graphics-practice | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:04 AM (Europe/Amsterdam) | c14c88d8f8dbf6b3da60e2ad5339b2afffdf0112b74fc5b9e250b32a57d7ed5b | 44,413 | [
-1
] |
44,414 | main.lisp | Neshamon_graphics-practice/main.lisp | (in-package #:org.my.project)
(ql:quickload '(:trial :trial-glfw :trial-png))
(defclass main (trial:main)
())
(setf +app-system+ "my-project")
(defun launch (&rest args)
(let ((*package* #.*package*))
(load-keymap)
(setf (active-p (action-set 'in-game)) T)
(apply #'trial:launch 'main args)))
(defin... | 1,014 | Common Lisp | .lisp | 27 | 31.518519 | 65 | 0.624744 | Neshamon/graphics-practice | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:04 AM (Europe/Amsterdam) | 8286f1319f8e5af693619496ce07bdc1e3321a8fbfd57a2f2953324a81dc5e3f | 44,414 | [
-1
] |
44,415 | my-project.asd | Neshamon_graphics-practice/my-project.asd | (asdf:defsystem my-project
:components ((:file "package")
(:file "main"))
:depends-on (:trial
:trial-glfw
:trial-png)) | 167 | Common Lisp | .asd | 6 | 18.833333 | 32 | 0.506173 | Neshamon/graphics-practice | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:04 AM (Europe/Amsterdam) | b43fb22c1ec5fb2b3613cdd62ddbe8640d1526d6232c17431450042d9cab8ab9 | 44,415 | [
-1
] |
44,434 | tagspec.lisp | alonzo-bazaar_xml-lisp/tagspec.lisp | #|
per attributes check possiamo fare qualcosa come
- nil-attribute
- non-nil-attribute
- no-attributes
- some-attributes
- attribute-among-options
(
e creare una funzione helper che si vede lei la rappresentazione interna, boh.
Je ne sais pas
|#
(in-package :tagspec)
(defstruct spec
name
closep
newline-before-... | 1,890 | Common Lisp | .lisp | 48 | 33.041667 | 135 | 0.662295 | alonzo-bazaar/xml-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 780f46b2e0dfcdace47584ae85e9b3c174167da4683d695fade57bb091af40dc | 44,434 | [
-1
] |
44,435 | xmlprint.lisp | alonzo-bazaar_xml-lisp/xmlprint.lisp | (in-package :xmlprint)
(defparameter *xml-out-stream* *standard-output*
"e con questa se mai dobbiamo fare rendering a stringa basterà fare (let (*xml-out-stream (make-string-out-stream-qualcosa ...)) (stampa roba a *xml-out-stream*))")
(defparameter *xml-line-empty-p* t)
(defparameter *xml-indentation* 0)
(defpara... | 1,176 | Common Lisp | .lisp | 33 | 30.606061 | 167 | 0.643172 | alonzo-bazaar/xml-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 166e136197211e83600c4a49d32382125a27c792126792bfb9662744a0c100b7 | 44,435 | [
-1
] |
44,436 | scratchpad.lisp | alonzo-bazaar_xml-lisp/scratchpad.lisp | (in-package :cl-user)
(defmacro paragraph (name)
`(xmltags:deftag ,name
:closep nil
:newline-after-open t
:newline-before-close t
:newline-after-close t))
(defmacro title (name)
`(oneline ,name))
(defmacro oneline (name)
`(xmltags:deftag ,name
:closep nil
:newline-after-open nil
... | 2,519 | Common Lisp | .lisp | 67 | 34.940299 | 175 | 0.755337 | alonzo-bazaar/xml-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 865aa30fac1c51bb4ba9a52a7bd157dc257f88cb5695964562fb315fdd2aabf1 | 44,436 | [
-1
] |
44,438 | tagenvs.lisp | alonzo-bazaar_xml-lisp/tagenvs.lisp | (in-package :tagenvs)
(defun downsym (sym) (string-downcase (symbol-name sym)))
;; for global tag definitions
(defmacro deftag (name &optional
(closep nil)
(newline-before-open nil)
(newline-after-open nil)
(newline-after-close nil))
`(defmacr... | 1,400 | Common Lisp | .lisp | 39 | 28.051282 | 83 | 0.57735 | alonzo-bazaar/xml-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 9cca755a1a2adeb57ff392a759f5f850d26dec058a8382a927da03ca663671c1 | 44,438 | [
-1
] |
44,439 | xmltags.lisp | alonzo-bazaar_xml-lisp/xmltags.lisp | ;;; questi poi andrò a metterli in altri package
;;; schema definition (an html schema, an svg schema, a dae schema, I dunno)
#|
lo schema includerà i tipi di tag, a ogni tag saranno associati flag quali :
- sono aperti o meno
- direttive di "pretty printing" (dove mettere i newline quando le stampi, opzionale, di defa... | 2,690 | Common Lisp | .lisp | 54 | 39.944444 | 267 | 0.602286 | alonzo-bazaar/xml-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 3f71a78797b3e6ac1c2234144c25aa874b4be08586641db3c8d6614292f04852 | 44,439 | [
-1
] |
44,440 | keyparse.lisp | alonzo-bazaar_xml-lisp/keyparse.lisp | ;;; tagbdy parsing
#|
that is, separating attributes (represented as &key args).
we'd like the tag children to be given in a &body argument for syntactic convenience
we'd also like to give tag attributes with a kwarg synthax, as it feels more natural
this works rather horrendously with cltl2 argument parsing, so gues... | 1,213 | Common Lisp | .lisp | 24 | 47.291667 | 249 | 0.713322 | alonzo-bazaar/xml-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 521f657222262408bd7ba57b5ddaa67bc7910e95b78c008f2ae748c53e887919 | 44,440 | [
-1
] |
44,441 | packages.lisp | alonzo-bazaar_xml-lisp/packages.lisp | (defpackage :keyparse
(:use :cl :cl-user)
(:export split-kwargs))
(defpackage :tagspec
(:use :cl :cl-user)
(:export
spec
;; cazzo bello esportare una struct
spec-name spec-closep
spec-newline-after-open spec-newline-before-close spec-newline-after-close
spec-attributes-check spec-body-check
... | 775 | Common Lisp | .lisp | 25 | 27.88 | 77 | 0.7214 | alonzo-bazaar/xml-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 7bba394fef7b967f66ed4f3cf6018e1f826e94c05c8d4f60e026e9d9a384a527 | 44,441 | [
-1
] |
44,442 | xmltags.asd | alonzo-bazaar_xml-lisp/xmltags.asd | (defsystem :xmltags
:description "write html with as much lisp as possible"
:version "0.0.2"
:author "Alonzo Bazaar <alonzo.lo.stronzo@protonmail.com>"
:components ((:file "packages")
(:file "keyparse" :depends-on ("packages"))
(:file "tagspec" :depends-on ("packages"))
... | 534 | Common Lisp | .asd | 11 | 38.636364 | 79 | 0.57935 | alonzo-bazaar/xml-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 9e1b0708be946b76eaa676d27c957e6a08f5354d9a6c94634b6733a332ca0b5b | 44,442 | [
-1
] |
44,444 | titolo.html | alonzo-bazaar_xml-lisp/titolo.html | <html>
<head>
<title>un blog stupido</title>
</head>
<body>
<h1>default title</h1>
<p>default paragraph</p>
</body>
</html>
| 124 | Common Lisp | .l | 9 | 12.777778 | 30 | 0.704348 | alonzo-bazaar/xml-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 341fb2fb327ae688ac25ba9d7a077f5a60c222dd82a454b1bd7b52a11cedad20 | 44,444 | [
-1
] |
44,447 | corpus.html | alonzo-bazaar_xml-lisp/corpus.html | <html>
<head>
<title>default title</title>
</head>
<body>
<h1>titolo di blog stupido</h1>
<p>mi sono alzato stamani, non ho gradito molto la cosa, ma cosa vogliamo farci, mi sono alzato, poi ho pisciato e mi sono fatto un caffe'</p>
</body>
</html>
| 249 | Common Lisp | .l | 9 | 26.666667 | 142 | 0.733333 | alonzo-bazaar/xml-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 988b2126972169bfe5d4de0412754f0f5d919d4ce4d9aeedf3a677e82f003996 | 44,447 | [
-1
] |
44,455 | the-power.html | alonzo-bazaar_xml-lisp/the-power.html | <html>
<head>
<title>un titolo interessante</title>
</head>
<body>
<h1>una mattina</h1>
<h2>mi sono alzato</h2>
<h3>o bella ciao</h3>
<ul>
<li>bella ciao</li>
<li>bella ciao, ciao, ciao</li>
</ul>
</body>
</html>
| 213 | Common Lisp | .l | 14 | 14.214286 | 37 | 0.683417 | alonzo-bazaar/xml-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 8370bc7d556802531e83be5573c23a69bc7cb825bf09c96feb29dd37d4a1c1e6 | 44,455 | [
-1
] |
44,456 | default.html | alonzo-bazaar_xml-lisp/default.html | <html>
<head>
<title>default title</title>
</head>
<body>
<h1>default title</h1>
<p>default paragraph</p>
</body>
</html>
| 122 | Common Lisp | .l | 9 | 12.555556 | 28 | 0.707965 | alonzo-bazaar/xml-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | fd0b9513ccd26f6807b00d2423d1b3582208cf3ae3fcbd284439e242d69c4871 | 44,456 | [
-1
] |
44,471 | example.lisp | alonzo-bazaar_xml-lisp-examples/blog-post/example.lisp | (in-package :tagenvs)
(defparameter *year-articles-alist* nil)
(defparameter *year-month-articles-alist* nil)
(defparameter *tag-articles-alist* nil)
(defparameter *blog-root-absolute-path*
(let ((blog-root-relative-path
(make-pathname :directory '(:relative "blog"))))
(merge-pathnames blog-root-relativ... | 9,676 | Common Lisp | .lisp | 198 | 34.621212 | 135 | 0.525747 | alonzo-bazaar/xml-lisp-examples | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 8e28837af1ac0089b781087fce4a0b20ef3cb2b2876e656d16c6dbbc5cec2c18 | 44,471 | [
-1
] |
44,472 | ussage.asd | alonzo-bazaar_xml-lisp-examples/blog-post/ussage.asd | #|
this system is one file
the whole point of this defsystem is making asdf load the xmltags package before loading the example usage file
|#
(defsystem :ussage ;; mispelling is intentional
:author "somebody that you used to know"
:license "GPLv2"
:version "0"
:depends-on ("xmltags")
:components ((:file "exam... | 328 | Common Lisp | .asd | 10 | 30.8 | 111 | 0.748428 | alonzo-bazaar/xml-lisp-examples | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | a5663366a8919d752280475ef02851fa5ab3699b1279f331738c1fc5f3b1f705 | 44,472 | [
-1
] |
44,475 | kitemmurt.html | alonzo-bazaar_xml-lisp-examples/blog-post/kitemmurt.html | <html>
<head>
<meta charset = "utf8"></meta>
<title>cristo</title>
</head>
<body>
<h1 class = "archive-head">cristo</h1>
<ul class = "archive-list">
<li>ma</li>
<li>che</li>
<li>bella</li>
<li>giovinezza</li>
</ul>
</body>
</html>
| 231 | Common Lisp | .l | 15 | 14.4 | 38 | 0.652778 | alonzo-bazaar/xml-lisp-examples | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:52:12 AM (Europe/Amsterdam) | 1be0ff240f21d273adca0c21f5a9e65bd395a3d4cbc39bc16993bb9e41088056 | 44,475 | [
-1
] |
44,490 | program_to_run.lisp | Volko76_Lisp-To-HTML/program_to_run.lisp | ; THIS IS THE PROGRAM TO RUN
(setq page '(html
(header
(title Marin Le BG du 64)
)
(body
(h1 Magnifique Homme)
(p Vaut 65 e chez amazon)
)
)
)
(defun make-html(L)
(dolist (element L)
(if (atom element)
(progn
... | 812 | Common Lisp | .lisp | 33 | 12.212121 | 48 | 0.37037 | Volko76/Lisp-To-HTML | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:21 AM (Europe/Amsterdam) | 2c98b7898dcd5e8d33eb24c97f0f9be1ea1e916f187e7da0fe655b3e55355500 | 44,490 | [
-1
] |
44,507 | tokenize-test.lisp | alexrudnick_nlp-sketches-lisp/tokenize-test.lisp | (load "~/quicklisp/setup.lisp")
;; is there a cleaner way to include this?
(load "tokenize.lisp")
(ql:quickload "1am")
(defpackage :tokenize-test (:use :cl :1am :tokenize))
(in-package :tokenize-test)
(defconstant *properly-split*
(list "this" "ought" "to" "return" "a" "list" "of" "words"))
(test split-by-space... | 873 | Common Lisp | .lisp | 22 | 32.454545 | 65 | 0.600711 | alexrudnick/nlp-sketches-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 6128b0aac7017ff3823c155a156955e9a7a3c516f6e9611a55a694d75b6e80e0 | 44,507 | [
-1
] |
44,508 | toktok-demo.lisp | alexrudnick_nlp-sketches-lisp/toktok-demo.lisp | (load "~/quicklisp/setup.lisp")
;; is there a cleaner way to include this?
(load "tokenize.lisp")
(defpackage :tokenize-demo (:use :cl :tokenize))
(in-package :tokenize-demo)
(loop for line = (read-line *standard-input* nil nil)
while line
do (progn
(tokenize::print-word-list (tokenize::toktok... | 339 | Common Lisp | .lisp | 9 | 33.777778 | 73 | 0.691131 | alexrudnick/nlp-sketches-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 65fdd2882c2e2c6360a786a5f4ea2a68689e95110a55e8dcb28f408f6942343d | 44,508 | [
-1
] |
44,509 | tokenize.lisp | alexrudnick_nlp-sketches-lisp/tokenize.lisp | ;; Say we wanted to write a nice tokenizer in Common Lisp.
;; The real goal will be to do something at least as nice as the Punkt
;; tokenizer in NLTK, and also the sent_tokenize function.
;; open question: What's the situation with Unicode in Common Lisp?
(load "~/quicklisp/setup.lisp")
(ql:quickload "cl-ppcre")
(a... | 2,792 | Common Lisp | .lisp | 64 | 39.4375 | 80 | 0.505353 | alexrudnick/nlp-sketches-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 0ccda362a91d0f56c89af6d9df7a0b8d99c7df6a8edc5f6cbb8736ac56116ddf | 44,509 | [
-1
] |
44,510 | toktok-test.lisp | alexrudnick_nlp-sketches-lisp/toktok-test.lisp | (load "~/quicklisp/setup.lisp")
;; is there a cleaner way to include this?
(load "tokenize.lisp")
(ql:quickload "1am")
(defpackage :tokenize-test (:use :cl :1am :tokenize))
(in-package :tokenize-test)
(defconstant *dr-bob-joined*
"They thought, \"Is 9.5 or 525,600 my favorite number?\" before seeing Dr. Bob... | 3,110 | Common Lisp | .lisp | 56 | 51.785714 | 174 | 0.658504 | alexrudnick/nlp-sketches-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 982249ea3b6ece2a831936c15293bacf06d847906aa68e2f8f7909941bc6c247 | 44,510 | [
-1
] |
44,511 | toktok-patterns.lisp | alexrudnick_nlp-sketches-lisp/toktok-patterns.lisp | (defconstant *ampercent*
'("& "
. "& "))
(defconstant *close-punct-re*
'("([\\p{Close_Punctuation}])"
. "\\1 "))
(defconstant *comma-in-num*
'("(?<!,)([,،])(?![,\\d])"
. " \\1 "))
(defconstant *currency-sym-re*
'("([\\p{Currency_Symbols}])"
. "\\1 "))
(defconstant *en-em-dashes*
'(... | 2,484 | Common Lisp | .lisp | 104 | 18.375 | 80 | 0.460738 | alexrudnick/nlp-sketches-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 6e8d4ae35e9b86e654d209ba2edf3c771a444719197e5f613229d48474540ddb | 44,511 | [
-1
] |
44,512 | cfg.lisp | alexrudnick_nlp-sketches-lisp/cfg.lisp | ;;; This could be improved quite a lot.
(defvar *grammar-rules*
'((S -> NP VP)
(VP -> V NP)
(VP -> VP PP)
(NP -> NP PP)
(NP -> NP NP)
(PP -> P NP)))
(defvar *pos-rules*
'((NP -> "people")
(NP -> "fish")
(NP -> "tanks")
(NP -> "rods")
(V -> "people")
(V -> "fish")
(V... | 5,515 | Common Lisp | .lisp | 132 | 33.174242 | 81 | 0.540303 | alexrudnick/nlp-sketches-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | e2c51e838bcf794989fdeb79c378a1496574d3b7ef368ba0d45759110b6143da | 44,512 | [
-1
] |
44,513 | gameoflife.lisp | alexrudnick_nlp-sketches-lisp/other-sketches/gameoflife.lisp | ;; Game Of Life in Common Lisp
;; Isak Falk & Alex Rudnick, pair programming!
;; Very slightly cleaned up by Alex Rudnick after the fact.
;; Common Lisp has multidimensional arrays.
(defun create-board (size)
(make-array (list size size)))
(defun create-oscillator-board ()
(let ((output (create-board 5)))
(pr... | 2,515 | Common Lisp | .lisp | 68 | 29.455882 | 77 | 0.579055 | alexrudnick/nlp-sketches-lisp | 0 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 17c36ee7e2088aee9e13109f903cc0b7ea21822a1ac8ba861aefd511d4a01999 | 44,513 | [
-1
] |
44,536 | gstreamer.lisp | bohonghuang_cl-gstreamer/gstreamer.lisp | ;;;; gstreamer.lisp
;;;; Copyright (C) 2023 Bohong Huang
;;;;
;;;; This program is free software: you can redistribute it and/or modify
;;;; it under the terms of the GNU Lesser General Public License as published by
;;;; the Free Software Foundation, either version 3 of the License, or
;;;; (at your option) any later... | 1,309 | Common Lisp | .lisp | 33 | 37.909091 | 80 | 0.726841 | bohonghuang/cl-gstreamer | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 56bfe4984232e7ff2580d111befbf39db9c1ba0517459ab03078f5dd77710a70 | 44,536 | [
-1
] |
44,537 | cl-gstreamer.asd | bohonghuang_cl-gstreamer/cl-gstreamer.asd | (defsystem cl-gstreamer
:version "1.0.0"
:author "Bohong Huang <1281299809@qq.com>"
:maintainer "Bohong Huang <1281299809@qq.com>"
:license "lgpl3"
:description "GStreamer bindings for Common Lisp."
:homepage "https://github.com/bohonghuang/cl-gstreamer"
:bug-tracker "https://github.com/bohonghuang/cl-gst... | 855 | Common Lisp | .asd | 19 | 40.684211 | 79 | 0.699401 | bohonghuang/cl-gstreamer | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 252ab0a10a055cb92dcc04b7b5805cc7d76e1006da8479647f193e4d598f7fed | 44,537 | [
-1
] |
44,555 | model.lisp | cadrgtsecond_cl-trello/src/model.lisp | (defpackage cl-trello.model
(:use :cl :sxql)
(:documentation "Structs and functions to pull data from the database")
(:export todo
get-todos
reorder-todos
create-todo
todo-desc
todo-order
todo-group
group-desc
group-id))
(in-p... | 3,256 | Common Lisp | .lisp | 91 | 29.142857 | 87 | 0.599683 | cadrgtsecond/cl-trello | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 24a4e823fe132c9708f9f168faba5ad31eb070a71b000f9d06c09b33a25b13d2 | 44,555 | [
-1
] |
44,556 | main.lisp | cadrgtsecond_cl-trello/src/main.lisp | (defpackage cl-trello
(:use :cl :iterate)
(:local-nicknames (:model cl-trello.model)
(:templates cl-trello.templates)
(:a alexandria)))
(in-package :cl-trello)
(defvar *app* (make-instance 'ningle:app))
;; Serve css
(setf (ningle:route *app* "/css/index.css")
(lambda (par... | 2,296 | Common Lisp | .lisp | 58 | 34.086207 | 86 | 0.612657 | cadrgtsecond/cl-trello | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 92fbe142b9b0f40ba58225be4860310034667c74afcbd069b724ed15a2993cd7 | 44,556 | [
-1
] |
44,557 | templates.lisp | cadrgtsecond_cl-trello/src/templates.lisp | (defpackage cl-trello.templates
(:use :cl :iter :defcss)
(:local-nicknames (:a :alexandria)
(:model :cl-trello.model))
(:export todo-element index *index.css*))
(in-package cl-trello.templates)
(push "hx-" spinneret:*unvalidated-attribute-prefixes*)
(push "js-" spinneret:*unvalidated-attribut... | 4,221 | Common Lisp | .lisp | 125 | 28.232 | 98 | 0.607617 | cadrgtsecond/cl-trello | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 9885a688ad6c98a0b60d028fd27d99cd80c6808aeaada7f62914649d1dad2e8f | 44,557 | [
-1
] |
44,558 | cl-trello.asd | cadrgtsecond_cl-trello/cl-trello.asd | (in-package :asdf-user)
(defsystem "cl-trello"
:description "A clone of Trello with Common Lisp and HTMX"
:author "Abhinav Krishna <abhinavkrishnacr2020@gmail.com>"
:version "0.0.1"
:depends-on (defcss spinneret ningle clack mito iterate alexandria str)
:components ((:module "src"
:serial t
... | 453 | Common Lisp | .asd | 12 | 29 | 73 | 0.597727 | cadrgtsecond/cl-trello | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | e743c8fdd4b7413fc4600cff12977dcb9822487181a302359035a3a54671d6b1 | 44,558 | [
-1
] |
44,561 | schema.sql | cadrgtsecond_cl-trello/schema.sql | PRAGMA recursive_triggers = 1;
create trigger update_todo_order before update of "order" on todo
begin
update todo set "order" = "order" + 1
where "order" = new."order" and "group" = new."group";
end;
create trigger insert_todo_order before insert on todo
begin
update todo set "order" = "order" + 1
... | 468 | Common Lisp | .l | 12 | 36 | 83 | 0.676923 | cadrgtsecond/cl-trello | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 6ac14b1c099d7de3ddb1afafaf4589d9b64b563b26ec2a1985836ca050084554 | 44,561 | [
-1
] |
44,565 | sortable.js | cadrgtsecond_cl-trello/vendor/sortable.js | /*! Sortable 1.15.0 - MIT | git://github.com/SortableJS/Sortable.git */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Sortable=e()}(this,function(){"use strict";function e(e,t){var n,o=Object.keys(e);return Object.getOw... | 44,136 | Common Lisp | .l | 2 | 22,067.5 | 44,064 | 0.70128 | cadrgtsecond/cl-trello | 0 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:52:29 AM (Europe/Amsterdam) | 638456f130bd31396968106042926bb3530a4d5411f0d69c2fb154c4bc2ff06a | 44,565 | [
-1
] |
44,580 | package.lisp | lost-rob0t_star-cl/src/package.lisp | (in-package :cl-user)
(uiop:define-package :starintel
(:nicknames :spec)
(:import-from :alexandria :flatten)
(:use :cl)
(:export
#:add-inscope
#:address
#:address-city
#:address-country
#:address-postal
#:address-state
#:address-street
#:address-street2
#:add-scope
#:asn
#:asn-n... | 2,846 | Common Lisp | .lisp | 158 | 14.075949 | 37 | 0.637277 | lost-rob0t/star-cl | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | c1d4c2f8b6bdb7e45434a562af6906d711198e9c66e01b0730a4bb691255f5ff | 44,580 | [
-1
] |
44,581 | entities.lisp | lost-rob0t_star-cl/src/entities.lisp | (in-package :starintel)
;; WARNING DEVIATION FROM SPEC!!!!!!!
;; (defclass entity (document)
;; ())
(defclass person (document)
((fname :accessor person-fname :type string :initarg :fname :initform "")
(mname :accessor person-mname :type string :initarg :mname :initform "")
(lname :accessor person-lname :... | 2,127 | Common Lisp | .lisp | 40 | 49.8 | 93 | 0.704721 | lost-rob0t/star-cl | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 43e72417b77f558d969f41c33de52933a3c8de6ae651b4b55ecbf7dc354f6fc5 | 44,581 | [
-1
] |
44,582 | locations.lisp | lost-rob0t_star-cl/src/locations.lisp | (in-package :starintel)
(defclass geo (document)
((lat :accessor geo-lat :type float64 :initarg :lat :initform 0.0)
(long :accessor geo-long :type float64 :initarg :long :initform 0.0)
(alt :accessor geo-alt :type float64 :initarg :alt :initform 0.0)))
(defclass address (geo)
((city :accessor address-city :... | 1,527 | Common Lisp | .lisp | 38 | 34.157895 | 82 | 0.655428 | lost-rob0t/star-cl | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 69e0129ec6f55a15c3c4ae7b7ae16fd304ad62ad5c8debb9c6f464a2dfdc90cf | 44,582 | [
-1
] |
44,583 | define.lisp | lost-rob0t_star-cl/src/define.lisp | (in-package :starintel)
(defun create (type &rest args)
(apply #'make-instance type args))
(defun -> (source target &optional note)
(let* ((source-doc (apply (car source) (cdr source)))
(target-doc (apply (car target) (cdr target)))
(relation
(make-instance 'relation :source (d... | 759 | Common Lisp | .lisp | 19 | 32 | 63 | 0.607978 | lost-rob0t/star-cl | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | fab5ad67be25c027e87daec8d9d630f4ad5647464a0b80fb705d7f0f752b7fa6 | 44,583 | [
-1
] |
44,584 | phones.lisp | lost-rob0t_star-cl/src/phones.lisp | (in-package :starintel)
(defclass phone (document)
((number :accessor phone-number :type string :initarg :number :initform "")
(carrier :accessor phone-carrier :type string :initarg :carrier :initform "")
(status :accessor phone-status :type string :initarg :status :initform "")
(phone-type :accessor phone-... | 617 | Common Lisp | .lisp | 14 | 40.214286 | 85 | 0.702838 | lost-rob0t/star-cl | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 57f9b4ac132ed68c2b1225e0cae98a26f6ab11275789242eaf03e0a9f37116fb | 44,584 | [
-1
] |
44,585 | targets.lisp | lost-rob0t_star-cl/src/targets.lisp | (in-package :starintel)
(defclass target (document)
((actor :accessor target-actor :type string :initarg :actor :initform "")
(target :accessor target-target :type string :initarg :target :initform "")
(delay :accessor target-delay :type integer :initform 0 :initarg :delay)
(recurring :accessor target-recur... | 1,138 | Common Lisp | .lisp | 20 | 49.9 | 149 | 0.693141 | lost-rob0t/star-cl | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 1a1255df813f8654d89984cc95a4d503174b78c8d265a1229b4f0a1432188df7 | 44,585 | [
-1
] |
44,586 | web.lisp | lost-rob0t_star-cl/src/web.lisp | (in-package :starintel)
(defclass breach (document)
((total :accessor breach-total :type int :initarg :total :initform 0)
(description :accessor breach-description :type string :initarg :description :initform "")
(url :accessor breach-url :type string :initarg :url :initform "")))
(defclass email (document)
... | 2,831 | Common Lisp | .lisp | 59 | 42.711864 | 93 | 0.677677 | lost-rob0t/star-cl | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 6cd1ab7c9ed63d2cff11dead34abc5b6d7db96e9b547efeb21f4d872ad40bda6 | 44,586 | [
-1
] |
44,587 | relations.lisp | lost-rob0t_star-cl/src/relations.lisp | (in-package :starintel)
(defclass relation (document)
((source :accessor relation-source :type string :initarg :source :initform "")
(target :accessor relation-target :type string :initarg :target :initform "")
(note :accessor relation-note :type string :initarg :note :initform "")))
(defmethod set-id ((doc r... | 582 | Common Lisp | .lisp | 12 | 45.333333 | 103 | 0.736749 | lost-rob0t/star-cl | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | cdfd3310b6e775eb04b552d252df34a965a469413707106c79c63eadb75d7697 | 44,587 | [
-1
] |
44,588 | social-media.lisp | lost-rob0t_star-cl/src/social-media.lisp | (in-package :starintel)
(defclass message (document)
((message :accessor message-content :type string :initarg :content :initform "")
(platform :accessor message-platform :type string :initarg :platform :initform "")
(user :accessor message-user :type string :initarg :user :initform "")
(is-reply :accessor ... | 2,820 | Common Lisp | .lisp | 49 | 52.22449 | 103 | 0.704455 | lost-rob0t/star-cl | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 6d97e06c85e4d75aed580dc1f66c32f2aadce50b6da02c651082af4fc70c9689 | 44,588 | [
-1
] |
44,589 | hosts.lisp | lost-rob0t_star-cl/src/hosts.lisp | (in-package :starintel)
(defclass domain (document)
((record-type :accessor domain-record-type :type string :initarg :record-type :initform "")
(record :accessor domain-record :type string :initarg :record :initform "")
(resolved-addresses :accessor domain-resolved :type list :initarg :resolved)))
(defclass s... | 2,731 | Common Lisp | .lisp | 66 | 38.121212 | 93 | 0.699623 | lost-rob0t/star-cl | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 3e9808609500330690596eb880b2daad488786a811aafb9a99fb319d4c8cf3bf | 44,589 | [
-1
] |
44,590 | starintel.asd | lost-rob0t_star-cl/src/starintel.asd | (asdf:defsystem :starintel
:description "Star Intel is a document Spec for handling osint data"
:author "nsaspy"
:license "LGLv3"
:version "0.7.2"
:serial t
:depends-on (#:jsown #:ironclad #:local-time #:cms-ulid)
:components ((:file "package")
(:file "documents")
(:file "ent... | 563 | Common Lisp | .asd | 17 | 23.352941 | 70 | 0.512821 | lost-rob0t/star-cl | 0 | 0 | 0 | LGPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 58301f83c6168ac1a079d139440aaa59a5bde6fc677f52fa5750c7b99d77392e | 44,590 | [
-1
] |
44,632 | day3.lisp | blake-watkins_advent-of-code-2023/day3.lisp | (in-package :aoc-2023)
(defun parse-indexed-number ()
(with-monad
(assign start-rc (parse-rc-get-rc))
(assign num (lift-parser-rc (with-monad
(assign digits (one-or-more (parse-digit)))
(unit (digits-to-int digits :base 10)))))
(assign end-rc (parse-rc-get-rc))
(unit (list :number (list s... | 2,171 | Common Lisp | .lisp | 61 | 31.262295 | 71 | 0.649382 | blake-watkins/advent-of-code-2023 | 0 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 9d0e3a53126c3bc2930064c8747b315b22b8a73f16bb38e7853bb77ac7581da1 | 44,632 | [
-1
] |
44,633 | day12.lisp | blake-watkins_advent-of-code-2023/day12.lisp | (in-package :aoc-2023)
(defun parse-file ()
(parse-lines
(with-monad
(assign springs (one-or-more
(either (then (parse-character #\.) (unit :works))
(then (parse-character #\#) (unit :damaged))
(then (parse-character #\?) (un... | 2,157 | Common Lisp | .lisp | 49 | 35.163265 | 82 | 0.596859 | blake-watkins/advent-of-code-2023 | 0 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 9b0338b405961226f2ccc7165f0b33b52991fba795b8e10924145ebc9873e3ce | 44,633 | [
-1
] |
44,634 | day16.lisp | blake-watkins_advent-of-code-2023/day16.lisp | (in-package :aoc-2023)
(defun parse-file ()
(parse-lines (one-or-more (parse-character ".#/\\|-"))))
(defparameter *directions*
'((:north (-1 0)) (:east (0 1)) (:south (1 0)) (:west (0 -1))))
(defun next-square (pos dir)
(list (point+ pos (second (assoc dir *directions*))) dir))
(defun turn (dir c-cw)
(firs... | 2,327 | Common Lisp | .lisp | 60 | 33.066667 | 78 | 0.578201 | blake-watkins/advent-of-code-2023 | 0 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | df67218579e8f6df0ca65e4961209d4c2f7906ec4088ac74662fc663dd4c5f62 | 44,634 | [
-1
] |
44,635 | package.lisp | blake-watkins_advent-of-code-2023/package.lisp | (defpackage :advent-of-code-2023
(:nicknames :aoc-2023)
(:use :cl :aoc :iterate)
(:shadowing-import-from :fset :reverse :size :convert :set :set-difference :seq :subseq)
(:import-from :fset :concat :empty-set :empty-map :domain-contains? :lookup :contains? :includef :arb))
| 283 | Common Lisp | .lisp | 5 | 53.8 | 105 | 0.714801 | blake-watkins/advent-of-code-2023 | 0 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | a6a08cfebc82a1c5f545efbf7b5360ffea677f23100d9ef30b81c99ff4b9d06c | 44,635 | [
-1
] |
44,636 | day21.lisp | blake-watkins_advent-of-code-2023/day21.lisp | (in-package :aoc-2023)
(defun parse-file ()
(parse-lines (parse-list (parse-character ".#S") "")))
(defparameter *directions* '((1 0) (-1 0) (0 1) (0 -1)))
(defun get-neighbours (square map)
(iter
(for direction in *directions*)
(for neighbour = (point+ square direction))
(for neighbour-char = (getha... | 1,180 | Common Lisp | .lisp | 29 | 34 | 74 | 0.616391 | blake-watkins/advent-of-code-2023 | 0 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 6fa47e966cc47074d4aa48ff4e62bc7771dc98a3fe9a15162c43e8bea330e0f5 | 44,636 | [
-1
] |
44,637 | day22.lisp | blake-watkins_advent-of-code-2023/day22.lisp | (in-package :aoc-2023)
(defun vertical< (a b)
(< (apply #'min (mapcar #'third a)) (apply #'min (mapcar #'third b))))
(defun xy-squares (brick)
(let ((mins (mapcar #'min (first brick) (second brick)))
(maxes (mapcar #'max (first brick) (second brick))))
(iter outer
(for x from (first mins) to (fi... | 3,606 | Common Lisp | .lisp | 85 | 32.647059 | 92 | 0.569152 | blake-watkins/advent-of-code-2023 | 0 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | cfc4c74013792ef57a94c91205731579dad6c42df58317a44aa71ed35de02b92 | 44,637 | [
-1
] |
44,638 | day13.lisp | blake-watkins_advent-of-code-2023/day13.lisp | (in-package :aoc-2023)
(defun parse-file ()
(one-or-more
(with-monad
(assign ret (parse-lines (one-or-more (parse-character "#."))))
(parse-newline)
(parse-newline)
(unit ret))))
(defun find-vertical-reflection (map)
(iter
(for reflect from 1 below (length (first map)))
(when
... | 2,284 | Common Lisp | .lisp | 59 | 30.152542 | 100 | 0.531109 | blake-watkins/advent-of-code-2023 | 0 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 2a22a81bb3b39c8332ebc0e860cd3644436c6cba240f738d38b74b90337c4cc3 | 44,638 | [
-1
] |
44,639 | day5.lisp | blake-watkins_advent-of-code-2023/day5.lisp | (in-package :aoc-2023)
(defun parse-map ()
(with-monad
(parse-keyword #'alphanumericp)
(parse-string "-to-")
(parse-keyword #'alphanumericp)
(parse-string " map:")
(parse-newline)
(assign ranges (parse-lines (parse-list (parse-number) (parse-space))))
(parse-newline)
(parse-newline)
... | 2,578 | Common Lisp | .lisp | 71 | 31.408451 | 81 | 0.6492 | blake-watkins/advent-of-code-2023 | 0 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 6290f27a57e59dc971bed9c21f598c2ad95328620b8cb58d29b5f77d7ca148e1 | 44,639 | [
-1
] |
44,640 | day19.lisp | blake-watkins_advent-of-code-2023/day19.lisp | (in-package :aoc-2023)
(defun parse-name ()
(parse-keyword #'alpha-char-p))
(defun parse-rule ()
(either (with-monad
(assign part-name (parse-name))
(assign op (parse-character "><"))
(assign val (parse-number))
(parse-character ":")
(assign dest (parse-... | 4,185 | Common Lisp | .lisp | 101 | 33.742574 | 101 | 0.615139 | blake-watkins/advent-of-code-2023 | 0 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:52:37 AM (Europe/Amsterdam) | 4d4cac539ed337597c6cd92382632488bbd15f496c67c0c95178b1ae85077181 | 44,640 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.