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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2,212 | canvas.lisp | VitoVan_calm/docs/examples/mondrian/canvas.lisp | ;;
;; Random Mondrian © 2023 by Vito Van
;; is licensed under CC BY-NC-SA 4.0.
;; To view a copy of this license, visit
;; http://creativecommons.org/licenses/by-nc-sa/4.0/
;; To obtain a commercial license, visit:
;; https://www.buymeacoffee.com/vitovan/e/119065
;;
(in-package #:calm)
#-jscl
(unless (s... | 1,799 | Common Lisp | .lisp | 48 | 33.666667 | 104 | 0.641217 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | c23ac6cb149e8d288b50ff055f4acc76690d2c9925e41a0beeb1a9b441ef3e5b | 2,212 | [
-1
] |
2,213 | canvas.lisp | VitoVan_calm/docs/examples/circles/canvas.lisp | (in-package #:calm)
#-jscl
(unless (str:starts-with? "dist" (uiop:getenv "CALM_CMD")) (swank:create-server))
(defparameter *color-list* '((0.83 0.82 0.84) (0.89 0.12 0.17) (0.94 0.87 0.47) (0 0.35 0.59)))
(defun draw ()
(c:set-operator :darken)
(dotimes (i 7)
(c:arc (+ 72 (* (- (/ *calm-window-width* 5) 44) i... | 435 | Common Lisp | .lisp | 10 | 40.7 | 95 | 0.576832 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 97ff314ce1a55880e0db390ab7118a5cf7d98f2f95e2a005cfc7b174e8244ba5 | 2,213 | [
-1
] |
2,214 | bundle.lisp | VitoVan_calm/s/usr/macos/bundle.lisp | #-calm
(ql:quickload :calm)
(in-package :calm)
(calm-config)
(defun make-bundle (app-name bundle-id app-version dist-dir app-icon)
(let* ((ori-plist (str:from-file (merge-pathnames "s/usr/macos/app-Info.plist" *calm-env-calm-home*)))
(app-dir (merge-pathnames (str:concat app-name ".app/") *calm-env-app-dir*... | 2,928 | Common Lisp | .lisp | 54 | 46.314815 | 113 | 0.644576 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 971a280c2ee02d71b47dd457990a1874990159761c590fc3cd2ec436580f65ab | 2,214 | [
-1
] |
2,215 | dmg.lisp | VitoVan_calm/s/usr/macos/dmg.lisp | #-calm
(ql:quickload :calm)
(in-package :calm)
(calm-config)
(defun make-dmg (app-name dmg-icon)
(uiop:chdir *calm-env-app-dir*)
;; clean old dmg
(uiop:delete-file-if-exists (merge-pathnames (str:concat app-name ".dmg") *calm-env-app-dir*))
(when (not (= (u:exec "command -v create-dmg" :ignore-error-status t... | 1,287 | Common Lisp | .lisp | 30 | 39.066667 | 115 | 0.623501 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | aa4aeaf2064a6a323ea9cc4cd0346033e1c3f38eaa4823ba19d7ec2f0b83fd9c | 2,215 | [
-1
] |
2,216 | load-and-compile.lisp | VitoVan_calm/s/usr/web/load-and-compile.lisp | #-calm
(ql:quickload :calm)
(in-package :calm)
(defun load-and-compile (lisp-files)
(let* ((app-web-dir (merge-pathnames "web/" *calm-env-app-dir*))
(app-output-file (merge-pathnames "canvas.js" app-web-dir))
(quicklisp-setup-file (merge-pathnames "quicklisp/setup.lisp" *calm-env-calm-home*))
... | 2,020 | Common Lisp | .lisp | 33 | 52.030303 | 132 | 0.643829 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | a46c3681cadc3d8bfcd0903c50b898e4d6e0a8545885a7860e745de4c5157bc1 | 2,216 | [
-1
] |
2,217 | wasm.lisp | VitoVan_calm/s/usr/web/wasm.lisp | #-calm
(ql:quickload :calm)
(in-package :calm)
(defun make-wasm (rebuild-wasm-p)
(let* ((calm-version (slot-value (asdf:find-system 'calm) 'asdf:version))
(web-tar-url (str:concat "https://github.com/VitoVan/calm/releases/download/" calm-version "/calm.tar"))
(build-web-dir (merge-pathnames "build/... | 11,855 | Common Lisp | .lisp | 275 | 30.712727 | 229 | 0.532475 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | de357b910ef1d10bb7aae759503411c711ce2c53d964952de41d81a7d2016269 | 2,217 | [
-1
] |
2,218 | post-compile.lisp | VitoVan_calm/s/usr/web/post-compile.lisp | #-calm
(ql:quickload :calm)
(in-package :calm)
(defun post-compile ()
(let* ((app-web-dir (merge-pathnames "web/" *calm-env-app-dir*))
(app-build-web-dir (merge-pathnames "build-web/" *calm-env-app-dir*))
(build-web-dir (merge-pathnames "build/web/" *calm-env-calm-home*))
(jscl-js-file (me... | 1,669 | Common Lisp | .lisp | 28 | 54.5 | 117 | 0.672161 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 0e3c47513254167fb4e4257adda277258118cc9e1a2fd00a6a9790d620b63034 | 2,218 | [
-1
] |
2,219 | jscl-compile-script-template.lisp | VitoVan_calm/s/usr/web/jscl-compile-script-template.lisp | (jscl:bootstrap)
;; track: https://github.com/jscl-project/jscl/issues/474
(pushnew :jscl *features*)
(jscl:compile-application
(concatenate 'list
(list "__CALM_HOME__src/web/package.lisp"
"__CALM_HOME__src/web/cairo.lisp"
"__CALM_HOME__src/c.lisp"
... | 617 | Common Lisp | .lisp | 15 | 27.866667 | 59 | 0.493355 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 7b4db4bd8987577c19926cdf29ae3dd693135f0037abfbd3666b47316dd452aa | 2,219 | [
-1
] |
2,220 | installer.lisp | VitoVan_calm/s/usr/windows/installer.lisp | #-calm
(ql:quickload :calm)
(in-package :calm)
(calm-config)
(defun make-installer (app-name dist-dir)
(uiop:chdir *calm-env-app-dir*)
(uiop:delete-directory-tree (merge-pathnames "calm-app-root/" *calm-env-app-dir*) :validate t :if-does-not-exist :ignore)
(uiop:delete-file-if-exists (merge-pathnames "installer... | 2,015 | Common Lisp | .lisp | 37 | 49.108108 | 123 | 0.677337 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 21a65edea0406cf1cc5201d9dc3f3fe250717f3600af069fe4118265442d92c7 | 2,220 | [
-1
] |
2,221 | icon.lisp | VitoVan_calm/s/usr/windows/icon.lisp | #-calm
(ql:quickload :calm)
(in-package :calm)
(calm-config)
(defun set-icon (app-icon)
(let ((rcedit-bin (merge-pathnames "s/usr/windows/rcedit.exe" *calm-env-calm-home*))
(rcedit-url "https://github.com/electron/rcedit/releases/download/v2.0.0/rcedit-x64.exe")
(old-sbcl (merge-pathnames "sbcl/bin/... | 1,389 | Common Lisp | .lisp | 27 | 40.62963 | 103 | 0.586411 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 8f46376d4216b4c56bc2dedb9407625858a81f559320e18f3896daa732e55fdb | 2,221 | [
-1
] |
2,222 | appimage.lisp | VitoVan_calm/s/usr/linux/appimage.lisp | #-calm
(ql:quickload :calm)
(in-package :calm)
(calm-config)
(defun make-appimage (app-name app-icon dist-dir)
(uiop:chdir *calm-env-app-dir*)
(let ((appimage-tool-bin (merge-pathnames "s/usr/linux/appimagetool.AppImage" *calm-env-calm-home*))
(appimage-tool-url "https://github.com/AppImage/AppImageKit/re... | 2,559 | Common Lisp | .lisp | 43 | 52.953488 | 119 | 0.671457 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 3dffa6c6c071482f408a68561fc86a16658fd0589e99f8b0634a1141cafee415 | 2,222 | [
-1
] |
2,223 | panic.lisp | VitoVan_calm/s/usr/all/panic.lisp | (in-package #:calm)
;;
;; CALM version check
;; version check won't work on JSCL, since the lack of ASDF
;;
#-jscl
(let ((required-version "1.3.2")
(calm-version (slot-value (asdf:find-system 'calm) 'asdf:version)))
(when (uiop:version< calm-version required-version)
(format t
"Sorry, this is b... | 1,709 | Common Lisp | .lisp | 55 | 28.981818 | 99 | 0.63791 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 2998776e802d13c5845889bfaf214d6d6d793890cbffcc114fe4650ae9cf6bf9 | 2,223 | [
-1
] |
2,224 | copy-lib.lisp | VitoVan_calm/s/dev/all/copy-lib.lisp | (mapcar
#'(lambda (lib)
(let* ((lib-pathname (cffi:foreign-library-pathname lib))
(lib-path-namestring (namestring lib-pathname)))
(unless (str:starts-with-p "/System" lib-path-namestring)
(uiop:run-program
;; this has to be done by `cp` because `uiop:copy-file` has some weir... | 820 | Common Lisp | .lisp | 18 | 31.333333 | 100 | 0.518102 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 4e0baaf01b699cd0c4f91e5baaeed8ce4357f0d51242542d836afa9c32c8e993 | 2,224 | [
-1
] |
2,225 | load-calm.lisp | VitoVan_calm/s/dev/all/load-calm.lisp | ;; the existence of this file is to avoid the tricky shitty escaping of quotation marks
#-quicklisp
(load "./quicklisp/setup.lisp")
;; https://groups.google.com/g/quicklisp/c/wrULkRePVE4
#+win32
(quicklisp-client::make-system-index "./quicklisp/local-projects/")
#-calm
(load "./calm.asd")
#-calm
(ql:quickload :calm)
| 318 | Common Lisp | .lisp | 10 | 30.8 | 87 | 0.75974 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 9ed70e90ad7234b0614cae55ee525c26b03aa8654988b588167c4050b4a3bcce | 2,225 | [
-1
] |
2,226 | quicklisp-fix-old-packages.sh | VitoVan_calm/s/dev/all/quicklisp-fix-old-packages.sh | # these are waiting for the next (maybe) Quicklisp update
cd ./quicklisp/local-projects
git clone https://github.com/andy128k/cl-gobject-introspection.git
cd cl-gobject-introspection
git reset --hard 4908a84c16349929b309c50409815ff81fb9b3c4
cd ..
| 248 | Common Lisp | .lisp | 6 | 40.166667 | 66 | 0.838174 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 24d31c3e8e5dd0fb4a9cd579ade55d7b5fc2cd505469a82c9327eebecf3efa05 | 2,226 | [
-1
] |
2,227 | quicklisp.sh | VitoVan_calm/s/dev/all/quicklisp.sh | echo "Install Quicklisp ..."
if ! [ -d quicklisp ]; then
if ! [ -f quicklisp.lisp ]; then
set -x
curl -o ./quicklisp.lisp -L https://beta.quicklisp.org/quicklisp.lisp
set +x
fi
./calm sbcl \
--load quicklisp.lisp \
--load ./s/dev/all/install-quicklisp.lisp
fi
| 318 | Common Lisp | .lisp | 11 | 22.636364 | 77 | 0.576547 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 07f79973908af9be735c6738d36869e37b4052bad551a7e2fef83c619422ac5e | 2,227 | [
-1
] |
2,228 | quicklisp-fix-apple-silicon.sh | VitoVan_calm/s/dev/all/quicklisp-fix-apple-silicon.sh | # https://github.com/lispgames/cl-sdl2/issues/154#issuecomment-1280030566
# this path is made on 2024-08-06
# should be removed when the following PR merged:
# https://github.com/lispgames/cl-sdl2/pull/167
# https://github.com/lispgames/cl-sdl2-image/pull/11
# https://github.com/Failproofshark/cl-sdl2-ttf/pull/28... | 1,432 | Common Lisp | .lisp | 38 | 33.947368 | 73 | 0.742424 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 0f9aeb5adc80117e80c9f121bb782e9b126ff2b0eae3d185e49946011be59b60 | 2,228 | [
-1
] |
2,229 | install-quicklisp.lisp | VitoVan_calm/s/dev/all/install-quicklisp.lisp | ;; the existence of this file is purely for the suckness of white-space / quotation escaping on different platforms.
(quicklisp-quickstart:install :path "./quicklisp")
(quit)
| 175 | Common Lisp | .lisp | 3 | 57.333333 | 116 | 0.790698 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 16fc67f5865620560b5d3863a4762b6b4d4770924b12381bf1e4ae94b6e74e84 | 2,229 | [
-1
] |
2,230 | calm.asd | VitoVan_calm/calm.asd | (asdf:defsystem #:calm
:description "CALM - Canvas Aided Lisp Magic"
:version "1.3.2"
:author "Vito Van"
:license "GNU General Public License, version 2"
:depends-on (
#:sdl2
#:sdl2-mixer
#:sdl2-image
#:str
#:swank
#:bt-... | 687 | Common Lisp | .asd | 24 | 17.583333 | 50 | 0.447964 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 1123921b672d89394ad82a61229528ee14c0d0e140d14c0cd0ae72584593ff9d | 2,230 | [
-1
] |
2,231 | sbcl.yml | VitoVan_calm/.github/workflows/sbcl.yml | name: SBCL
on:
push:
tags:
- "sbcl-*"
- "test-sbcl-*"
jobs:
Ubuntu:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
# Steps represent a sequence of tasks that will be executed as part of the job
steps... | 4,953 | Common Lisp | .cl | 144 | 25.083333 | 198 | 0.564718 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | c7db6ea1b266b4d4a785b8431e6db8f735684d70c0b8e3868f651f44f0b9e63c | 2,231 | [
-1
] |
2,233 | sbcl.sh | VitoVan_calm/s/dev/msys/sbcl.sh | echo "Install SBCL binary (with compression feature) ..."
if ! [ -d sbcl ]; then
if ! [ -f install_root.zip ]; then
set -x
curl -o install_root.zip -L https://github.com/VitoVan/calm/releases/download/sbcl-2.4.7/install_root-windows-2019.zip
set +x
fi
rm -rf ./install_root
rm -f ... | 389 | Common Lisp | .cl | 12 | 27.416667 | 126 | 0.64191 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 9e9851e8697939295c67bda9a54dba4e8e558c93742104fbe1929ae7bd0b2c17 | 2,233 | [
-1
] |
2,234 | sbcl.sh | VitoVan_calm/s/dev/darwin/sbcl.sh | echo "Install SBCL binary (with compression feature) ..."
if ! [ -d sbcl ]; then
if ! [ -f install_root.zip ]; then
set -x
if [[ -z "${CI_MATRIX_OS}" ]]; then
macos_version=$(sw_vers -productVersion | cut -d. -f1)
echo "macOS version: $macos_version"
curl -o insta... | 721 | Common Lisp | .cl | 18 | 32.833333 | 140 | 0.610242 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 2b7ae614ee52860a96c106dd2d242ecc67ca047738a703464abc697a142532c6 | 2,234 | [
-1
] |
2,235 | sbcl.sh | VitoVan_calm/s/dev/fedora/sbcl.sh | echo "Install SBCL binary (with compression feature) ..."
if ! [ -d sbcl ]; then
if ! [ -f install_root.zip ]; then
set -x
curl -o install_root.zip -L https://github.com/VitoVan/calm/releases/download/sbcl-2.4.7/install_root-ubuntu-20.04.zip
set +x
fi
rm -rf ./install_root
rm -f ... | 389 | Common Lisp | .cl | 12 | 27.416667 | 126 | 0.639257 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | db3045d17b4464fb66877c3e8c7d8cdec509878cd4f0d45499d9e4fd9d6f705c | 2,235 | [
-1
] |
2,239 | build.bat | VitoVan_calm/build/build.bat | echo "build launcher ..."
cl /Fe:calmNoConsole src\calm.c /link /SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup
cl /Fe:calm src\calm.c /link /SUBSYSTEM:CONSOLE
echo "executing build.sh in MSYS2 ..."
C:\msys64\msys2_shell.cmd -defterm -here -no-start -mingw64 -c 'bash ./build/build.sh'
| 279 | Common Lisp | .l | 5 | 54.8 | 86 | 0.751825 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 63b85cd7a54668568b25f97039c1ace6206c13b837ce0ca91b551fcb075111f6 | 2,239 | [
-1
] |
2,240 | build.sh | VitoVan_calm/build/build.sh | export CALM_BUILDING=1
env
build_fedora () {
sudo dnf update -y
if ! [ -f calm ]; then
echo "build launcher ..."
sudo dnf install gcc -y
gcc src/calm.c -o calm
fi
echo "remove Windows fonts dir ..."
sed '/<dir>C:\\Windows\\Fonts<\/dir>/d' s/usr/all/fonts.conf > tmp-fonts.c... | 4,337 | Common Lisp | .l | 116 | 31.482759 | 124 | 0.609895 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | cae5c1f735d6e2f631f95da10ae39ba2fee2ee0a54120e674816fe3f7904fc62 | 2,240 | [
-1
] |
2,249 | calm.c | VitoVan_calm/src/calm.c | /*
* CAUTION:
*
* !!!! SHITTY CODE AHEAD !!!!
*
* I tried to replace Bash with C to get more compatibility
* on different OSes, but iSuck@C.
* Now the bright side is that it worked,
* the dark side is that the code is worse than the Bash scripts.
*
* Please forgive me, and improve the code if you don't min... | 10,710 | Common Lisp | .l | 387 | 24.178295 | 161 | 0.617495 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | ed8577079cc941d26eb91ab94354e6fa77757ed67cc47cbd5c5037594d541ddf | 2,249 | [
-1
] |
2,252 | calm.c | VitoVan_calm/src/web/calm.c | #include <SDL2/SDL.h>
#include <SDL2/SDL_mixer.h>
#include <cairo/cairo.h>
#include <emscripten.h>
#include <stdbool.h>
#include <stdio.h>
SDL_Window *window;
SDL_Renderer *renderer;
SDL_Texture *texture;
cairo_surface_t *cr_surface = NULL;
int fps = 0;
int window_width = 600;
int window_height = 150;
int renderer_... | 7,073 | Common Lisp | .l | 183 | 31.060109 | 80 | 0.640093 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | d4c6e1b9e6ed519bc644c9beea3725b053ea74f27d01b2b2969e8b6c1454d057 | 2,252 | [
-1
] |
2,253 | calm.html | VitoVan_calm/src/web/calm.html | <!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>CALM</title>
<link rel="icon" type="image/x-icon" href="favicon.ico">
<style>
html, body {
height: 100%;
}
body {
font-famil... | 7,838 | Common Lisp | .l | 212 | 28.183962 | 223 | 0.571579 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 0839665e31dc09747ff297c8cc311db207bc9991d39188906866e71a0e329b5f | 2,253 | [
-1
] |
2,254 | installation_JA.md | VitoVan_calm/docs/installation_JA.md | # CALM インストール
## CALM の設定
もう[ダウンロード](https://github.com/VitoVan/calm#pre-built-binary)済みですよね?
では、使いやすい環境を整えてみましょう。
- Linux
```bash
tar xvf calm.tgz --directory=$HOME/
echo 'export PATH="$HOME/calm/:$PATH"'>> ~/.bashrc
```
- macOS
1. ダウンロードした DMG ファイルを開きます
2. .app をアプリケーションフォルダにドラッグします
3. 私を信じて、Calm.... | 1,785 | Common Lisp | .l | 33 | 30.090909 | 176 | 0.694139 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 55c63b03e854c7051cfee1540e24d43ea4c7c608ad8a5b715c7d3245ac8c3728 | 2,254 | [
-1
] |
2,255 | installation.md | VitoVan_calm/docs/installation.md | # CALM Installation
## Setting Up CALM
You have [donwloaded](https://github.com/VitoVan/calm#pre-built-binary) it, right?
Now let's set up the environment for the ease of use.
- Linux
```bash
tar xvf calm.tgz --directory=$HOME/
echo 'export PATH="$HOME/calm/:$PATH"'>> ~/.bashrc
```
- macOS
1. Open the dow... | 1,438 | Common Lisp | .l | 33 | 39 | 270 | 0.689033 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 215957d805b51135bf7e6a5de8e8b274e6542bd00ced9885a1d6d581ec9d107d | 2,255 | [
-1
] |
2,256 | changelog.org | VitoVan_calm/docs/changelog.org | * CALM
** 1.3.2
- better code signing for CALM made applications
Before this change:
1. CALM itself will be shown as a damaged application,
the user has to de-quarantine it with command line:
xattr -d com.apple.quarantine /Applications/Calm.app
2. CALM made applications, will also be shown as damage... | 4,738 | Common Lisp | .l | 124 | 35.870968 | 134 | 0.745213 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 5765b82b194f87c2b27200c1a8d848cbaf575a081200877010340aa5ae084ef0 | 2,256 | [
-1
] |
2,263 | calm.yml | VitoVan_calm/.github/workflows/calm.yml | name: CI
on: push
jobs:
Linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Build for Linux
run: |
docker run --env CI=true -v $PWD:/calm -w /calm fedora:32 bash build/build.sh
ls -lah .
- name: Upload Artifact
uses: actions/uploa... | 24,715 | Common Lisp | .l | 734 | 24.393733 | 339 | 0.579093 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 085a0e25dc5a9ee67d53a51c7a00d75c401fa4a3767ab33a701618b6b7ccf635 | 2,263 | [
-1
] |
2,264 | app-Info.plist | VitoVan_calm/s/usr/macos/app-Info.plist | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleGetInfoString</key>
<string>_APP_NAME_</string>
<key>CFBundleExecutable</key>
<string>calm</string>
<key>CFBundleIden... | 895 | Common Lisp | .l | 28 | 29.392857 | 111 | 0.72895 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 8ddfb81c6eae76d577279dc1f8d741c2dabf920f9c7a89d8e21f26154e3251ec | 2,264 | [
-1
] |
2,272 | installer.nsi | VitoVan_calm/s/usr/windows/installer.nsi | ;NSIS Modern User Interface
;Basic Example Script
;Written by Joost Verburg
;--------------------------------
;Include Modern UI
!include "MUI2.nsh"
;--------------------------------
;General
;Name and file
Name "_APP_NAME_"
OutFile "_APP_NAME_-Installer.exe"
Unicode True
;Default installation folder
... | 2,955 | Common Lisp | .l | 73 | 37.589041 | 131 | 0.714737 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | dfac2f8cb101cea889b95c609ee2e5fab1c8868d67072586beebe051c5d82f0c | 2,272 | [
-1
] |
2,277 | config-lib.sh | VitoVan_calm/s/dev/msys/config-lib.sh | echo "config all libraries (.dll) ..."
cd ./lib
cp /mingw64/bin/libzstd.dll ./
cp /mingw64/bin/libpangocairo*.dll ./
# copy all the DLLs required by *.dll
ldd *.dll | grep mingw | awk '{print $3}' | xargs -I _ cp _ .
# copy all typelibs
cp -R /mingw64/lib/girepository-1.0/*.typelib ./
| 290 | Common Lisp | .l | 8 | 34.875 | 62 | 0.673835 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | d00fee4f14e4d9c51ae5bd51199a3ecb87ca475aff178901ceaad2ce627407bc | 2,277 | [
-1
] |
2,279 | config-lib.sh | VitoVan_calm/s/dev/darwin/config-lib.sh | # debug
set -x
echo "config all libraries (.dylib) ..."
cd ./lib
cp $(brew --prefix)/lib/libzstd.dylib ./
cp $(brew --prefix)/lib/libpangocairo*.dylib ./
# copy all dependencies
# this should be ran for many times until no more dylib need to be copied
# loop 42 times to make sure every dependency's dependency's depe... | 2,113 | Common Lisp | .l | 52 | 38.673077 | 118 | 0.720999 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 95a3a20c728a4246aa1d67a4ed1def6f39eb986915a1e85b319238856d00e4db | 2,279 | [
-1
] |
2,281 | config-lib.sh | VitoVan_calm/s/dev/fedora/config-lib.sh | echo "config all libraries (.so) ..."
cd ./lib
cp /usr/lib64/libzstd.so* ./
cp /usr/lib64/libpangocairo-*.so* ./
chmod +x *.so*
ldd ./*.so* | grep '=> /lib64' | awk '{print $3}' | sort | uniq | xargs -I _ cp _ .
rm -f libc.so*
rm -f libm.so*
rm -f libstdc++.so*
rm -f libdl.so*
rm -f librt.so*
rm -f libpthread.so*
cp ... | 364 | Common Lisp | .l | 13 | 26.846154 | 83 | 0.621777 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 098b709e1e36f1b28a2df730c83d4fbdbe4864d2554249725a8ffa1803d7b57a | 2,281 | [
-1
] |
2,284 | copy-lib.sh | VitoVan_calm/s/dev/all/copy-lib.sh | echo "Copy all libraries (.so / .dll / .dylib) ..."
rm -rf ./lib
mkdir ./lib
./calm sbcl --load ./s/dev/all/load-calm.lisp --load ./s/dev/all/copy-lib.lisp
| 156 | Common Lisp | .l | 4 | 38 | 78 | 0.644737 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | a3318a103124dc7d78b5edef029ac4e3cbeaa22220a6391a5ab11b9f6d80c68d | 2,284 | [
-1
] |
2,285 | clean.sh | VitoVan_calm/s/dev/all/clean.sh | rm -rf ./lib
rm -rf ./sbcl
rm -rf ./quicklisp
rm -f ./install_root.zip
rm -f ./calm.core
rm -f ./calm.exe
rm -f ./calmNoConsole.exe
rm -f ./calm
rm -f ./quicklisp.lisp
| 168 | Common Lisp | .l | 9 | 17.666667 | 25 | 0.679245 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | bb86d1f2467040d45ae41db473baf886a2975343a8b7404653698838640367d0 | 2,285 | [
-1
] |
2,287 | alive.sh | VitoVan_calm/s/dev/all/alive.sh | echo "Downloading alive-lsp ..."
if ! [ -d quicklisp/local-projects/alive-lsp ]; then
git clone --depth 1 --branch v0.2.7 https://github.com/nobody-famous/alive-lsp.git quicklisp/local-projects/alive-lsp
./calm sbcl --load ./s/dev/all/load-calm.lisp --load ./s/dev/all/install-alive.lisp
fi
| 299 | Common Lisp | .l | 5 | 57.2 | 121 | 0.717687 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 68ba9b66be00306ef3d1e3dbbfeb235594112f1e715c1804f5229a92de84800a | 2,287 | [
-1
] |
2,289 | copy-lib-with-canvas.sh | VitoVan_calm/s/dev/all/copy-lib-with-canvas.sh | echo "Copy libraries with canvas.lisp (.so / .dll / .dylib) ..."
cd ./lib
../calm sbcl \
--load ./s/dev/all/load-calm.lisp \
--load "${CALM_APP_DIR}/canvas.lisp" \
--load ./s/dev/all/copy-lib.lisp
| 221 | Common Lisp | .l | 6 | 31.833333 | 64 | 0.572093 | VitoVan/calm | 101 | 3 | 8 | GPL-2.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | d12f7b028fab507db93321eefe71390683295d59a7adb71884b61967d4c9a0eb | 2,289 | [
-1
] |
2,306 | run-tests.lisp | fosskers_cl-transducers/run-tests.lisp | (ql:quickload :transducers/tests)
(in-package :transducers/tests)
(let ((status (parachute:status (parachute:test 'transducers/tests))))
(cond ((eq :PASSED status) (uiop:quit))
(t (uiop:quit 1))))
| 208 | Common Lisp | .lisp | 5 | 38.4 | 70 | 0.69802 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 490c796440472b2b222c0278540458d850deb728b8ade5f01f10b543e8d7810a | 2,306 | [
-1
] |
2,307 | jzon.lisp | fosskers_cl-transducers/jzon/jzon.lisp | (defpackage transducers/jzon
(:use :cl)
(:shadow #:read #:write)
(:import-from #:trivia #:match)
(:local-nicknames (#:t #:transducers)
(#:j #:com.inuoe.jzon))
(:export #:read #:write)
(:documentation "JSON extensions for Transducers."))
(in-package :transducers/jzon)
(defstruct (json (... | 3,911 | Common Lisp | .lisp | 86 | 35.848837 | 90 | 0.562582 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 7a71a8ccebf381e041f42212d06d53a2e645b7ebe9d91ac11e4863c2052f825d | 2,307 | [
-1
] |
2,308 | fset.lisp | fosskers_cl-transducers/fset/fset.lisp | (defpackage transducers/fset
(:use :cl)
(:shadow #:set #:map)
(:local-nicknames (#:t #:transducers)
(#:s #:fset))
(:export #:set #:map #:seq #:bag)
(:documentation "Fset extensions for Transducers."))
(in-package :transducers/fset)
;; --- Transducers --- ;;
(defmethod t:transduce (xform... | 4,408 | Common Lisp | .lisp | 116 | 29.784483 | 72 | 0.537866 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | aa2aa6a59aa606e4e2e9e2a96011aa696cd086250f245ded311b96dc6580245b | 2,308 | [
-1
] |
2,309 | main.lisp | fosskers_cl-transducers/tests/main.lisp | (defpackage transducers/tests
(:use :cl :parachute)
(:local-nicknames (#:t #:transducers)
(#:j #:transducers/jzon)
(#:s #:transducers/fset)))
(in-package :transducers/tests)
(define-test reduction)
(define-test "Collecting"
:parent reduction
(is equal '() (t:transduce ... | 11,023 | Common Lisp | .lisp | 223 | 42.627803 | 135 | 0.538755 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 35f27189a3cda21b38f1cca92a04dd195ca58345bcbd86fba6db679141283e79 | 2,309 | [
-1
] |
2,310 | sources.lisp | fosskers_cl-transducers/transducers/sources.lisp | (in-package :transducers)
(defstruct (generator (:copier nil) (:predicate nil))
"A wrapper around a function that can potentially yield endless values."
(func nil :read-only t :type (function () *)))
(defvar *done* 'done
"A value to signal the end of an unfolding process.")
(defstruct (plist (:copier nil) (:pr... | 3,754 | Common Lisp | .lisp | 91 | 33.043956 | 86 | 0.583036 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | d05a1adb2f5af249be425d60c0a2c9b9e4a7072d30d25ad6a51e9d3ae9fd07fb | 2,310 | [
-1
] |
2,311 | utils.lisp | fosskers_cl-transducers/transducers/utils.lisp | (in-package :transducers)
(defun ensure-function (arg)
(cond ((functionp arg) arg)
((symbolp arg) (ensure-function (symbol-function arg)))
(t (error "Argument is not a function: ~a" arg))))
;; TODO Make this a macro.
(defun comp (function &rest functions)
"Function composition.
(funcall (comp #'1... | 1,980 | Common Lisp | .lisp | 52 | 33.173077 | 78 | 0.659364 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 7dddf577c9da9d66e27b51fc78a33feac867ddc57b5a2da5961c8e8960f56f95 | 2,311 | [
-1
] |
2,312 | entry.lisp | fosskers_cl-transducers/transducers/entry.lisp | (in-package :transducers)
(defgeneric transduce (xform f source)
(:documentation "The entry-point for processing some data source via transductions.
This requires three things:
- A transducer function, or a composed chain of them
- A reducing function
- A source
Note: `comp' can be used to chain transducers toget... | 9,414 | Common Lisp | .lisp | 219 | 35.894977 | 107 | 0.613415 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | dcc1f7217d5f5dbecd8581f02660cbf273ceae38617bd35afccdcdb4f19ccc0d | 2,312 | [
-1
] |
2,313 | conditions.lisp | fosskers_cl-transducers/transducers/conditions.lisp | (in-package :transducers)
(define-condition imbalanced-plist (error)
((key :initarg :key :reader imbalanced-plist-key))
(:documentation "A given `plist' source had an uneven number of keys.")
(:report (lambda (condition stream)
(format stream "The final key ~a had no value."
(im... | 3,273 | Common Lisp | .lisp | 65 | 41.723077 | 101 | 0.638125 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | a8658db1eeecae7c8e26f9dc91b1510cc939733038113c0f3730e615ba1f4d6a | 2,313 | [
-1
] |
2,314 | reducers.lisp | fosskers_cl-transducers/transducers/reducers.lisp | (in-package :transducers)
(declaim (ftype (function (&optional list t) list) cons))
(defun cons (&optional (acc nil a-p) (input nil i-p))
"Reducer: Collect all results as a list."
(cond ((and a-p i-p) (cl:cons input acc))
((and a-p (not i-p)) (nreverse acc))
(t '())))
(declaim (ftype (function (&o... | 8,807 | Common Lisp | .lisp | 210 | 35.719048 | 136 | 0.607009 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 5f254ccc24d3cc68f0b7556673c16404a669abd453b61dac79e70e8dfc066c6b | 2,314 | [
-1
] |
2,315 | transducers.asd | fosskers_cl-transducers/transducers.asd | (defsystem "transducers"
:version "1.2.0"
:author "Colin Woodbury <colin@fosskers.ca>"
:license "LGPL-3.0-only"
:depends-on (:sycamore)
:components ((:module "transducers"
:components
((:file "transducers")
(:file "reducers")
(:file "sources")
... | 1,650 | Common Lisp | .asd | 47 | 26.851064 | 78 | 0.5875 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 7a62e3140222258a21927ce2387404c0511770fd87748181b433a04c1922588a | 2,315 | [
-1
] |
2,317 | .build.yml | fosskers_cl-transducers/.build.yml | image: archlinux
secrets:
- 5c5bf3b5-a730-49d9-b46a-cb6baa48092d
packages:
- sbcl
- quicklisp
- emacs-nox
- jq
sources:
- https://git.sr.ht/~fosskers/cl-transducers
tasks:
# If our project isn't in the special `common-lisp` directory, quicklisp won't
# be able to find it for loading.
- move: |
mkdir common-lisp
... | 1,321 | Common Lisp | .l | 39 | 29.692308 | 118 | 0.653666 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 4ba783ed5853f64f131455b066b5bd75fb4ab7db008e7b0cb1f68339203ada5e | 2,317 | [
-1
] |
2,319 | qlfile.lock | fosskers_cl-transducers/qlfile.lock | ("quicklisp" .
(:class qlot/source/dist:source-dist
:initargs (:distribution "https://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest)
:version "2023-10-21"))
("ultralisp" .
(:class qlot/source/dist:source-dist
:initargs (:distribution "https://dist.ultralisp.org" :%version :latest)
:version "2024071... | 331 | Common Lisp | .l | 8 | 39.125 | 93 | 0.73065 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 0707519e9f61530e0cdaed82881623a3840e99bf9dfb294bd2e3751a23ade4d0 | 2,319 | [
-1
] |
2,322 | index.html | fosskers_cl-transducers/docs/index.html | <!DOCTYPE html> <html lang="EN"> <head> <meta charset="utf-8"> <title>Transducers</title> <style>html body{margin:0 auto 0 auto;padding:20px;max-width:1024px;font-family:sans-serif;font-size:14pt;overflow-y:scroll;}html body a{text-decoration:none;}html body a[href]{color:#0055AA;}html body a[href]:hover{color:#0088EE;... | 53,673 | Common Lisp | .l | 183 | 289.021858 | 7,244 | 0.718523 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 5758064292f5c4fb3a8d6757ca4e4f916c030530c45b86dc28cf31c36f6d04ec | 2,322 | [
-1
] |
2,323 | index.html | fosskers_cl-transducers/docs/transducers/tests/index.html | <!DOCTYPE html> <html lang="EN"> <head> <meta charset="utf-8"> <title>Transducers/Tests</title> <style>html body{margin:0 auto 0 auto;padding:20px;max-width:1024px;font-family:sans-serif;font-size:14pt;overflow-y:scroll;}html body a{text-decoration:none;}html body a[href]{color:#0055AA;}html body a[href]:hover{color:#0... | 6,425 | Common Lisp | .l | 48 | 124.645833 | 4,741 | 0.720006 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | ea7a70b36a1b2859d99c777ab9ec0896dd644286d0efe40b57abf0b79a030dc8 | 2,323 | [
-1
] |
2,324 | index.html | fosskers_cl-transducers/docs/transducers-jzon/index.html | <!DOCTYPE html> <html lang="EN"> <head> <meta charset="utf-8"> <title>Transducers Jzon</title> <style>html body{margin:0 auto 0 auto;padding:20px;max-width:1024px;font-family:sans-serif;font-size:14pt;overflow-y:scroll;}html body a{text-decoration:none;}html body a[href]{color:#0055AA;}html body a[href]:hover{color:#00... | 6,467 | Common Lisp | .l | 48 | 125.520833 | 4,783 | 0.718409 | fosskers/cl-transducers | 103 | 4 | 5 | LGPL-3.0 | 9/19/2024, 11:25:29 AM (Europe/Amsterdam) | 147f8a16a07f5a01d736f1e5220565b1c1d2ac64d4620cc0c987cda5c1e8cd63 | 2,324 | [
-1
] |
2,345 | reverse-stream.lisp | j3pic_lisp-binary/reverse-stream.lisp | (defpackage :reverse-stream
(:use :common-lisp :trivial-gray-streams :lisp-binary/integer :lisp-binary-utils)
(:export :wrap-in-reverse-stream :with-wrapped-in-reverse-stream :reverse-stream)
(:documentation "A stream that reads from another stream and reverses the bit order
of each byte so that the low-order bit... | 4,988 | Common Lisp | .lisp | 100 | 45.74 | 111 | 0.72949 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | c948c89748e3688e5e0fe1883927fc8bf7d8c451cb78ae59cb67e3eb8b6d1fe4 | 2,345 | [
-1
] |
2,346 | simple-bit-stream.lisp | j3pic_lisp-binary/simple-bit-stream.lisp | (defpackage :simple-bit-stream
(:use :common-lisp :trivial-gray-streams :lisp-binary/integer :lisp-binary-utils)
(:export :wrap-in-bit-stream :with-wrapped-in-bit-stream :bit-stream :read-bits
:write-bits :read-bytes-with-partial :byte-aligned-p))
(in-package :simple-bit-stream)
(defclass bit-stream (fundamen... | 14,721 | Common Lisp | .lisp | 333 | 38.993994 | 103 | 0.67759 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | 8e6d569cd1cea80a846c9b6d7de221a356aaf8e839a029487517a5115e19cfc3 | 2,346 | [
-1
] |
2,347 | integer.lisp | j3pic_lisp-binary/integer.lisp | (defpackage :lisp-binary/integer
(:use :common-lisp :lisp-binary-utils)
(:export :get-lsb-byte :encode-lsb :decode-lsb :encode-msb :decode-msb
:signed->unsigned :unsigned->signed :unsigned->signed/bits
:signed->unsigned/bits
:read-integer :write-integer :read-bytes :write-bytes :pop-bits
:split-bit... | 13,161 | Common Lisp | .lisp | 325 | 36.009231 | 108 | 0.678381 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | a5d04b4dac8ebd954c887780ebed3acf0a72f6df4afb61e6afbf058129fef296 | 2,347 | [
-1
] |
2,348 | types.lisp | j3pic_lisp-binary/types.lisp | (in-package :lisp-binary)
(define-lisp-binary-type type-info (type)
(if (gethash type *enum-definitions*)
(values 'symbol
`(read-enum ',type ,stream-symbol)
`(write-enum ',type ,name ,stream-symbol))
(values type
`(read-binary ',type ,stream-symbol)
`(write-binary ,name ,strea... | 35,602 | Common Lisp | .lisp | 778 | 39.755784 | 122 | 0.670614 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | 29aa6725cbb8fba8bc57d637ef82206a2b4c5131c7831bd99a74706fc4266826 | 2,348 | [
-1
] |
2,349 | float.lisp | j3pic_lisp-binary/float.lisp | (defpackage :lisp-binary/float
(:use :common-lisp :lisp-binary/integer)
(:export :decode-float-bits :encode-float-bits :read-float :write-float :nanp :infinityp
:+inf :-inf :quiet-nan :signalling-nan))
(in-package :lisp-binary/float)
(declaim (optimize (debug 0) (speed 3)))
;; Support actual NaNs and infini... | 23,008 | Common Lisp | .lisp | 494 | 41.874494 | 124 | 0.708356 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | 827c5747af962a4c0c33143ed7bb8010fb4d7ea2b9b143278ee4881cf175dde2 | 2,349 | [
-1
] |
2,350 | binary-2.lisp | j3pic_lisp-binary/binary-2.lisp | (in-package :lisp-binary)
(defun expand-defbinary-type-field (type-info)
"Expands the :TYPE field of a DEFBINARY form. Returns three values:
1. A :TYPE specifier that can be spliced into a slot definition in a DEFSTRUCT form.
2. A READER-FORM that can be spliced into another function to read a datum of th... | 35,390 | Common Lisp | .lisp | 733 | 39.758527 | 146 | 0.651213 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | 1ea7bd6ca481f9d388b01eea8eade4bbd591719b35da3bfbd1b6b3813188b779 | 2,350 | [
-1
] |
2,351 | exif.lisp | j3pic_lisp-binary/exif.lisp | (defpackage :exif
(:use :common-lisp :lisp-binary :lisp-binary-utils))
(in-package :exif)
(declaim (optimize (debug 3) (speed 0)))
(define-enum tiff-type 2 (:byte-order :dynamic)
(:unsigned-byte 1)
:ascii
:unsigned-short
:unsigned-long
:unsigned-rational ;; Two unsigned-longs
:signed-byte
:undefined
... | 12,216 | Common Lisp | .lisp | 311 | 32.861736 | 94 | 0.634876 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | 4b6c2a738950381b3b5d5f8968c4fbeb641eb20ea0cf88728caf660a0f4e41f6 | 2,351 | [
-1
] |
2,352 | utils.lisp | j3pic_lisp-binary/utils.lisp | (cl:defpackage lisp-binary-utils
(:use :common-lisp :moptilities)
(:shadowing-import-from :closer-mop)
(:export :subst* :struct-like-defclass :bind-class-slots :remove-plist-keys :recursive-find
:recursive-map :assoc-cdr :aif :awhen :it :destructuring-case :destructuring-lambda
:no-destructuring-match :re... | 16,028 | Common Lisp | .lisp | 410 | 33.363415 | 116 | 0.658384 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | c1e06bacb35cc304d83c1dd8d19a14ec10124daa06ffc0af7335cacb442f1812 | 2,352 | [
-1
] |
2,353 | doom-wad.lisp | j3pic_lisp-binary/doom-wad.lisp | (defpackage :lisp-binary-doom-wad
(:use :common-lisp :lisp-binary))
(in-package :lisp-binary-doom-wad)
(defparameter *doom-wad* #P"/usr/share/games/doom/doom.wad")
(define-enum wad-type 1 ()
(i 73)
(p 80))
(defbinary index-entry (:export t)
(offset 0 :type (signed-byte 32))
(size 0 :type (unsigned... | 3,473 | Common Lisp | .lisp | 97 | 29.989691 | 71 | 0.644239 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | c6d95399465a5537ab94fa8df9026f691c4c3fb5df4bd707694b41c94392d956 | 2,353 | [
-1
] |
2,354 | buffer-streams.lisp | j3pic_lisp-binary/buffer-streams.lisp | (defpackage :lisp-binary/buffer-streams
(:use :common-lisp :trivial-gray-streams))
(in-package :lisp-binary/buffer-streams)
(defclass buffer-stream (fundamental-binary-stream)
((buffer :initarg :buffer)
(read-pointer :initform 0)))
(defun make-buffer-stream (element-type)
(make-instance 'buffer-stream :buff... | 1,206 | Common Lisp | .lisp | 26 | 41.923077 | 113 | 0.711322 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | b2007491a4be3c5e1d58281c9eff42b4d88e9831d8ec9449941f5ff645140625 | 2,354 | [
-1
] |
2,355 | test.lisp | j3pic_lisp-binary/test.lisp | (defpackage :lisp-binary-test
(:use :common-lisp :lisp-binary))
(in-package :lisp-binary-test)
(defbinary index-test ()
(pointers #() :type (counted-array 2 (unsigned-byte 32)))
(data #() :type (simple-array (unsigned-byte 32) ((length pointers)))))
(defparameter test-data
(make-index-test :pointers (make-ar... | 7,594 | Common Lisp | .lisp | 187 | 36.31016 | 107 | 0.686634 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | a7fd015446882a37626d052d12eb7ab533e15d762dbdc3f1cd7746ed16242141 | 2,355 | [
-1
] |
2,356 | fast-kw.lisp | j3pic_lisp-binary/fast-kw.lisp | (defpackage :fast-kw
(:use :common-lisp)
(:export :defkwfun))
(in-package :fast-kw)
(defun symbol-append (&rest symbols)
(intern (apply #'concatenate
(cons 'string (mapcar #'symbol-name symbols)))
(symbol-package (car symbols))))
(defun lambda-keyword-p (symbol)
(and (symbolp symbol)
(char= (are... | 1,713 | Common Lisp | .lisp | 47 | 31.489362 | 75 | 0.675198 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | b62371cd756e796e240fb23b4cbe74ab54c710b5f73c65cf92ae373ded29582d | 2,356 | [
-1
] |
2,357 | single-field-tests.lisp | j3pic_lisp-binary/test/single-field-tests.lisp | (in-package :lisp-binary-test)
(unit-test 'read/write-integer-test
(let* ((integer 2948)
(le-buffer (flexi-streams:with-output-to-sequence (out)
(write-integer integer 4 out)))
(be-buffer (flexi-streams:with-output-to-sequence (out)
(write-integer integer 4 out :byte-order :big-endian)))
(signe... | 7,872 | Common Lisp | .lisp | 181 | 37.900552 | 142 | 0.662698 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | 865598cbe249a90ae4e1558dd9021d97866db9c6b0a90d2cccf05a0dbc723c7c | 2,357 | [
-1
] |
2,358 | basic-test.lisp | j3pic_lisp-binary/test/basic-test.lisp | ;; -*- eval: (put 'unit-test 'common-lisp-indent-function 2) -*-
(defpackage :lisp-binary-test
(:use :common-lisp :lisp-binary :unit-test))
(in-package :lisp-binary-test)
(declaim (optimize (debug 3) (safety 3) (speed 0)))
(eval-when (:compile-toplevel :load-toplevel :execute)
(defmacro assert= (x y)
(let ((... | 13,548 | Common Lisp | .lisp | 317 | 37.842271 | 91 | 0.658863 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | 2bc8b1907db0fe1f6716f3214e9355ed3f741d26d7688ee23572e65536dadab8 | 2,358 | [
-1
] |
2,359 | tiff.lisp | j3pic_lisp-binary/test/tiff.lisp | (defpackage :tiff-format
(:use :lisp-binary
:common-lisp
:lisp-binary-utils))
(in-package :tiff-format)
(define-enum tiff-type 2 (:byte-order :dynamic)
(:unsigned-byte 1)
:ascii
:unsigned-short
:unsigned-long
:unsigned-rational ;; Two unsigned-longs
:signed-byte
:undefined
:signed-short
:signed-... | 10,889 | Common Lisp | .lisp | 292 | 31.181507 | 113 | 0.661014 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | d00c912e935f27cf83e4f7f287666e8a110800f634c49553c8ad1585280e663c | 2,359 | [
-1
] |
2,360 | setup-test-environment.lisp | j3pic_lisp-binary/test/setup-test-environment.lisp | (load "quicklisp.lisp")
(quicklisp-quickstart:install)
(defun ql-util:press-enter-to-continue ()
t)
(ql:add-to-init-file)
#+sbcl (exit)
#+ccl (ccl:quit)
#+clisp (ext:exit)
| 176 | Common Lisp | .lisp | 8 | 20.5 | 41 | 0.722892 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | 452ecf4d2db94134250d39fc70460cf7411569cac7581c0a6bd285a1c5d0c02b | 2,360 | [
-1
] |
2,361 | run-tests.lisp | j3pic_lisp-binary/test/run-tests.lisp | (format t "~%>>>>>>>>>>> Test program loading~%")
(load "init.lisp")
(load "fake-asdf.lisp")
(format t "~%>>>>>>>>>>>>> Loaded init file~%")
(ql:quickload :asdf)
(push '*default-pathname-defaults* asdf:*central-registry*)
(defmacro warnings-to-errors (&body body)
`(handler-bind (((and warning
#-ccl (not asdf/pars... | 865 | Common Lisp | .lisp | 24 | 33.375 | 74 | 0.661483 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | acac6b2b457548b6157c26179f353f7d9f6bfa2a95a46d343890cbb350d96318 | 2,361 | [
-1
] |
2,362 | install-quicklisp | j3pic_lisp-binary/test/install-quicklisp | #!/bin/bash
LISP="$1"
set -x -e -o pipefail
wget --no-check-certificate https://beta.quicklisp.org/quicklisp.lisp
echo " Running SBCL version: " `sbcl --version`
echo "<<<<<<<<<<<<<<<<<< STATS"
echo
free -h
echo
echo '>>>>>>>>>>>>>> INSTALLING QUICKLISP'
(yes '' || true) | $LISP setup-test-environment.lisp
( cd... | 470 | Common Lisp | .lisp | 17 | 25.764706 | 76 | 0.673423 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | 7021768f32e6e6aa6b3551a200ee64b4fdad7268b1ff4cebedc3dd94679ab4a5 | 2,362 | [
-1
] |
2,363 | unit-test.lisp | j3pic_lisp-binary/test/unit-test.lisp | (defpackage :unit-test
(:use :common-lisp)
(:export :unit-test :do-tests))
(in-package :unit-test)
(defmacro aif (cond true &optional false)
`(let ((it ,cond))
(if it ,true ,false)))
(defmacro set-assoc (key place new-value)
`(aif (assoc ,key ,place)
(setf (cdr it) ,new-value)
(push (cons ,key ,new-va... | 1,706 | Common Lisp | .lisp | 50 | 28.88 | 80 | 0.626829 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | fc026dea5644f6989ba2272060b665358bbef00af25193dd011937fd60fd4983 | 2,363 | [
-1
] |
2,364 | pointers.lisp | j3pic_lisp-binary/test/pointers.lisp | (in-package :lisp-binary-test)
(defbinary object-with-pointers ()
(pointer-1 nil :type (pointer :pointer-type (unsigned-byte 16)
:data-type (terminated-string 1)
:base-pointer-name foo-base
:region-tag foo-region))
(po... | 1,895 | Common Lisp | .lisp | 47 | 30.829787 | 90 | 0.59631 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | 6af39e074e9e6ec36e0bfad42b443d8468186dc9fbca7a7faa37c98255c017b7 | 2,364 | [
-1
] |
2,365 | fake-asdf.lisp | j3pic_lisp-binary/test/fake-asdf.lisp | (defun determine-load-order (components &optional load-order)
"Given the COMPONENTS (which is just the :components section of the ASDF
def above), determine the order in which to load things so that dependencies
are always satisfied."
(cond ((null components)
(reverse load-order))
(t
(destructuring-bind (&key ... | 2,613 | Common Lisp | .lisp | 78 | 28.910256 | 76 | 0.665214 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | e5ed14adafbbb731aab9b681abc6bea487e9df8d1927a2854cd3c4a37184665b | 2,365 | [
-1
] |
2,366 | type-field-expansion-tests.lisp | j3pic_lisp-binary/test/type-field-expansion-tests.lisp | (in-package :lisp-binary-test)
(defvar *stream* nil)
(defvar *previous-defs* nil)
(defvar *byte-count* nil)
(defvar *index* nil)
(defvar *bit-stream-id* nil)
(defvar *field* nil)
(defun call-form (binary-field-object stream which-form)
(check-type binary-field-object lisp-binary::binary-field)
(let ((*stream* str... | 7,690 | Common Lisp | .lisp | 175 | 37.8 | 99 | 0.650857 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | 7fc66b6f8caafde9b65ab7232e5e581bfc318b2c5050b61968f1671b219ea861 | 2,366 | [
-1
] |
2,367 | lisp-binary.asd | j3pic_lisp-binary/lisp-binary.asd | #-lisp-binary/never-use-own-asdf
(let ((asdf-version (when (find-package :asdf)
(let ((ver (symbol-value
(or (find-symbol (string :*asdf-version*) :asdf)
(find-symbol (string :*asdf-revision*) :asdf)))))
... | 1,637 | Common Lisp | .asd | 32 | 39.03125 | 109 | 0.541771 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | ec717961abd6df111f978215fab79ac4a086fdf01016dc0a45262ca68b7a1dc2 | 2,367 | [
-1
] |
2,368 | lisp-binary-test.asd | j3pic_lisp-binary/test/lisp-binary-test.asd | (asdf:defsystem :lisp-binary-test
:author ("Jeremy Phelps")
:version "1"
:license "GPLv3"
:description "Test the LISP-BINARY system."
:depends-on (:lisp-binary)
:components
((:file "unit-test")
(:file "basic-test" :depends-on ("unit-test"))
(:file "single-field-tests" :depends-on ("basic-test"))
... | 387 | Common Lisp | .asd | 11 | 32.090909 | 68 | 0.672872 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | b5450cc8e0a31e8e857c7feb02ddf5d90b75ffed565f56228efa0f602bc7eaff | 2,368 | [
-1
] |
2,384 | test-on-implementation | j3pic_lisp-binary/test/test-on-implementation | #!/bin/bash
set -x -e -o pipefail
LISP="$1"
INIT=$HOME/"$2"
$base_dir/install-quicklisp "$LISP"
cp $INIT init.lisp
echo '>>>>>>>>>>>>>> RUNNING TEST'
(yes '' || true) | $LISP run-tests.lisp
rm -rf ~/quicklisp
rm -f init.lisp
rm -rf quicklisp.lisp
| 252 | Common Lisp | .l | 11 | 21.454545 | 39 | 0.65678 | j3pic/lisp-binary | 91 | 15 | 8 | GPL-3.0 | 9/19/2024, 11:25:36 AM (Europe/Amsterdam) | 4cf98e0c718de66cf110ab4c3b78824e6600f9f729a91ee693a39a9e75fe9af9 | 2,384 | [
-1
] |
2,408 | web_with_persistent_backend.lisp | adamtornhill_LispForTheWeb/web_with_persistent_backend.lisp | ;;; Copyright (C) 2014 Adam Tornhill
;;;
;;; Distributed under the GNU General Public License v3.0,
;;; see http://www.gnu.org/licenses/gpl.html
;;; The following module contains parts of the source code for
;;; my book Lisp for the Web. You can get a copy of the book here:
;;; https://leanpub.com/lispweb
(defpackage... | 8,478 | Common Lisp | .lisp | 184 | 37.141304 | 99 | 0.605642 | adamtornhill/LispForTheWeb | 85 | 28 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | c1d40e54390215cdf0892bb9e60ca6665a730a0e7f6a558ffcb25d596d67dd2e | 2,408 | [
-1
] |
2,409 | web_with_proto_backend.lisp | adamtornhill_LispForTheWeb/web_with_proto_backend.lisp | ;;; Copyright (C) 2014 Adam Tornhill
;;;
;;; Distributed under the GNU General Public License v3.0,
;;; see http://www.gnu.org/licenses/gpl.html
;;; The following module contains parts of the source code for
;;; my book Lisp for the Web. You can get a copy of the book here:
;;; https://leanpub.com/lispweb
(defpackage... | 7,564 | Common Lisp | .lisp | 168 | 35.357143 | 99 | 0.583978 | adamtornhill/LispForTheWeb | 85 | 28 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | 495abd4e62a2d301caa8b39f3ffc26f66973b2b9a1029b4aba0319d4e4c2c273 | 2,409 | [
-1
] |
2,410 | map_reduce_in_mongo.lisp | adamtornhill_LispForTheWeb/map_reduce_in_mongo.lisp | ;;; Copyright (C) 2014 Adam Tornhill
;;;
;;; Distributed under the GNU General Public License v3.0,
;;; see http://www.gnu.org/licenses/gpl.html
;;; The following module contains parts of the source code for
;;; my book Lisp for the Web. You can get a copy of the book here:
;;; https://leanpub.com/lispweb
(defpackage... | 3,096 | Common Lisp | .lisp | 75 | 38.026667 | 77 | 0.694639 | adamtornhill/LispForTheWeb | 85 | 28 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | 8b9a7190b81185a1671d68aecdc4cec76cee25a70b0410b18bdb2b74eb7836cb | 2,410 | [
-1
] |
2,429 | build.lisp | hoytech_antiweb/build.lisp | ;; Antiweb (C) Doug Hoyte
;;;;;;;;;;;;;;; ANTIWEB BUILD OPTIONS ;;;;;;;;;;;;;;;;;
;; TIP: These options can be set in a file called local.lisp
;; For example: (setq aw-bin-dir "/usr/local/bin")
;; Directory to put antiweb perl launch script
(defvar aw-bin-dir "/usr/bin")
;; Directory to put libantiwebBITS.so and an... | 24,927 | Common Lisp | .lisp | 608 | 36.25 | 179 | 0.611187 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | 3cc290ac63dd0d992a003022a8c272e42f035d513223eed51762c4f77fa4405c | 2,429 | [
-1
] |
2,430 | mime-types.lisp | hoytech_antiweb/src/mime-types.lisp | ;; Antiweb (C) Doug Hoyte
(defun lookup-mime-type (m types)
(cadar (member m types :key #'car :test #'equalp)))
(defvar aw-default-mime-type
"text/plain; charset=utf-8")
(defvar aw-mime-types '(
("html" "text/html; charset=utf-8")
("htm" "text/html; charset=utf-8")
("txt" "text/plain; charset=utf-8")
("c... | 1,853 | Common Lisp | .lisp | 60 | 28 | 53 | 0.645251 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | 55fe0a0ce9395e89cca98d76c84c4f7860b008dc65fc6f83ebf8b0fa3f520dcb | 2,430 | [
-1
] |
2,431 | modules.lisp | hoytech_antiweb/src/modules.lisp | ;; Antiweb (C) Doug Hoyte
;; Default HTTP modules
(antiweb-module mod-rewrite
:rewrite-phase
`(macrolet ((done-rewrite ()
'(return-from mod-rewrite-block nil)))
(block mod-rewrite-block
,@(xconf-get-all handler :rewrite))))
(antiweb-module mod-dir
:directory-handling-phase... | 27,019 | Common Lisp | .lisp | 443 | 39.749436 | 128 | 0.43239 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | b95924d1eca0a99103fcbf4cf3a35c1c2bad18fc8e0c8a4e02b41e3524fa9ed0 | 2,431 | [
-1
] |
2,432 | conf.lisp | hoytech_antiweb/src/conf.lisp | ;; Antiweb (C) Doug Hoyte
;; In CL, there is no portable way to create or read a file with an
;; asterisk in its name. The following workaround works for CMU
;; (did I get all the chars?) but there is no way to do this in
;; CLISP so it will blow up if you have pathnames with * or ?.
;; VERY LUCKY that CLISP just pas... | 2,972 | Common Lisp | .lisp | 67 | 39.597015 | 106 | 0.645732 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | ebd56bb7116d895578d2934fc4c4fd05448e1db8feb32bcae7ec62eb2d10116f | 2,432 | [
-1
] |
2,433 | lol.lisp | hoytech_antiweb/bundled/lol.lisp | ;; Antiweb (C) Doug Hoyte
;; This is a "production" version of LOL with bug-fixes
;; and new features in the spirit of the book.
;; See http://letoverlambda.com
;; This is the source code for the book
;; _Let_Over_Lambda_ by Doug Hoyte.
;; This code is (C) 2002-2008, Doug Hoyte.
;;
;; You are free to use, modify, an... | 15,821 | Common Lisp | .lisp | 465 | 24.294624 | 101 | 0.503357 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | b702008889c633220880a028049d9451a1be192a7abfb585cd0f225016244f6a | 2,433 | [
-1
] |
2,434 | isaac.lisp | hoytech_antiweb/bundled/isaac.lisp | ;; isaac.lisp (C) May 2008 Doug Hoyte, HCSW
;; BSD license: you can do anything you want with it (but no warranty).
;;
;; Optimised Common Lisp implementation of Bob Jenkins' ISAAC-32 Algorithm:
;; Indirection, Shift, Accumulate, Add, and Count. More details and
;; the C reference implementations can be found here:
;;
... | 11,431 | Common Lisp | .lisp | 244 | 41.192623 | 100 | 0.6033 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | 7c033ac7e9a957dc587522a16d7ec6266a2d8051bab1714aaf13c0ce42070f83 | 2,434 | [
-1
] |
2,435 | jsmin.lisp | hoytech_antiweb/bundled/jsmin.lisp | ;;; Re-packaged for Antiweb
;;; :overwrite changed to :supersede in jsmin-file
;;; Copyright (c) 2007, Ury Marshak
;;; This is a port of original C code by Douglas Crockford to
;;; Common Lisp. There was no attempt to make the code more
;;; "lispy", it is just a rather faithful translation. This code
;;; may be used... | 8,146 | Common Lisp | .lisp | 191 | 27.376963 | 101 | 0.447272 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | ff62e509137de8414d826e2ea880eda6ffe39249b1cc396ae4f1792fe7ecf636 | 2,435 | [
-1
] |
2,436 | api.lisp | hoytech_antiweb/bundled/cl-ppcre/api.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
;;; $Header: /usr/cvs/hcsw/antiweb/bundled/cl-ppcre/api.lisp,v 1.1 2008/04/26 02:40:56 doug Exp $
;;; The external API for creating and using scanners.
;;; Copyright (c) 2002-2007, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and u... | 62,194 | Common Lisp | .lisp | 1,193 | 36.056999 | 105 | 0.542141 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | 71e0f32641d77a34d73adb74863d7ea6baf30dda0bc5fef74c3a7e8d20ee91c0 | 2,436 | [
-1
] |
2,437 | lexer.lisp | hoytech_antiweb/bundled/cl-ppcre/lexer.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
;;; $Header: /usr/cvs/hcsw/antiweb/bundled/cl-ppcre/lexer.lisp,v 1.1 2008/04/26 02:40:56 doug Exp $
;;; The lexer's responsibility is to convert the regex string into a
;;; sequence of tokens which are in turn consumed by the parser.
;;;
;;; The ... | 32,108 | Common Lisp | .lisp | 710 | 29.885915 | 99 | 0.489226 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | cb69452046c5976ff3056d1291f2da13c600836ce3cf16cecdb09b77b9745cc4 | 2,437 | [
-1
] |
2,438 | util.lisp | hoytech_antiweb/bundled/cl-ppcre/util.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
;;; $Header: /usr/cvs/hcsw/antiweb/bundled/cl-ppcre/util.lisp,v 1.1 2008/04/26 02:40:56 doug Exp $
;;; Utility functions and constants dealing with the hash-tables
;;; we use to encode character classes
;;; Hash-tables are treated like sets, i.e... | 12,855 | Common Lisp | .lisp | 264 | 40.284091 | 98 | 0.631772 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | b84f3566cc8bdf8b113305e29a030f5b6b38c601f3145371942f57c3727a247e | 2,438 | [
-1
] |
2,439 | errors.lisp | hoytech_antiweb/bundled/cl-ppcre/errors.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
;;; $Header: /usr/cvs/hcsw/antiweb/bundled/cl-ppcre/errors.lisp,v 1.1 2008/04/26 02:40:56 doug Exp $
;;; Copyright (c) 2002-2007, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; m... | 3,698 | Common Lisp | .lisp | 69 | 49.231884 | 100 | 0.728002 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | 2f449244682955b0aa429c21ebd70dc236e6249b0f56f9460b043eafc9cac83c | 2,439 | [
-1
] |
2,440 | regex-class.lisp | hoytech_antiweb/bundled/cl-ppcre/regex-class.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
;;; $Header: /usr/cvs/hcsw/antiweb/bundled/cl-ppcre/regex-class.lisp,v 1.1 2008/04/26 02:40:56 doug Exp $
;;; This file defines the REGEX class and some utility methods for
;;; this class. REGEX objects are used to represent the (transformed)
;;;... | 31,237 | Common Lisp | .lisp | 697 | 36.74175 | 105 | 0.650717 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | a75bd2002dac9f71122ccad7e8f5753d59754090f36283ac4bffabb2b2457848 | 2,440 | [
-1
] |
2,441 | specials.lisp | hoytech_antiweb/bundled/cl-ppcre/specials.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
;;; $Header: /usr/cvs/hcsw/antiweb/bundled/cl-ppcre/specials.lisp,v 1.1 2008/04/26 02:40:56 doug Exp $
;;; globally declared special variables
;;; Copyright (c) 2002-2007, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in sou... | 5,359 | Common Lisp | .lisp | 114 | 42.859649 | 102 | 0.716266 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | 467c9b6e63b751c7671068efa3149637be7ffdf21dd3caf0e8145a8faa624145 | 2,441 | [
-1
] |
2,442 | scanner.lisp | hoytech_antiweb/bundled/cl-ppcre/scanner.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
;;; $Header: /usr/cvs/hcsw/antiweb/bundled/cl-ppcre/scanner.lisp,v 1.1 2008/04/26 02:40:56 doug Exp $
;;; Here the scanner for the actual regex as well as utility scanners
;;; for the constant start and end strings are created.
;;; Copyright (c)... | 26,199 | Common Lisp | .lisp | 492 | 35.628049 | 101 | 0.506773 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | 5811f4aa04cf4ebef9bc1632c7f0b0ddc9efa1ccf7ce298092b090fde3bc5ffa | 2,442 | [
-1
] |
2,443 | repetition-closures.lisp | hoytech_antiweb/bundled/cl-ppcre/repetition-closures.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
;;; $Header: /usr/cvs/hcsw/antiweb/bundled/cl-ppcre/repetition-closures.lisp,v 1.1 2008/04/26 02:40:56 doug Exp $
;;; This is actually a part of closures.lisp which we put into a
;;; separate file because it is rather complex. We only deal with
;... | 42,136 | Common Lisp | .lisp | 811 | 38.313194 | 113 | 0.572685 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | a01a4e0f29ee5ba68b19fe97f937d9ed1d2f500150b2a61841b499f8b45cd799 | 2,443 | [
-1
] |
2,444 | convert.lisp | hoytech_antiweb/bundled/cl-ppcre/convert.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
;;; $Header: /usr/cvs/hcsw/antiweb/bundled/cl-ppcre/convert.lisp,v 1.1 2008/04/26 02:40:56 doug Exp $
;;; Here the parse tree is converted into its internal representation
;;; using REGEX objects. At the same time some optimizations are
;;; alre... | 40,264 | Common Lisp | .lisp | 791 | 31.361568 | 101 | 0.473906 | hoytech/antiweb | 83 | 9 | 0 | GPL-3.0 | 9/19/2024, 11:25:43 AM (Europe/Amsterdam) | cb0158e56a53b5ed0d744bd9986e5849364c011894ed8fff737a065ee4cf5f61 | 2,444 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.