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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
18,652 | racollector | hbock_periscope/racollector | #!/bin/bash
# Periscope - Network auditing tool
# Copyright (C) 2009 Harry Bock <harry@oshean.org>
# This file is part of Periscope.
# periscope 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... | 2,654 | Common Lisp | .l | 67 | 37.522388 | 86 | 0.713175 | hbock/periscope | 3 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 7023dfea55e3846fac1ae61aec8c0b21575ca24d04701ff2c63568db01770b0c | 18,652 | [
-1
] |
18,656 | Makefile | hbock_periscope/lisp/Makefile | # Find suitable lisp for building Periscope.
ifeq (${LISP},)
ifeq ($(strip $(shell which clbuild)),)
LISP = sbcl
else
LISP = clbuild lisp
endif
endif
all: periscope
# TODO: Make this portable across Lisp implementations.
periscope: *.lisp
${LISP} --load "build.lisp" --eval "(build-periscope)"
@echo "B... | 371 | Common Lisp | .l | 15 | 22.4 | 55 | 0.708215 | hbock/periscope | 3 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 7b15dc1807ec997015c4998efc93a84f8e405885c9f2b16e0fc99c067207da4d | 18,656 | [
-1
] |
18,688 | package.lisp | ex7763_oxalis/src/package.lisp | ;;;; package.lisp
(defpackage #:oxalis
(:use #:cl+qt #:alexandria)
(:export :main))
(in-package #:oxalis)
(defparameter *application-root* (asdf:system-source-directory :oxalis))
(defparameter *images-directory* (merge-pathnames #P"images/" *application-root*))
(defparameter *figure-images-directory* (merge-path... | 529 | Common Lisp | .lisp | 11 | 43.636364 | 89 | 0.745868 | ex7763/oxalis | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | cda695d524abcdcbc823a8b5f6d09b4ad60452fa0a3018cc453e120404e45116 | 18,688 | [
-1
] |
18,689 | oxalis.lisp | ex7763_oxalis/src/oxalis.lisp | ;;;; oxalis.lisp
(in-package #:oxalis)
(in-readtable :qtools)
(defvar *qmessagebox-yes* 16384) ;; (#_QMessageBox::Yes)
(defvar *qmessagebox-no* 65536) ;; (#_QMessageBox::No)
(defvar *window-height* 128)
(defvar *window-width* 128)
(defvar *window-flags* (logior
(enum-value (#_Qt::FramelessWi... | 8,566 | Common Lisp | .lisp | 207 | 33.024155 | 114 | 0.609313 | ex7763/oxalis | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 30ad8432366907d3a048a221fcfb71aede12c1ee4ebece36e193ca4c35263e5f | 18,689 | [
-1
] |
18,690 | lang.lisp | ex7763_oxalis/src/lang.lisp | (in-package #:oxalis)
;; Support list:
;; 繁體中文 :traditional-chinese
;; English :english
(defparameter ==language== :traditional-chinese)
;; config.lisp
(defvar =config=)
(defvar =all-config=)
;; oxalis.lisp
(defvar =about=)
(defvar =description=)
(defvar =homepage=)
(defvar =author=)
(defvar =author-name=)
(defvar =... | 1,463 | Common Lisp | .lisp | 51 | 22.215686 | 72 | 0.625 | ex7763/oxalis | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 7adc47b61349f3f018c24fccaef9163088f4841eb0a347ef898cc42edfa7e580 | 18,690 | [
-1
] |
18,691 | config.lisp | ex7763_oxalis/src/config.lisp | (in-package #:oxalis)
(in-readtable :qtools)
(defclass menu-config ()
((act-all :accessor act-all)
)
(:metaclass qt-class)
(:qt-superclass "QMenu")
(:slots
("menu_config_page()" menu-config-page)))
(defmethod initialize-instance :after ((instance menu-config) &key)
(new instance)
(#_setTitle instan... | 3,010 | Common Lisp | .lisp | 74 | 31.148649 | 76 | 0.596427 | ex7763/oxalis | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 2892ceb028a407a439497f2a67aed4ea1a08dfd22859533184a79ba4a43fa41c | 18,691 | [
-1
] |
18,692 | oxalis.asd | ex7763_oxalis/oxalis.asd | ;;;; oxalis.asd
(asdf:defsystem #:oxalis
:description "A Desktop pet is written in common lisp and Qt4."
:author "Hsu, Po-Chun"
:homepage "https://github.com/ex7763/oxalis"
:license "GPLv3"
:version "0.1.2"
:serial t
:defsystem-depends-on (:qtools)
:depends-on (:qtcore
:qtgui
... | 723 | Common Lisp | .asd | 22 | 21.909091 | 65 | 0.503566 | ex7763/oxalis | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | d4466919cf4a66e9a51c24d53bdfcd8ef3770dbba5c5de49b450265530096b1a | 18,692 | [
-1
] |
18,695 | .travis.yml | ex7763_oxalis/.travis.yml | language: common-lisp
sudo: false
env:
global:
- PATH=~/.roswell/bin:$PATH
- ROSWELL_INSTALL_DIR=$HOME/.roswell
matrix:
- LISP=sbcl-bin
install:
- curl -L https://raw.githubusercontent.com/roswell/roswell/release/scripts/install-for-ci.sh | sh
cache:
directories:
- $HOME/.roswell
- $HOME... | 549 | Common Lisp | .l | 23 | 20.73913 | 100 | 0.694818 | ex7763/oxalis | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | f3088a8e35910f0002ad793a1410e63522f9b17b945dfecea4da7a87a4951623 | 18,695 | [
-1
] |
18,696 | makefile | ex7763_oxalis/makefile | LISP ?= sbcl
all:
$(LISP) --eval '(ql:quickload :oxalis)' \
--eval '(oxalis:main)' \
--eval '(quit)'
add:
git add -A
push:
git push -u origin master
clean:
rm -rf *~
| 180 | Common Lisp | .l | 11 | 14.090909 | 42 | 0.612121 | ex7763/oxalis | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 4439cc1b8ad989f6e2267dd82a4903a37ae2f1baa8b2939f1cb9ed07bd8eb951 | 18,696 | [
-1
] |
18,697 | oxalis.svg | ex7763_oxalis/images/oxalis.svg | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns... | 4,577 | Common Lisp | .l | 87 | 46.62069 | 448 | 0.676543 | ex7763/oxalis | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 4c3d5717a11bc8990429122ab80feadfb1a1441fceae8d487b2173b348ad9176 | 18,697 | [
-1
] |
18,702 | oxalis.ros | ex7763_oxalis/roswell/oxalis.ros | #!/bin/sh
#|-*- mode:lisp -*-|#
#|
exec ros -Q -- $0 "$@"
|#
(progn ;;init forms
(ros:ensure-asdf)
#+quicklisp (ql:quickload '(:oxalis) :silent t)
)
(defpackage #:ros/script/oxalis
(:use :cl))
(in-package #:ros/script/oxalis)
(defun main (&rest argv)
(declare (ignorable argv))
(oxalis:main))
;;; vim: set ... | 334 | Common Lisp | .l | 16 | 19 | 49 | 0.629747 | ex7763/oxalis | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 2a5baa5cc7100791abba7bba6b640f7bbb542a731150c4f4676b9e6d853dd380 | 18,702 | [
-1
] |
18,717 | 08.lisp | atgreen_advent-of-code-2020/08.lisp | ;;; Advent Of Code 2020 - Day 8 - Anthony Green <green@moxielogic.com>
(ql:quickload :alexandria)
(defparameter +code+ (coerce (uiop:read-file-lines "08.input") 'vector))
(defvar *completed?* nil)
(defun run-code (code)
(loop
with acc = 0
with pc = 0
while (< pc (length code))
do
(progn
... | 1,585 | Common Lisp | .lisp | 42 | 26.47619 | 94 | 0.471391 | atgreen/advent-of-code-2020 | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | eb053128a058b6c9d645f41303d98695cf77b4ac609615c02bc1a5529bae08c4 | 18,717 | [
-1
] |
18,718 | 06.lisp | atgreen_advent-of-code-2020/06.lisp | ;;; Advent Of Code 2020 - Day 6 - Anthony Green <green@moxielogic.com>
(ql:quickload :alexandria)
(ql:quickload :cl-ppcre)
;; Solution 1
(apply #'+
(mapcar
(lambda (group)
(length (remove-duplicates
(cl-ppcre:regex-replace-all "\\n" group ""))))
(cl-ppcre:split "\\n... | 818 | Common Lisp | .lisp | 22 | 25.636364 | 81 | 0.500631 | atgreen/advent-of-code-2020 | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | ee33e8856e46e78176d7a7dd08a4d851467416f8e35e1c0fec6efccd34f457cc | 18,718 | [
-1
] |
18,719 | 02.lisp | atgreen_advent-of-code-2020/02.lisp | ;;; Advent Of Code 2020 - Day 2 - Anthony Green <green@moxielogic.com>
(ql:quickload :split-sequence)
;; Problem 1
(print (count-if
(lambda (line)
(destructuring-bind (freq-min rest-of-line)
(split-sequence:split-sequence #\- line)
(flet ((in-range (n min max)
... | 1,192 | Common Lisp | .lisp | 24 | 37.791667 | 111 | 0.551073 | atgreen/advent-of-code-2020 | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 89349d6b2283462c310422df79056adaecdd3ba3fea3da8e035cbf2b8719a499 | 18,719 | [
-1
] |
18,720 | 03.lisp | atgreen_advent-of-code-2020/03.lisp | ;;; Advent Of Code 2020 - Day 3 - Anthony Green <green@moxielogic.com>
(defparameter +map+ (uiop:read-file-lines "03.input"))
(defparameter +map-max-x+ (length (car +map+)))
(defparameter +map-max-y+ (length +map+))
(defun slide (x y slope-x slope-y)
(if (< y +map-max-y+)
(+ (slide (+ x slope-x) (+ y slope-y)... | 606 | Common Lisp | .lisp | 14 | 38.714286 | 76 | 0.55102 | atgreen/advent-of-code-2020 | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 1f03b5eb3baed921c4cd75b04d589c536b1c004602e21c4bc0cccedea8f1941e | 18,720 | [
-1
] |
18,721 | 04.lisp | atgreen_advent-of-code-2020/04.lisp | ;;; Advent Of Code 2020 - Day 4 - Anthony Green <green@moxielogic.com>
(ql:quickload :split-sequence)
(ql:quickload :cl-ppcre)
(defparameter +passport-data+
(append (uiop:read-file-lines "04.input") '("")))
(defstruct doc
eyr
byr
hcl
cid
ecl
hgt
iyr
pid)
(defun complete-passport (doc)
(and doc
... | 2,564 | Common Lisp | .lisp | 70 | 30.142857 | 148 | 0.5938 | atgreen/advent-of-code-2020 | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | c8280339474ac790d2c6a739ac84c65f213ba6211abd3b59ddecb6c2e5afe17d | 18,721 | [
-1
] |
18,722 | 05.lisp | atgreen_advent-of-code-2020/05.lisp | ;;; Advent Of Code 2020 - Day 5 - Anthony Green <green@moxielogic.com>
(defparameter +seat-ids+
(labels ((sub (str slist)
(if slist
(sub (substitute (caar slist) (cdar slist) str) (cdr slist))
(parse-integer str :radix 2 :junk-allowed t))))
(mapcar (lambda (str)
... | 902 | Common Lisp | .lisp | 20 | 34.15 | 77 | 0.491468 | atgreen/advent-of-code-2020 | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | df1dc61aaf3fefa291a2960fbce079f5ee518659813a19375768f8d3809ef707 | 18,722 | [
-1
] |
18,723 | 01.lisp | atgreen_advent-of-code-2020/01.lisp | ;;; Advent Of Code 2020 - Day 1 - Anthony Green <green@moxielogic.com>
(ql:quickload :alexandria)
(defparameter +numbers+ (mapcar #'parse-integer (uiop:read-file-lines "01.input")))
;; Solve for steps 1 and 2 using the same mechanism...
(macrolet ((find-numbers (l)
`(block try-block
(fle... | 600 | Common Lisp | .lisp | 12 | 40.166667 | 83 | 0.576068 | atgreen/advent-of-code-2020 | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 9e431a0b929a0d85ea8f3037b9cde2f86fdca041ff2fc3e6c3f6fb4419702cb4 | 18,723 | [
-1
] |
18,746 | package.lisp | vsedach_simple-vhost-proxy/package.lisp | (in-package #:cl)
(defpackage #:simple-vhost-proxy
(:use #:cl #:usocket #:flexi-streams #:anaphora)
(:export #:start-proxy))
| 130 | Common Lisp | .lisp | 4 | 30.25 | 50 | 0.68 | vsedach/simple-vhost-proxy | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | a96b7b49a1d08709848057bae8c68da51800884bac55b58d717610ad319f10e0 | 18,746 | [
-1
] |
18,747 | timeouts.lisp | vsedach_simple-vhost-proxy/timeouts.lisp | (in-package #:simple-vhost-proxy)
;;; borrowed from hunchentoot, but this should really go into usocket!!!
(defun set-timeout (socket timeout) ;; in seconds
#+:clisp
(socket:socket-options (usocket:socket socket)
:SO-RCVTIMEO timeout :SO-SNDTIMEO timeout)
#+:openmcl
(progn
(setf (... | 757 | Common Lisp | .lisp | 18 | 36.833333 | 72 | 0.686992 | vsedach/simple-vhost-proxy | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | a0b1c0b4155e3f5821f8e30a2419b5f7f2e30f632b7558bc32a97f76fe0dc351 | 18,747 | [
-1
] |
18,748 | proxy.lisp | vsedach_simple-vhost-proxy/proxy.lisp | (in-package #:simple-vhost-proxy)
(defun starts-with? (string prefix)
(when (< (length prefix) (length string))
(string= string prefix :end1 (length prefix))))
(defun maybe-header-value (header-line header)
(when (starts-with? header-line header)
(subseq header-line (length header))))
(defun crlf (out)
... | 5,056 | Common Lisp | .lisp | 103 | 35.970874 | 83 | 0.560591 | vsedach/simple-vhost-proxy | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | e18eeec226c14713385b12bb3b0d8d2291b7ec904cfac6587f4172cc51138914 | 18,748 | [
-1
] |
18,749 | simple-vhost-proxy.asd | vsedach_simple-vhost-proxy/simple-vhost-proxy.asd | (asdf:defsystem :simple-vhost-proxy
:name "simple-vhost-proxy"
:description "HTTP reverse proxy for virtual host web servers."
:author "Vladimir Sedach <vsedach@gmail.com>"
:license "AGPLv3"
:serial t
:components ((:file "package")
(:file "timeouts")
(:file "proxy"))
:depends... | 383 | Common Lisp | .asd | 10 | 32.9 | 72 | 0.664879 | vsedach/simple-vhost-proxy | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | f21cfa27514d3c9925c105ea440889d85ba14045fdd3829a09349e07f4be1e3f | 18,749 | [
-1
] |
18,769 | utils.lisp | belaja-akacija_dmenu-bkmks/utils.lisp | (defmacro handle-error (condition)
`(multiple-value-bind (value y error) ,condition
(if (= error 1)
(uiop:quit 0)
(string-trim '(#\NewLine #\Space) value))))
(defun remove-lines (file lines-to-remove)
(let ((filtered-lines ""))
(with-open-file (in file)
(loop
for line-numbe... | 2,912 | Common Lisp | .lisp | 66 | 34.727273 | 129 | 0.576014 | belaja-akacija/dmenu-bkmks | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | d1eb18553542aaa528959c235fc3c45e7300be4128f90585aee8f03b15939694 | 18,769 | [
-1
] |
18,770 | config.lisp | belaja-akacija_dmenu-bkmks/config.lisp | (defparameter *user-home* (namestring (user-homedir-pathname)))
(defparameter *config-path* (pathname (concatenate 'string *user-home* ".config/bkmks/config")))
(defparameter *url-file-path* (pathname (concatenate 'string *user-home* ".config/bkmks/files/")))
(defparameter *url-file-path-list* (directory (merge-path... | 2,900 | Common Lisp | .lisp | 53 | 48.924528 | 100 | 0.663028 | belaja-akacija/dmenu-bkmks | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | d110dc77df2fb38f8f25e8ec0198e8183441e3a6aef7a9aa153a6ad074b1b73f | 18,770 | [
-1
] |
18,771 | bkmks.asd | belaja-akacija_dmenu-bkmks/bkmks.asd | (defsystem "bkmks"
:description "bkms: unix bookmark management that sucks less. Lisp edition!"
:version "0.5.4"
:author "belaja-akacija"
;:depends-on ("cl-ppcre" "modest-config" "vlime")
:depends-on ("cl-ppcre" "modest-config" "vlime")
:components ((:file "utils")
(:file "config" :depends-on... | 630 | Common Lisp | .asd | 16 | 34.9375 | 78 | 0.644372 | belaja-akacija/dmenu-bkmks | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 7ea47e358b836a335f034c586ebc3c3d90db49750ec1a994939699ed75f473e8 | 18,771 | [
-1
] |
18,774 | Makefile | belaja-akacija_dmenu-bkmks/Makefile | LISP ?= sbcl
ASD := bkmks.asd
ASD_PATH := $(shell pwd)/$(ASD)
BINARY := bkmks
INSTALL_PATH := ~/.local/bin
load:
rlwrap -c $(LISP) --eval "(asdf:load-asd #P\"$(ASD_PATH)\")" \
--eval '(ql:quickload :$(BINARY))'
#--eval '(ql:quickload :$(BINARY))' \
#--eval '(if (cl-ppcre:all-matches "Vlime" (format nil "~A" (sw... | 820 | Common Lisp | .l | 24 | 32.083333 | 102 | 0.613924 | belaja-akacija/dmenu-bkmks | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 0c83b3194dff6814a87ec00f90fb0813bdc115a7c987a877d6df7f878dbc7c65 | 18,774 | [
-1
] |
18,790 | notify.lisp | jaredkrinke_thirteen-letters/notify.lisp | (in-package :13ls)
(defun-debounced run-notify-script (* 20 60) ()
(spew "Running notify.sh...~%")
(if (uiop:getenv "IFTTT_KEY")
(progn
(bt:make-thread #'(lambda ()
(uiop/run-program:run-program "./notify.sh")
:name "NotifyOneShot")))
(spew "Note: No IFTTT_KEY!~%")))
(defun notify (&key... | 468 | Common Lisp | .lisp | 14 | 28.928571 | 51 | 0.610619 | jaredkrinke/thirteen-letters | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 4b253dc4c525cb05e29c820af79a3d5dfc2d645b2ba6bf4604830cb012b5a3aa | 18,790 | [
-1
] |
18,791 | server.lisp | jaredkrinke_thirteen-letters/server.lisp | (defpackage :13l-server
(:documentation "Web server for online, multiplayer Thirteen Letters game")
(:nicknames :13ls)
(:use :cl
:13l)
(:local-nicknames (:lp :lparallel)
(:sp :spinneret))
(:export #:start-server
#:start-server-thread
#:stop-server))
(in-package :13ls)
;;; General utili... | 14,583 | Common Lisp | .lisp | 374 | 35.096257 | 111 | 0.677743 | jaredkrinke/thirteen-letters | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 5bae622cdc5d19aa9f0f515667aace2a710f181772d2892702f9f9b30ad06243 | 18,791 | [
-1
] |
18,792 | chad-bot.lisp | jaredkrinke_thirteen-letters/chad-bot.lisp | ;(ql:quickload '(:websocket-driver-client :cl-json :scms))
;(load "shared.lisp")
(defpackage :chad-bot
(:documentation "A dumb bot for Thirteen Letters")
(:use :cl))
(in-package :chad-bot)
(defparameter *url* "wss://api.schemescape.com/ws/13l")
(defparameter *play-time* 300)
(defvar *url-override* nil)
(defvar ... | 7,894 | Common Lisp | .lisp | 242 | 28.628099 | 111 | 0.659798 | jaredkrinke/thirteen-letters | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | e4922ec6341e4d7a97f77c47b0970a0f7f6e376a10a8688c788126f809c87d28 | 18,792 | [
-1
] |
18,793 | data.lisp | jaredkrinke_thirteen-letters/data.lisp |
(("international" "entertainment" "environmental" "opportunities"
"communication" "accommodation" "organizations" "understanding"
"documentation" "announcements" "manufacturing" "configuration"
"comprehensive" "approximately" "automatically" "advertisement"
"manufacturers" "professionals" "miscellaneous" "rela... | 44,876 | Common Lisp | .lisp | 680 | 63.008824 | 66 | 0.799778 | jaredkrinke/thirteen-letters | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 81f8f3059eb32b0ee41f77ab049de0b0ad043e1a30fd395deb0ea62f384cdd01 | 18,793 | [
-1
] |
18,794 | shared.lisp | jaredkrinke_thirteen-letters/shared.lisp | (defpackage :13l-shared
(:documentation "Package for sharing code amongst Thirteen Letters console, server, and web versions")
(:nicknames :13l)
(:use :cl)
(:export #:*bucketed-words*
#:*difficulty-buckets*
#:*puzzle-length*
#:char-repeat
#:get-letter-counts
#:get-random
#:initialize-ran... | 3,030 | Common Lisp | .lisp | 74 | 37.702703 | 120 | 0.737593 | jaredkrinke/thirteen-letters | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 1d44cd5bff018078b5fa23a786def99ba78978ce08e76678d7ffd8ab88fb8c4a | 18,794 | [
-1
] |
18,795 | console.lisp | jaredkrinke_thirteen-letters/console.lisp | (defpackage :13l-console
(:documentation "Single-player, console version of Thirteen Letters")
(:nicknames :13lc)
(:use :cl
:13l)
(:export #:play
#:menu))
(in-package :13lc)
(defun play (&optional (difficulty 0))
"Play one round on the given difficulty level"
(let* ((solution (get-random (nth difficu... | 2,439 | Common Lisp | .lisp | 72 | 28.194444 | 84 | 0.606266 | jaredkrinke/thirteen-letters | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | be80a331a6c10384e7595bbf722d771c458a95db6f5706d0fc3e5ec0d4fb8c55 | 18,795 | [
-1
] |
18,796 | run-server.lisp | jaredkrinke_thirteen-letters/run-server.lisp | (ql:quickload :13l-server)
(load "notify.lisp")
(in-package :13ls)
(setf *on-activity* 'notify)
(start-server-thread)
| 120 | Common Lisp | .lisp | 5 | 22.6 | 28 | 0.743363 | jaredkrinke/thirteen-letters | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | b89417cd265d549469c24d1962278eb153d96c81e169f72a4f4cfba4ddb94e31 | 18,796 | [
-1
] |
18,797 | web.lisp | jaredkrinke_thirteen-letters/web.lisp | (defpackage :13l-web
(:documentation "HTML/JS/CSS generator for Thirteen Letters on the web")
(:nicknames :13lw)
(:use :cl)
(:import-from #:parenscript #:ps #:@)
(:local-nicknames (#:sp #:spinneret)))
(in-package :13lw)
;;; JavaScript
;;; TODO: Path should be shared with back-end code
(defvar *web-socket-ur... | 12,842 | Common Lisp | .lisp | 355 | 30.464789 | 226 | 0.603932 | jaredkrinke/thirteen-letters | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 985e35026d7cc15ef2ab0ec28c741f49efd5fc95597ad03574ce383968bdedf2 | 18,797 | [
-1
] |
18,798 | 13l-web.asd | jaredkrinke_thirteen-letters/13l-web.asd | (defsystem #:13l-web
:depends-on (#:spinneret
#:spinneret/cl-markdown
#:parenscript
#:cl-css)
:serial t
:components ((:file "web")))
| 163 | Common Lisp | .asd | 7 | 18 | 31 | 0.589744 | jaredkrinke/thirteen-letters | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | e57143336b359860b6e7315926f229b3d0cd8912c6a1486c13e4424ddbdcbd3c | 18,798 | [
-1
] |
18,799 | 13l-console.asd | jaredkrinke_thirteen-letters/13l-console.asd | (defsystem #:13l-console
:serial t
:components ((:file "shared")
(:file "console"))
:build-operation program-op
:build-pathname "thirteen-letters"
:entry-point "13lc:menu")
| 191 | Common Lisp | .asd | 7 | 23.714286 | 36 | 0.684783 | jaredkrinke/thirteen-letters | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | c979b073909a5c43fe4769f958707185b14d60b8785199bd6c1c329ab28f057a | 18,799 | [
-1
] |
18,800 | 13l-server.asd | jaredkrinke_thirteen-letters/13l-server.asd | (defsystem #:13l-server
:depends-on (#:lparallel
#:hunchentoot
#:hunchensocket
#:spinneret
#:yason)
:serial t
:components ((:file "shared")
(:file "server"))
:build-operation program-op
:build-pathname "13l-server"
:entry-point "13ls:start-server")
| 301 | Common Lisp | .asd | 12 | 19.75 | 35 | 0.626298 | jaredkrinke/thirteen-letters | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 032d75556cd7c778a39c3da8c35916f52377bf1a55e1ebff7d9739c61e83f909 | 18,800 | [
-1
] |
18,808 | .gitmodules | jaredkrinke_thirteen-letters/.gitmodules | [submodule "yawl"]
path = yawl
url = https://github.com/elasticdog/yawl.git
[submodule "scms"]
path = scms
url = https://github.com/jaredkrinke/scms.git
| 157 | Common Lisp | .l | 6 | 24.5 | 46 | 0.735099 | jaredkrinke/thirteen-letters | 3 | 0 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 1ed23ac3cc4535d0e5209d3bc2448ec5589176c38dd13a38bf3bde8acaaf4822 | 18,808 | [
-1
] |
18,828 | server.lisp | alessiostalla_treep/src/server/server.lisp | (defpackage :treep-server (:use :cl :treep-impl))
(in-package :treep-server)
(defvar *app* (make-instance 'ningle:app))
(setf (ningle:route *app* "/")
"Welcome to Treep!")
(setf (ningle:route *app* "/definition/:kind/:name")
#'(lambda (params)
;;TODO we should only find-symbol, not intern
(let ((ki... | 1,502 | Common Lisp | .lisp | 31 | 41.580645 | 86 | 0.646898 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 4b62c051297202b399f0682fba846eeacaa7ddbb8fcde63d61764d8bba36eb7c | 18,828 | [
-1
] |
18,829 | object-system.lisp | alessiostalla_treep/src/level0/object-system.lisp | (in-package :treep-impl)
(defclass class-definition (definition)
((superclasses :initform (fset:seq) :initarg :superclasses :accessor class-definition-superclasses)
(slots :initform (fset:seq) :initarg :slots :accessor class-definition-slots)
(metaclass :initform 'standard-class :initarg :metaclass :accessor c... | 8,044 | Common Lisp | .lisp | 133 | 55.954887 | 160 | 0.748574 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 430b3b7d22f32a57ffaa3e00398ff105272e0b3ceb5360d717c286a4b67c9397 | 18,829 | [
-1
] |
18,830 | symbols-io.lisp | alessiostalla_treep/src/level0/symbols-io.lisp | (in-package :treep-impl)
(defconstant +root-symbol+ '||)
(defconstant +symbol-treep+ (import-lisp-symbol 'treep +root-symbol+))
(defvar *symbol-space* +symbol-treep+)
(defun intern (name &optional (space *symbol-space*))
(%intern name space))
(defun find-symbol (name &optional (space *symbol-space*) exclude)
(%f... | 2,372 | Common Lisp | .lisp | 60 | 35.183333 | 102 | 0.664785 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 42357bbd2ecd9d426718b08897b39709e62c552deab742aea53d39359ffbc4ec | 18,830 | [
-1
] |
18,831 | forms.lisp | alessiostalla_treep/src/level0/forms.lisp | (in-package :treep-impl)
(defconstant +kind-class+ (import-lisp-symbol 'class +symbol-treep+))
(defconstant +kind-function+ (import-lisp-symbol 'function +symbol-treep+))
(defconstant +kind-variable+ (import-lisp-symbol 'variable +symbol-treep+))
(defclass environment ()
((bindings :initform (fset:map) :inita... | 8,038 | Common Lisp | .lisp | 155 | 48.832258 | 118 | 0.752871 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 0ab5b9a2d36aaf24064d0c43e2af69b4a5ea35c64daa9ba3d534e0567e06402c | 18,831 | [
-1
] |
18,832 | repl.lisp | alessiostalla_treep/src/level0/repl.lisp | (in-package :treep-impl)
(defconstant +symbol-repl+ (import-lisp-symbol 'repl +symbol-treep+))
(defconstant +symbol-repl-quit+ (import-lisp-symbol 'quit +symbol-repl+))
;;TODO expose to the REPL as just "quit"
(define-abstraction quit +symbol-repl-quit+)
(defun repl (&key (evaluator (make-instance 'simple-evalu... | 965 | Common Lisp | .lisp | 19 | 46.421053 | 128 | 0.675504 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | d82eb5129498902863612239c01925174e90f9852347b5f717f1ff07c5c58140 | 18,832 | [
-1
] |
18,833 | symbols.lisp | alessiostalla_treep/src/level0/symbols.lisp | (in-package :treep-impl)
(defclass symbol-space ()
((name :reader symbol-space-name :initarg :name :type symbol)
(contents :accessor symbol-space-contents :type fset:map :initform (fset:map))
(search-path :accessor symbol-space-search-path :initarg :search-path :type fset:seq :initform (fset:seq))))
(defun sy... | 3,018 | Common Lisp | .lisp | 64 | 43.75 | 133 | 0.714723 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 64dc99515bbd542342e6806d85c99c55417b78ecaea3ec0aeed2c52b8e8bf0b4 | 18,833 | [
-1
] |
18,834 | abstractions.lisp | alessiostalla_treep/src/level0/abstractions.lisp | (in-package :treep-impl)
(defmacro define-abstraction (name symbol &optional superclasses slots)
`(progn
(defclass ,name ,(or superclasses '(form)) ,slots (:metaclass form-class))
(setf *environment* (augment-environment *environment* ,symbol +kind-class+ (cl:find-class ',name)))
(setf (get ',name 'sy... | 4,037 | Common Lisp | .lisp | 61 | 63.016393 | 137 | 0.671378 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 9a5dbc7cc3df0f19dc721ad4d66903023f788f3f57707917e023e3377934c1cf | 18,834 | [
-1
] |
18,835 | lisp.lisp | alessiostalla_treep/src/level0/lisp.lisp | (in-package :treep-impl)
(defclass lisp (form)
((expression :initarg :expression :initform nil :reader lisp-expression)
(variables :initarg :variables :initform (fset:seq) :reader lisp-variables)))
(defmethod transform ((transformer simple-evaluator) (form lisp) environment)
(common-lisp:eval `(let ,(fset:conv... | 2,397 | Common Lisp | .lisp | 48 | 43.625 | 132 | 0.67563 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 60cf80263ee510214cbdd7d102072c6b9b3b2cb6187a0ed89b35a6896cf9f370 | 18,835 | [
-1
] |
18,836 | printer.lisp | alessiostalla_treep/src/level0/printer.lisp | (in-package :treep-impl)
(defclass printer ()
((stream :initarg :stream :initform *standard-output* :accessor printer-stream)))
(defmethod transform ((transformer printer) (object form) environment)
(let ((name (class-name (class-of object)))
(stream (printer-stream transformer)))
(princ "(" stream)
(pri... | 1,549 | Common Lisp | .lisp | 34 | 41.176471 | 104 | 0.71438 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 532618ef2375df143540b4d362371a0ffce2ef264f92155b19bd4be45bfe99c9 | 18,836 | [
-1
] |
18,837 | level1-boot.lisp | alessiostalla_treep/src/level0/level1-boot.lisp | (in-package :treep-impl)
(setf *environment* (import-lisp-package (find-package :common-lisp)))
(setf *environment* (import-lisp-package (find-package :treep-impl) :space +symbol-treep+))
(setf *environment* (import-lisp-package (find-package :closer-mop) :space (intern "mop" +symbol-treep+)))
(setf *environment* (imp... | 704 | Common Lisp | .lisp | 12 | 55.916667 | 108 | 0.722787 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 8cf4cf2c1e6bceffb3bd0534646f49296228e8eca6f38cb11441f233f7df4dd2 | 18,837 | [
-1
] |
18,838 | reader.lisp | alessiostalla_treep/src/level0/reader.lisp | (in-package :treep-impl)
(define-condition premature-end-of-form (error) ())
(defun read-form (stream environment)
(let ((ch (peek-char t stream)))
(cond
((char= ch #\()
(read-complex-form stream environment)) ;;TODO intern function...
((char= ch #\))
(read-char stream)
(error "... | 2,731 | Common Lisp | .lisp | 64 | 37.921875 | 107 | 0.651373 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | bbef1435f8915773bc247b1466be48f25067fd09abb1a7bceff824c2a4b1215b | 18,838 | [
-1
] |
18,839 | loader.lisp | alessiostalla_treep/src/level0/loader.lisp | (in-package :treep-impl)
(defun load (stream &key (evaluator (make-instance 'simple-evaluator)) (intern-function #'intern))
(let ((*symbol-space* *symbol-space*)
(environment (copy-environment)) ;So we don't side-effect it
(result nil))
(cl:loop
(unless (peek-char t stream nil nil)
(return))
(... | 661 | Common Lisp | .lisp | 13 | 47 | 113 | 0.721362 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 7a173a2aebc7221e8ee4e0dda356e5a67cb00836da0f49e1cf89f50cfe385d69 | 18,839 | [
-1
] |
18,840 | evaluator.lisp | alessiostalla_treep/src/level0/evaluator.lisp | (in-package :treep-impl)
(defclass simple-evaluator () ())
(defun eval (form &optional (environment *environment*))
(multiple-value-bind (result env)
(transform (make-instance 'simple-evaluator) form environment)
(when (eq environment *environment*) ;;Convenience for top-level eval
(setf *environmen... | 8,711 | Common Lisp | .lisp | 156 | 51.198718 | 146 | 0.734498 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 490262795e2a0a773898903cd41ceeb7d0bf34523661ca5464c7262c4fe8c935 | 18,840 | [
-1
] |
18,841 | packages.lisp | alessiostalla_treep/src/level0/packages.lisp | (defpackage treep-impl
(:use :cl)
(:shadow cl:class cl:eval cl:find-symbol cl:function cl:generic-function cl:intern cl:load cl:loop cl:quote cl:read cl:slot-value cl:symbol cl:symbol-name cl:variable)
(:export #:binding
#:class #:class-definition #:class-reference #:conditional
#:environment #:*environme... | 943 | Common Lisp | .lisp | 19 | 45.105263 | 169 | 0.695887 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | f4d298ccdeebfc144470f565b2cb6e9336d5945f2b194f39683a06b84e396263 | 18,841 | [
-1
] |
18,842 | s-expressions.lisp | alessiostalla_treep/src/level0/s-expressions.lisp | (in-package :treep-impl)
;;TODO is this still needed/useful?
(defgeneric form-template (form))
(defmethod form-template ((form form))
(let ((class (class-of form)))
`(,(class-name class) ,@(remove-if (lambda (x) (transient-slot? form x))
(closer-mop:class-slots class)))))
(defun sexp-->form (sexp)
... | 3,391 | Common Lisp | .lisp | 70 | 44.3 | 108 | 0.692029 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | ae9d8a3903ec780a42405b2bf83e2907e60aa3d3b59c6579c5382c95769b64f6 | 18,842 | [
-1
] |
18,843 | object-system.lisp | alessiostalla_treep/tests/object-system.lisp | (defpackage treep/tests/object-system
(:use :cl
:treep-impl
:rove)
(:shadowing-import-from :treep-impl #:class #:find-symbol #:function #:intern #:load #:quote #:symbol))
(in-package :treep/tests/object-system)
;; NOTE: To run this test file, execute `(asdf:test-system :treep)' in your Lisp.
(deft... | 3,115 | Common Lisp | .lisp | 56 | 48.267857 | 132 | 0.66623 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 2723c0288532dc29bf3eb40548db5a7ae532ce14a026fbdfd3d104ea8870c1c4 | 18,843 | [
-1
] |
18,844 | main.lisp | alessiostalla_treep/tests/main.lisp | (defpackage treep/tests/main
(:use :cl
:treep-impl
:rove)
(:shadowing-import-from :treep-impl class find-symbol function intern load quote symbol))
(in-package :treep/tests/main)
;; NOTE: To run this test file, execute `(asdf:test-system :treep)' in your Lisp.
(deftest smoke-test
(testing "(= 1 ... | 5,132 | Common Lisp | .lisp | 86 | 55.465116 | 188 | 0.682811 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 6af915e9141b84e6c6d4f4e5077f848ae95e22743b87c86406a5edb3d5b7a9e5 | 18,844 | [
-1
] |
18,845 | treep.asd | alessiostalla_treep/treep.asd | (defsystem "treep"
:version "0.1.0"
:author "Alessio Stalla"
:license "AGPL"
:depends-on ("closer-mop" "fset")
:components ((:module "src/level0"
:components
((:file "packages")
(:file "symbols") (:file "symbols-io")
(:file "forms") (:file "abstractions")
(:file "reade... | 1,190 | Common Lisp | .asd | 37 | 26.756757 | 70 | 0.596872 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 548b0e898a03a7b43d36ab90f4c95233c9d5dd5dee293ceff3031e72a1d42a64 | 18,845 | [
-1
] |
18,862 | ci.yml | alessiostalla_treep/.github/workflows/ci.yml | name: CI
# Github Actions allows for running jobs on a wide variety of events
on:
push: # Commits pushed to Github
pull_request: # Pull request is update
workflow_dispatch: # Manually dispatched from Github's UI
jobs:
test:
name: ${{ matrix.lisp }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
str... | 1,152 | Common Lisp | .l | 34 | 27.117647 | 108 | 0.61828 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 4e3d2f821da9b8b92453169226db29c761f70b7dc2659d83d8029741d005f622 | 18,862 | [
-1
] |
18,865 | test-load-1.treep | alessiostalla_treep/tests/test-load-1.treep | (install-definition! #^x (variable-definition 42))
(install-definition! #^y (variable-definition #^y))
(install-definition! #^z (variable-definition (quote (variable-read #^z))))
(install-definition! #^k (variable-definition (variable-read #^x))) | 246 | Common Lisp | .l | 4 | 60.75 | 75 | 0.73251 | alessiostalla/treep | 3 | 0 | 5 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 741460192064a52c99a6e6c6eee181a0e30410a88e44345f4c68a70175884b1e | 18,865 | [
-1
] |
18,880 | package.lisp | glv2_cl-lzlib/src/package.lisp | ;;; This file is part of cl-lzlib
;;; Copyright 2019-2022 Guillaume LE VAILLANT
;;; Distributed under the GNU GPL v3 or later.
;;; See the file LICENSE for terms of use and distribution.
(defpackage :lzlib
(:use :cl :trivial-gray-streams)
(:export #:compress-stream
#:compress-file
#:compress-... | 597 | Common Lisp | .lisp | 17 | 27.352941 | 59 | 0.632124 | glv2/cl-lzlib | 3 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 9fc9687316414f076aee615c38f0ba27e4aa7c65cfc78f6ca15bb65880ad4710 | 18,880 | [
-1
] |
18,881 | lzlib.lisp | glv2_cl-lzlib/src/lzlib.lisp | ;;; This file is part of cl-lzlib
;;; Copyright 2019 Guillaume LE VAILLANT
;;; Distributed under the GNU GPL v3 or later.
;;; See the file LICENSE for terms of use and distribution.
(in-package :lzlib)
(deftype i32 () '(signed-byte 32))
(deftype u32 () '(unsigned-byte 32))
(deftype u64 () '(unsigned-byte 64))
(cffi... | 18,104 | Common Lisp | .lisp | 324 | 54.049383 | 97 | 0.770546 | glv2/cl-lzlib | 3 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 0ae53a7058353f92d32efdad6bad5ecc829ff952827802c5c772225746e516e1 | 18,881 | [
-1
] |
18,882 | lzip.lisp | glv2_cl-lzlib/src/lzip.lisp | ;;; This file is part of cl-lzlib
;;; Copyright 2019-2022 Guillaume LE VAILLANT
;;; Distributed under the GNU GPL v3 or later.
;;; See the file LICENSE for terms of use and distribution.
(in-package :lzlib)
(deftype u8 () '(unsigned-byte 8))
(defconstant +buffer-size+ 65536)
;;;
;;; Errors
;;;
(define-condition l... | 27,297 | Common Lisp | .lisp | 591 | 32.629442 | 85 | 0.551388 | glv2/cl-lzlib | 3 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | cb11e1d374cbcd5d3309e2d071acde0a8251513a1fa259de8f8beaf550a1e140 | 18,882 | [
-1
] |
18,883 | tests.lisp | glv2_cl-lzlib/tests/tests.lisp | ;;; This file is part of cl-lzlib
;;; Copyright 2019-2022 Guillaume LE VAILLANT
;;; Distributed under the GNU GPL v3 or later.
;;; See the file LICENSE for terms of use and distribution.
(defpackage :lzlib-tests
(:use :cl :cl-octet-streams :fiveam :lzlib))
(in-package :lzlib-tests)
(defun data-file-path (filename... | 16,472 | Common Lisp | .lisp | 318 | 31.003145 | 79 | 0.440305 | glv2/cl-lzlib | 3 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 80af235e1bfc187a21ed5086dd9ab3bfa6141730c794bd2e72d50be275655c53 | 18,883 | [
-1
] |
18,884 | lzlib.asd | glv2_cl-lzlib/lzlib.asd | ;;; This file is part of cl-lzlib
;;; Copyright 2019-2022 Guillaume LE VAILLANT
;;; Distributed under the GNU GPL v3 or later.
;;; See the file LICENSE for terms of use and distribution.
(defsystem "lzlib"
:name "lzlib"
:description "lzip (LZMA) (de)compression using bindings to lzlib"
:version "2.0"
:author "... | 686 | Common Lisp | .asd | 17 | 33.058824 | 76 | 0.609281 | glv2/cl-lzlib | 3 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | c89da760ae8940f2286b870d258f04efca5788402c277cb02ebd9259f7ef74d1 | 18,884 | [
-1
] |
18,885 | lzlib-tests.asd | glv2_cl-lzlib/lzlib-tests.asd | ;;; This file is part of cl-lzlib
;;; Copyright 2019-2022 Guillaume LE VAILLANT
;;; Distributed under the GNU GPL v3 or later.
;;; See the file LICENSE for terms of use and distribution.
(defsystem "lzlib-tests"
:name "lzlib-tests"
:description "Tests for lzlib"
:version "2.0"
:author "Guillaume LE VAILLANT"
... | 967 | Common Lisp | .asd | 22 | 34.090909 | 78 | 0.572034 | glv2/cl-lzlib | 3 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 414484171bc082087bf2bddfc7e1c3881bf821eac31d0e09189bd2b80beb494d | 18,885 | [
-1
] |
18,892 | test-multimember.dat | glv2_cl-lzlib/tests/test-multimember.dat | xVp41AKDufT3BUSYmp320XVb+QnvYktMoQgVtHz+LmjEp3hT8RF4NXz8P2kh79BJtFWQ+GuSUdFb
yTTdoZwX7zdtqSLVZuKOsLmnTx2H/WVRdkxblYpITlMvORIZiPMWpo6J7jEFt2lz1i06Om1q75QB
ayOQSQnuRe1LBNMwjxXAf5+S+I2RmTW6wfHn/+OZfGq5pobbhllDnIAFN9U+1N+1KIRCYl/tyJJ3
LbnlQfPQl3LOJcouKb2aiLF5A0AAiKsyc97hUZIazI/kh06w6qS/pI61kdSdbsCmTrw9/PKZvXZi
K4ChZ0rvzJMW... | 354,128 | Common Lisp | .l | 4,600 | 75.984348 | 76 | 0.969133 | glv2/cl-lzlib | 3 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | d8be7d8432109bed90a4759536cc9f7401bc5b5cf4fb83df87830b08b28ac603 | 18,892 | [
-1
] |
18,908 | lispswarm20160509_quit.lisp | KedalionDaimon_larvarum-computationis-examen-iii/lispswarm20160509_quit.lisp | ; This is the "fast" version working with "only" 1000 atoms.
; MY ISSUE IS THE DOUBLE-CREATION OF UNKNOWN ATOMS AT THE RE-EVAL STAGE:
; (re-eval '(aa . bb) '((x . y) (b . c) (a . c) (b . d) (a . d) (l . r) (s . t) (l . m) (n . o) (o . p) (p . q) (q . r) (r . s)))
; --> (0 (AA . BB) (AA . BB) (X . Y) (B . C) (A . C) (B... | 76,336 | Common Lisp | .lisp | 1,100 | 65.562727 | 213 | 0.649488 | KedalionDaimon/larvarum-computationis-examen-iii | 3 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 7115eeacb6f3e60efcd14a5edcf209dae224a7df855fdbc38a16d74b8d55a2ee | 18,908 | [
-1
] |
18,909 | parsefiles20160227_quit.lisp | KedalionDaimon_larvarum-computationis-examen-iii/parsefiles20160227_quit.lisp | ; THIS IS FAILING SO FAR.
; NOT ALL HAS BEEN PORTED, EITHER.
; I HAVE NO NUMBER->STRING FUNCTION!
; MAKE THE SCM-SIGNAL-BLAH UPPERCASE!
; This file parser is very similar to what I have in LarCom A.
; It will always parse files in both directions - from input and to plan,
; at once.
; USAGE:
; SET THE USER INPUT INTO... | 15,897 | Common Lisp | .lisp | 291 | 51.938144 | 159 | 0.702015 | KedalionDaimon/larvarum-computationis-examen-iii | 3 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 4f9b3d322486a316c3da968e6f4046381b85fd028bc589be3ab36373682c0f22 | 18,909 | [
-1
] |
18,912 | soloqueen.sh | KedalionDaimon_larvarum-computationis-examen-iii/soloqueen.sh | #!/bin/bash
# The purpose of this program is to initialise a new swarm.
# It also determines the size of the swarm.
rm insects.txt 2> /dev/null
rm -r pupa* 2>/dev/null
# redirect errors to /dev/null
for i in {1..20} # say how many prototype insects you will want
do
echo $i >> insects.txt
mkdir ./pupa$i
cp ./sw... | 498 | Common Lisp | .l | 16 | 28.875 | 105 | 0.714286 | KedalionDaimon/larvarum-computationis-examen-iii | 3 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | af9066eabe90d09096c6b30e25a38619e544b1578ef66c40deefcea2f4fb4e86 | 18,912 | [
-1
] |
18,914 | relink.sh | KedalionDaimon_larvarum-computationis-examen-iii/relink.sh | #!/bin/bash
# The purpose of this program is to re-link the swarm to a new version.
for i in {1..20} # say how many prototype insects you will want
do
rm ./pupa$i/examen
cd ./pupa$i
ln ../examen ./examen
cd ..
done
| 227 | Common Lisp | .l | 9 | 22.888889 | 71 | 0.696262 | KedalionDaimon/larvarum-computationis-examen-iii | 3 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | e618e6bf21d74379b613f4b12d280744bcfa4e5fa2bdf50027e4904e959d85fc | 18,914 | [
-1
] |
18,915 | overlord.sh | KedalionDaimon_larvarum-computationis-examen-iii/overlord.sh | #!/bin/bash
# activate with: rlwrap overlord.sh
# corrected ps-aux-check in memory
# EMPTY OUTPUT SHOULD ALSO NOT BE PARSED.
# EMPTY IS REALLY "", NOT JUST "()".
# TO-DO: THE TRANSMUTATIONS,
# AS WELL AS "READING" AND "WRITING".
# Assume input is in usertoswarm.txt and
# output is in swarmtouser.txt. Assume in
# t... | 5,624 | Common Lisp | .l | 168 | 30.720238 | 111 | 0.710687 | KedalionDaimon/larvarum-computationis-examen-iii | 3 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | cbf774715c8772ecd77569ec169d6aaaeb697988a0aef9fe7741cb64b9ba43f5 | 18,915 | [
-1
] |
18,930 | package.lisp | rotatef_esmtp-client/package.lisp | ;;;; esmtp-client
;;;;
;;;; Copyright (C) 2017 Thomas Bakketun <thomas.bakketun@copyleft.no>
;;;;
;;;; This library 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 Lic... | 1,334 | Common Lisp | .lisp | 47 | 25.510638 | 78 | 0.68818 | rotatef/esmtp-client | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 10f925f13de60bca9a7af19cf6af9e5f03867e743f7ff48a3ac28db0ce599d43 | 18,930 | [
-1
] |
18,931 | auth-login.lisp | rotatef_esmtp-client/auth-login.lisp | ;;;; esmtp-client
;;;;
;;;; Copyright (C) 2017 Thomas Bakketun <thomas.bakketun@copyleft.no>
;;;;
;;;; This library 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 Lic... | 1,456 | Common Lisp | .lisp | 30 | 44.733333 | 78 | 0.69464 | rotatef/esmtp-client | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 1f46f0a2494f5e3599f8a6a735376dfa41c31097b65a252bcf9bec00a8950d62 | 18,931 | [
-1
] |
18,932 | auth-xoauth2.lisp | rotatef_esmtp-client/auth-xoauth2.lisp | ;;;; esmtp-client
;;;;
;;;; Copyright (C) 2017 Thomas Bakketun <thomas.bakketun@copyleft.no>
;;;;
;;;; This library 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 Lic... | 1,365 | Common Lisp | .lisp | 28 | 44.285714 | 110 | 0.680963 | rotatef/esmtp-client | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 639a9d367daa0633077f3f21b328324e1238b6662062fd69e70d9fecca082ebd | 18,932 | [
-1
] |
18,933 | auth-plain.lisp | rotatef_esmtp-client/auth-plain.lisp | ;;;; esmtp-client
;;;;
;;;; Copyright (C) 2017 Thomas Bakketun <thomas.bakketun@copyleft.no>
;;;;
;;;; This library 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 Lic... | 1,461 | Common Lisp | .lisp | 31 | 40.096774 | 78 | 0.64507 | rotatef/esmtp-client | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 504fcb2949015e2ab4c5634f2b947a7e83ce19e7d7cd9da9dda080f001497dde | 18,933 | [
-1
] |
18,934 | package.lisp | rotatef_esmtp-client/tests/package.lisp | ;;;; esmtp-client
;;;;
;;;; Copyright (C) 2017 Thomas Bakketun <thomas.bakketun@copyleft.no>
;;;;
;;;; This library 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 Lic... | 882 | Common Lisp | .lisp | 22 | 38.454545 | 78 | 0.712456 | rotatef/esmtp-client | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 5fbf7671c39c9f8688e76caf68b31f7c11c011aa5bc70178c48176fed2820616 | 18,934 | [
-1
] |
18,935 | tests.lisp | rotatef_esmtp-client/tests/tests.lisp | ;;;; esmtp-client
;;;;
;;;; Copyright (C) 2017 Thomas Bakketun <thomas.bakketun@copyleft.no>
;;;;
;;;; This library 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 Lic... | 3,394 | Common Lisp | .lisp | 78 | 35.269231 | 103 | 0.602121 | rotatef/esmtp-client | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 89bd0fb71db8d3ea34b4948e9cd4f73f188189598a75565c405afc2ddc990205 | 18,935 | [
-1
] |
18,936 | package.lisp | rotatef_esmtp-client/cram-md5/package.lisp | ;;;; esmtp-client
;;;;
;;;; Copyright (C) 2017 Thomas Bakketun <thomas.bakketun@copyleft.no>
;;;;
;;;; This library 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 Lic... | 886 | Common Lisp | .lisp | 20 | 42.9 | 78 | 0.716763 | rotatef/esmtp-client | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | c3ec87f8c5e1fb27d0c86b93578eac6f4bbc92d21808978e76cb739312f8a8e1 | 18,936 | [
-1
] |
18,937 | cram-md5.lisp | rotatef_esmtp-client/cram-md5/cram-md5.lisp | ;;;; esmtp-client
;;;;
;;;; Copyright (C) 2017 Thomas Bakketun <thomas.bakketun@copyleft.no>
;;;;
;;;; This library 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 Lic... | 1,763 | Common Lisp | .lisp | 32 | 51.34375 | 89 | 0.708309 | rotatef/esmtp-client | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | e9cfdcebba513fe38c602a21d8498ca449a963ef77466c03d075e44c169e2942 | 18,937 | [
-1
] |
18,938 | esmtp-client.asd | rotatef_esmtp-client/esmtp-client.asd | ;;;; esmtp-client
;;;;
;;;; Copyright (C) 2017 Thomas Bakketun <thomas.bakketun@copyleft.no>
;;;;
;;;; This library 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 Lic... | 1,286 | Common Lisp | .asd | 30 | 38.366667 | 78 | 0.668526 | rotatef/esmtp-client | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 1a93f6016b6cfbee84363cb5b8a673eaa5357cc169d7499caeff12c4558c1b0c | 18,938 | [
-1
] |
18,939 | esmtp-client-tests.asd | rotatef_esmtp-client/tests/esmtp-client-tests.asd | ;;;; esmtp-client
;;;;
;;;; Copyright (C) 2017 Thomas Bakketun <thomas.bakketun@copyleft.no>
;;;;
;;;; This library 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 Lic... | 1,120 | Common Lisp | .asd | 25 | 42.6 | 78 | 0.71298 | rotatef/esmtp-client | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 7034d7f5bd05bf3abc625ab43847ab64b7681633ceffa890ebc7f4b67b5415a6 | 18,939 | [
-1
] |
18,940 | esmtp-client-cram-md5.asd | rotatef_esmtp-client/cram-md5/esmtp-client-cram-md5.asd | ;;;; esmtp-client
;;;;
;;;; Copyright (C) 2017 Thomas Bakketun <thomas.bakketun@copyleft.no>
;;;;
;;;; This library 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 Lic... | 1,194 | Common Lisp | .asd | 27 | 41 | 78 | 0.699828 | rotatef/esmtp-client | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 9316679be48524809911e16d8d9d056b46b1dc71892f122a5a272d6aae1e8d23 | 18,940 | [
-1
] |
18,948 | .travis.yml | rotatef_esmtp-client/.travis.yml | language: lisp
sudo: required
branches:
only:
- master
env:
matrix:
- LISP=sbcl
install:
- curl -L https://github.com/luismbo/cl-travis/raw/master/install.sh | sh
script:
- cl -e "(ql:quickload :esmtp-client-tests) (esmtp-client-tests:travis-run)"
| 268 | Common Lisp | .l | 12 | 19.666667 | 78 | 0.718254 | rotatef/esmtp-client | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 3e1cf29fe14503e36718d673672c544dc6803372fb0fd3f73cbb365fd9f9a559 | 18,948 | [
-1
] |
18,971 | package.lisp | WilmerLeal_dendron/package.lisp | ;;;; package.lisp
(defpackage #:dendron
(:use #:cl)
(:export :dendron
:pattern-equal
:first-child
:second-child
:distance
:dendronp
:pattern-set
:elements))
| 190 | Common Lisp | .lisp | 11 | 13.272727 | 21 | 0.634831 | WilmerLeal/dendron | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 1ec1534c59d38b75012e56e42a483a1fd452032d2ab08bd58fbe99cbf51cc632 | 18,971 | [
-1
] |
18,972 | errors.lisp | WilmerLeal_dendron/errors.lisp | ;-*-Lisp-*-
;; Error conditions in dendron
(in-package :dendron)
;; (define-condition input-error ()
;; )
;; (define-condition no-reading-permission (input-error)
;; )
;; (define-condition input-file-does-not-exist (input-error)
;; )
;; (define-condition unknown-input-format (input-error)
;; )
;; (define-co... | 358 | Common Lisp | .lisp | 13 | 25.923077 | 60 | 0.700297 | WilmerLeal/dendron | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 0a54ea4a9e01ca3581fae543da79209b589471943de907b1c0004a8af1db7391 | 18,972 | [
-1
] |
18,973 | example.lisp | WilmerLeal_dendron/example.lisp |
(in-package :dendron)
(defvar lista '(((a 1 b 1) 2 (c 3 d 3) 2) 4 (e 5 (f 6 (g 7 h 7) 6) 5) 4))
| 97 | Common Lisp | .lisp | 2 | 47 | 73 | 0.521277 | WilmerLeal/dendron | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 0907ab92649fda497645a171231e8686cae68bc5dce8ba43bca2e8d5c9f5f4c2 | 18,973 | [
-1
] |
18,974 | dendron.lisp | WilmerLeal_dendron/dendron.lisp |
;;;; dendron.lisp
(in-package #:dendron)
(defun newick (lst)
(cond ((not (consp lst)) lst)
((= 4 (length lst))
(let (d1)
(destructuring-bind (fchild dist schild dist2) lst
(declare (ignore dist2))
(setf d1 (make-instance 'dendron
:first-child (newick fchild)
:second-child (newic... | 11,394 | Common Lisp | .lisp | 296 | 33.472973 | 108 | 0.637448 | WilmerLeal/dendron | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 2951931bbe0dd17aef0f74fb48d9a370c29b62ec0d001945b103205e9109f394 | 18,974 | [
-1
] |
18,975 | auxiliary.lisp | WilmerLeal_dendron/auxiliary.lisp | ; -*-mode: Lisp-*-
;; Contains some auxiliary functions
;; and macros
(in-package #:dendron)
;; Push at the end of a list
(defmacro lpush (obj lst)
"Replace cdr of the last cons with a cons containing an object as its car."
`(cond ((null ,lst) (setf ,lst (list ,obj)))
(t (push ,obj (rest (last ,lst))))))
(... | 1,606 | Common Lisp | .lisp | 43 | 33.302326 | 77 | 0.606684 | WilmerLeal/dendron | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 725a34ed7ae7834b74f429844bc1ae6bad14e6c6a9aefa4ca83a16c86590a3e5 | 18,975 | [
-1
] |
18,976 | conditions.lisp | WilmerLeal_dendron/conditions.lisp | ;-*-Lisp mode-*-
;; Contains error conditions
;; of dendron
(in-package :dendron)
(define-condition malformed-file (error)
((file :accessor file
:initarg :file)
(message :accessor message
:initarg :message)))
(define-condition malformed-line (malformed-file)
((line :accessor line
:initarg :line)))
... | 429 | Common Lisp | .lisp | 15 | 25.8 | 49 | 0.733496 | WilmerLeal/dendron | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 124af0318abf30eda73b62f08841673397dc17e45c67ded6b980ca16be0ab2c9 | 18,976 | [
-1
] |
18,977 | app.lisp | WilmerLeal_dendron/app.lisp | ;-*-Lisp mode-*-
;; Use this file for building
;; an executable with buildapp
(require :asdf)
(push (truename ".") asdf:*central-registry*)
(asdf:operate 'asdf:load-op 'dendron)
(in-package :dendron)
(defvar *dendron-usage*
"dendron -- a simple tool for calculating frequency of patterns within dendrograms. Such ca... | 7,195 | Common Lisp | .lisp | 123 | 46.357724 | 137 | 0.6082 | WilmerLeal/dendron | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | d3c14c52b20565b6b3f3c5cea4412f9eb9cf41157543538f08c04aa6a87121f8 | 18,977 | [
-1
] |
18,978 | classes.lisp | WilmerLeal_dendron/classes.lisp | ;-*-Lisp-*-
(in-package #:dendron)
;; Classes and some methods used in dendron.
(defclass pattern ()
((relaxed-support :accessor relaxed-support
:initform 0
:type float)
(support :accessor support
:initform 0
:type float)
(occurrence :accessor occurrence
:initform 0)
(membership
... | 10,215 | Common Lisp | .lisp | 289 | 31.242215 | 84 | 0.660162 | WilmerLeal/dendron | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 8086735d99ad008d7de2ff575343e5b350ced7b6ffa18612656adcad266f1ed9 | 18,978 | [
-1
] |
18,979 | variables.lisp | WilmerLeal_dendron/variables.lisp | ;-*-Lisp-*-
(in-package #:dendron)
;; Global variables used by dendron
(defvar *dendrons* nil "A list containing all dendrons read.")
(defvar *pattern-sets* nil "A list containing all pattern sets read.")
(defvar *input-formats* nil "An alist containing formats and tree parsing functions.")
(defvar *leaf-sorting-f... | 566 | Common Lisp | .lisp | 13 | 40.615385 | 86 | 0.703839 | WilmerLeal/dendron | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | 1df4498f8f70d4577acbba1ace897e6f9f04e05720e07929144e3c928558848a | 18,979 | [
-1
] |
18,980 | dendron.asd | WilmerLeal_dendron/dendron.asd | ;;;; dendron.asd
(asdf:defsystem #:dendron
:serial t
:description "Dendron is simple tool for calculating statistical support of dendrograms"
:author "Eugenio J. Llanos <ellanos@sciocorp.org> and Wilmer Leal <wilmerlealj@gmail.com>"
:license "This product is realeased under the terms of GPL v3.0"
:components... | 692 | Common Lisp | .asd | 12 | 51.833333 | 92 | 0.675994 | WilmerLeal/dendron | 3 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:44 AM (Europe/Amsterdam) | d606e437568adf861667f0ac844d502bb902b98640cb8ca8a13f552543b1de06 | 18,980 | [
-1
] |
19,005 | build.lisp | exercism_common-lisp-representer/build/build.lisp | (load "quicklisp/setup.lisp")
(ql:quickload "representer")
(let ((bin-dir (make-pathname :directory '(:relative "bin"))))
(ensure-directories-exist bin-dir)
(sb-ext:save-lisp-and-die (merge-pathnames "representer" bin-dir)
:toplevel #'(lambda ()
... | 477 | Common Lisp | .lisp | 9 | 35.111111 | 80 | 0.505353 | exercism/common-lisp-representer | 2 | 5 | 4 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d767b4157998c3f00859ee11242b2dcd5a98818ae1b2bbdad794cc9dc1a24401 | 19,005 | [
-1
] |
19,006 | manual-test.lisp | exercism_common-lisp-representer/test/manual-test.lisp | ;;;
;;; Functions useful for doing "one-off" manual testing
;;;
(in-package :representer-test)
(defun represent-stream (solution &optional (slug "test"))
(let ((repr (make-string-output-stream))
(map (make-string-output-stream)))
(unwind-protect
(progn (representer/main::produce-representation ... | 731 | Common Lisp | .lisp | 16 | 37.6875 | 81 | 0.63764 | exercism/common-lisp-representer | 2 | 5 | 4 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 0a2faffa7222a5680ef21ea718b1d76f2accb15b58461c8aa70de0d666883fae | 19,006 | [
-1
] |
19,007 | represent.lisp | exercism_common-lisp-representer/test/represent.lisp | (in-package :representer-test)
(def-suite represent-test :in all-tests)
(in-suite represent-test)
(def-fixture with-placeholders-initialized (slug)
(placeholder:init slug)
(&body)
(placeholder:init "outside-a-test"))
(test empty-form
(with-fixture with-placeholders-initialized ("slug")
(is (equalp '() (... | 6,492 | Common Lisp | .lisp | 140 | 31.914286 | 89 | 0.483581 | exercism/common-lisp-representer | 2 | 5 | 4 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f383d4fedbc6bcc465f60297ae5c86a90d107163464db8484980a84e63434e75 | 19,007 | [
-1
] |
19,008 | end-to-end.lisp | exercism_common-lisp-representer/test/end-to-end.lisp | (in-package :representer-test)
(def-suite end-to-end :in all-tests)
(in-suite end-to-end)
(defun load-expected-values (directory)
(let ((repr-file (representer/main::representation-file directory))
(mapping-file (representer/main::mapping-file directory)))
(values (uiop:read-file-forms repr-file)
... | 1,899 | Common Lisp | .lisp | 39 | 42.333333 | 84 | 0.690476 | exercism/common-lisp-representer | 2 | 5 | 4 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | cdac2a2a3ccbf74eed8912f8e3229e26372f6d57370632f322e17534dd04fb0c | 19,008 | [
-1
] |
19,009 | io.lisp | exercism_common-lisp-representer/test/io.lisp | (in-package :representer-test)
(def-suite* io-tests :in all-tests)
(test empty-mapping
(is (string= "{}"
(with-output-to-string (stream) (io:write-mapping '() stream)))))
(test slurp-solution
(is (equal '((list 1 2 3))
(io:slurp-solution (make-string-input-stream "(list 1 2 3)"))))
... | 1,133 | Common Lisp | .lisp | 25 | 34.88 | 89 | 0.546776 | exercism/common-lisp-representer | 2 | 5 | 4 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d798b3a3260164ceb8de59b8ffb428251989973a6f69bffa252fd9c90ed71b5d | 19,009 | [
-1
] |
19,010 | suite.lisp | exercism_common-lisp-representer/test/suite.lisp | (in-package :representer-test)
(def-suite all-tests)
(in-suite all-tests)
(defun run-tests (&optional (suite 'all-tests))
(run! suite))
(defun equalp++ (x y)
"EQUALP++ extends EQUALP to include checking uninterned symbols.
Two uninterned symbols are EQUALP++ if their their symbol names are STRING=."
(flet ((un... | 797 | Common Lisp | .lisp | 18 | 36.166667 | 77 | 0.573454 | exercism/common-lisp-representer | 2 | 5 | 4 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 7ce2a673ddc7c79a65a0ecc323449a1407f7d34fd5b587f72143f3cb575dd4c4 | 19,010 | [
-1
] |
19,011 | placeholder.lisp | exercism_common-lisp-representer/test/placeholder.lisp | (in-package :representer-test)
(def-suite placeholder-tests :in all-tests)
(in-suite placeholder-tests)
(defun test-cleanup () (placeholder:init "outside-of-a-test"))
(def-fixture init-with-slug (slug)
(placeholder:init slug)
(&body)
(test-cleanup))
(test starting-conditions
(with-fixture init-with-slug ("s... | 3,569 | Common Lisp | .lisp | 79 | 36.974684 | 85 | 0.610759 | exercism/common-lisp-representer | 2 | 5 | 4 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 02f231cae1c29eefeac8dea298e56a5deb166fff8a229a6dca8688bfd1752a87 | 19,011 | [
-1
] |
19,012 | two-fer.lisp | exercism_common-lisp-representer/test/files/two-fer/two-fer.lisp | (defpackage :two-fer
(:use :cl)
(:export :twofer))
(in-package :two-fer)
(defun twofer (&optional name)
(format nil "One for ~a, one for me." (or name "you")))
| 167 | Common Lisp | .lisp | 6 | 25.666667 | 57 | 0.65 | exercism/common-lisp-representer | 2 | 5 | 4 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 13183aaf12709b238d9042378c43ce3631a970b645d8d0ee2d23466dc9736192 | 19,012 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.