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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22,662 | data.lisp | persidastricl_persidastricl/src/core/data.lisp | ;;; -----
;;;
;;; Copyright (c) 2019-2023 Michael D Pendergrass, pupcus.org
;;;
;;; This program and the accompanying materials are made
;;; available under the terms of the Eclipse Public License 2.0
;;; which is available at https://www.eclipse.org/legal/epl-2.0/
;;;
;;; SPDX-License-Identifier: EPL-2.0
;;;
;;; ... | 3,099 | Common Lisp | .lisp | 95 | 27.621053 | 80 | 0.571907 | persidastricl/persidastricl | 2 | 0 | 2 | EPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 35bcab23ad451c915f0484a0c70c49c989b01f30b8dbf3859f38c103bd038fb6 | 22,662 | [
-1
] |
22,663 | sub-vector.lisp | persidastricl_persidastricl/src/core/sub-vector.lisp | ;;; -----
;;;
;;; Copyright (c) 2019-2023 Michael D Pendergrass, pupcus.org
;;;
;;; This program and the accompanying materials are made
;;; available under the terms of the Eclipse Public License 2.0
;;; which is available at https://www.eclipse.org/legal/epl-2.0/
;;;
;;; SPDX-License-Identifier: EPL-2.0
;;;
;;; ... | 5,321 | Common Lisp | .lisp | 133 | 34.067669 | 104 | 0.583608 | persidastricl/persidastricl | 2 | 0 | 2 | EPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3ec4e6e563b18b5af189eeedb76807c58d220aff1803a5b7aa15ba993a9bca8d | 22,663 | [
-1
] |
22,664 | walk.lisp | persidastricl_persidastricl/src/core/walk.lisp | ;;; -----
;;;
;;; Copyright (c) 2019-2023 Michael D Pendergrass, pupcus.org
;;;
;;; This program and the accompanying materials are made
;;; available under the terms of the Eclipse Public License 2.0
;;; which is available at https://www.eclipse.org/legal/epl-2.0/
;;;
;;; SPDX-License-Identifier: EPL-2.0
;;;
;;; ... | 2,515 | Common Lisp | .lisp | 70 | 31.385714 | 89 | 0.604948 | persidastricl/persidastricl | 2 | 0 | 2 | EPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e8fc7e8dd2e86506815714f3519310d76bf9bf991e8cf816c4a989dc586a2fbf | 22,664 | [
-1
] |
22,665 | functions.lisp | persidastricl_persidastricl/src/core/functions.lisp | ;;; -----
;;;
;;; Copyright (c) 2019-2023 Michael D Pendergrass, pupcus.org
;;;
;;; This program and the accompanying materials are made
;;; available under the terms of the Eclipse Public License 2.0
;;; which is available at https://www.eclipse.org/legal/epl-2.0/
;;;
;;; SPDX-License-Identifier: EPL-2.0
;;;
;;; ... | 18,952 | Common Lisp | .lisp | 526 | 26.397338 | 101 | 0.495883 | persidastricl/persidastricl | 2 | 0 | 2 | EPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 090293dbaaa24f447c093eaa4cd81bc8c345047aa3458e2e5e5ed229da6e2672 | 22,665 | [
-1
] |
22,666 | methods.lisp | persidastricl_persidastricl/src/core/methods.lisp | ;;; -----
;;;
;;; Copyright (c) 2019-2023 Michael D Pendergrass, pupcus.org
;;;
;;; This program and the accompanying materials are made
;;; available under the terms of the Eclipse Public License 2.0
;;; which is available at https://www.eclipse.org/legal/epl-2.0/
;;;
;;; SPDX-License-Identifier: EPL-2.0
;;;
;;; ... | 3,749 | Common Lisp | .lisp | 116 | 26.991379 | 82 | 0.582594 | persidastricl/persidastricl | 2 | 0 | 2 | EPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 89b461e3e183f508fd6d44b0d34f29a2ac6b7ff2e21b497a1f4d4e31f15898b0 | 22,666 | [
-1
] |
22,667 | set.lisp | persidastricl_persidastricl/src/core/set.lisp | ;;; -----
;;;
;;; Copyright (c) 2019-2023 Michael D Pendergrass, pupcus.org
;;;
;;; This program and the accompanying materials are made
;;; available under the terms of the Eclipse Public License 2.0
;;; which is available at https://www.eclipse.org/legal/epl-2.0/
;;;
;;; SPDX-License-Identifier: EPL-2.0
;;;
;;; ... | 4,588 | Common Lisp | .lisp | 144 | 20.701389 | 95 | 0.44028 | persidastricl/persidastricl | 2 | 0 | 2 | EPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e98a2eb4b05e7d0d2d6f792cd8caea618f2cc928e8e9066647ed678b82a106c5 | 22,667 | [
-1
] |
22,668 | destructure.lisp | persidastricl_persidastricl/src/core/destructure.lisp | ;;; -----
;;;
;;; Copyright (c) 2019-2023 Michael D Pendergrass, pupcus.org
;;;
;;; This program and the accompanying materials are made
;;; available under the terms of the Eclipse Public License 2.0
;;; which is available at https://www.eclipse.org/legal/epl-2.0/
;;;
;;; SPDX-License-Identifier: EPL-2.0
;;;
;;; ... | 8,849 | Common Lisp | .lisp | 121 | 26.033058 | 149 | 0.234606 | persidastricl/persidastricl | 2 | 0 | 2 | EPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9aae4d31b91c97da60f4b20a9bd0601676514aaa0b3951a2d9faa255650ec2c1 | 22,668 | [
-1
] |
22,669 | random.lisp | persidastricl_persidastricl/src/user/random.lisp | ;;; -----
;;;
;;; Copyright (c) 2019-2023 Michael D Pendergrass, pupcus.org
;;;
;;; This program and the accompanying materials are made
;;; available under the terms of the Eclipse Public License 2.0
;;; which is available at https://www.eclipse.org/legal/epl-2.0/
;;;
;;; SPDX-License-Identifier: EPL-2.0
;;;
;;; ... | 1,702 | Common Lisp | .lisp | 50 | 30.26 | 92 | 0.62561 | persidastricl/persidastricl | 2 | 0 | 2 | EPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 4135dd074bd6b648f63ef0b6ada4f162e3db5a0fd75ee6477539ed85d355ebc0 | 22,669 | [
-1
] |
22,670 | user.lisp | persidastricl_persidastricl/src/user/user.lisp | ;;; -----
;;;
;;; Copyright (c) 2019-2023 Michael D Pendergrass, pupcus.org
;;;
;;; This program and the accompanying materials are made
;;; available under the terms of the Eclipse Public License 2.0
;;; which is available at https://www.eclipse.org/legal/epl-2.0/
;;;
;;; SPDX-License-Identifier: EPL-2.0
;;;
;;; ... | 423 | Common Lisp | .lisp | 17 | 23.705882 | 65 | 0.657568 | persidastricl/persidastricl | 2 | 0 | 2 | EPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 8861e7642dccf22ebf29af4f9a39f730d9feefb192249ae437c1e09f26eb115f | 22,670 | [
-1
] |
22,671 | persidastricl.asd | persidastricl_persidastricl/persidastricl.asd | ;;; -----
;;;
;;; Copyright (c) 2019-2023 Michael D Pendergrass, pupcus.org
;;;
;;; This program and the accompanying materials are made
;;; available under the terms of the Eclipse Public License 2.0
;;; which is available at https://www.eclipse.org/legal/epl-2.0/
;;;
;;; SPDX-License-Identifier: EPL-2.0
;;;
;;; ... | 7,717 | Common Lisp | .asd | 179 | 21.949721 | 103 | 0.363382 | persidastricl/persidastricl | 2 | 0 | 2 | EPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 1513dcb9af8794f1e375577ab96ade94bcc23f1cc3c99302f0a1d4e33ab1de58 | 22,671 | [
-1
] |
22,780 | monotri_sequencing.lsp | KedalionDaimon_monotri/monotri_sequencing.lsp | ; CHECK MONOTRI.LSP FOR COMMENTS
; Comments below are "unclean" from the working version.
; Specialty of this version: planning is "sequencing", not "structural".
(defvar *slidings* 5)
(defvar *stop* 'SIG-TERM)
(defvar *trigger-answer-length* 60)
(defvar *elements-per-area* 1000)
(defvar *number-of-areas* 2000)
(defva... | 27,599 | Common Lisp | .l | 693 | 32.962482 | 100 | 0.546479 | KedalionDaimon/monotri | 2 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9c578c57b079ad5cd49805b6cfb50616eeaf249c4013b263cc2d30c3a43c32a2 | 22,780 | [
-1
] |
22,781 | monotri_positive.lsp | KedalionDaimon_monotri/monotri_positive.lsp | ; CHECK MONOTRI.LSP FOR COMMENTS
; Comments below are "unclean" from the working version.
; Specialty of this version: Minimizes bistructure "punishment"
; by a NEGATIVE evaluation, keeps up POSITIVE judgement for
; evolutionary "winning" insect.
(defvar *slidings* 5)
(defvar *stop* 'SIG-TERM)
(defvar *trigger-answer-... | 27,715 | Common Lisp | .l | 695 | 33.260432 | 100 | 0.546765 | KedalionDaimon/monotri | 2 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 698d0206e72f3514adc9f3518c83e1320f77b5c1a78cfbb7f3fd959b3fb5633f | 22,781 | [
-1
] |
22,782 | monotri.lsp | KedalionDaimon_monotri/monotri.lsp | ; MONOTRI
; INTRODUCTION AND EXPLANATION
; This is an artificial intelligence operating on lists of symbols.
; It employs Logical Triangulation. The point of this experiment
; is to demonstrate an intelligent entity with ONLY triangles as a
; data structure. As opposed to earlier experiments, here, individual
; relat... | 37,777 | Common Lisp | .l | 850 | 38.638824 | 80 | 0.589111 | KedalionDaimon/monotri | 2 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 2424dac322927299c541952be3aa71272b847c6e5f8ccf1c7e8f1f7b6058d609 | 22,782 | [
-1
] |
22,800 | bullet.lisp | kiskami_tubegame/bullet.lisp | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your opt... | 3,920 | Common Lisp | .lisp | 86 | 40.313953 | 126 | 0.691985 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 873d3204ac44a40ee91947895831bc2c9e8a6ea466b059907ce5bb7dfb964fe0 | 22,800 | [
-1
] |
22,801 | globals.lisp | kiskami_tubegame/globals.lisp | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your opt... | 9,242 | Common Lisp | .lisp | 217 | 39.589862 | 102 | 0.717555 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 57e76a28ff3e4c61110a03f6ad29ddfe29d28eba5849f114f62854833ea9dc02 | 22,801 | [
-1
] |
22,802 | make-exe.lisp | kiskami_tubegame/make-exe.lisp | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your opt... | 1,177 | Common Lisp | .lisp | 25 | 44.2 | 87 | 0.711909 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 0fb956ffcbbd1bc8402a035720766af680dfdede1b09a4f973241756d94c8b69 | 22,802 | [
-1
] |
22,803 | package.lisp | kiskami_tubegame/package.lisp | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your option) a... | 943 | Common Lisp | .lisp | 22 | 41.454545 | 78 | 0.721436 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d3e6365d287ad0b5051ecc7e76bd37f5f9b0948afcb600491a09ec88c5d8c8b6 | 22,803 | [
-1
] |
22,804 | player.lisp | kiskami_tubegame/player.lisp | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your opt... | 16,484 | Common Lisp | .lisp | 341 | 42.659824 | 142 | 0.694699 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 27a7902c0c649e625e9ed412a650dcd271f74502a84872e35204028fa5d46bbe | 22,804 | [
-1
] |
22,805 | startscreen.lisp | kiskami_tubegame/startscreen.lisp | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your opt... | 2,788 | Common Lisp | .lisp | 66 | 37.19697 | 79 | 0.678203 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c5b93e502cc1880aa8c51a404fd59f38b493b3627e155150f9a6e4d973e5c07e | 22,805 | [
-1
] |
22,806 | powerups.lisp | kiskami_tubegame/powerups.lisp | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your opt... | 888 | Common Lisp | .lisp | 19 | 44.473684 | 79 | 0.712803 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d20a6304758debebdbd393fab1a74799963f73c6654788dbb2256c4def6414a1 | 22,806 | [
-1
] |
22,807 | asteroid.lisp | kiskami_tubegame/asteroid.lisp | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your opt... | 3,834 | Common Lisp | .lisp | 83 | 42.144578 | 111 | 0.698579 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | fa7d2f6e49bbfa0d7f898bc3b1230a836c3578a6a0d07e7e53fb4fb5c1de6d13 | 22,807 | [
-1
] |
22,808 | explosion.lisp | kiskami_tubegame/explosion.lisp | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your opt... | 4,688 | Common Lisp | .lisp | 106 | 38.933962 | 93 | 0.684926 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | a095fa4c9456a0e858d5a7007806722334fad22116d72343b31f598a90210af4 | 22,808 | [
-1
] |
22,809 | tubegame.lisp | kiskami_tubegame/tubegame.lisp | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your option) a... | 6,455 | Common Lisp | .lisp | 134 | 43.962687 | 103 | 0.685012 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 17ffd739e2a418aba64e4852924000d75d3138591afd0d2c51a40f0c91f2550c | 22,809 | [
-1
] |
22,810 | game.lisp | kiskami_tubegame/game.lisp | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your opt... | 11,970 | Common Lisp | .lisp | 273 | 38.347985 | 110 | 0.654393 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b21a725e92d52599d39ebd4e9a342c557cff04f44793609b16b0b9b35d946187 | 22,810 | [
-1
] |
22,811 | startdest.lisp | kiskami_tubegame/startdest.lisp | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your opt... | 889 | Common Lisp | .lisp | 19 | 44.526316 | 79 | 0.713134 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c2eb68d90c22197d0ac53d43a779056069de3515cd56ce38e47ef3162d615644 | 22,811 | [
-1
] |
22,812 | tubegame.asd | kiskami_tubegame/tubegame.asd | ;;;; tubegame
;;;; Copyright (c) 2013 Kalman Kiss, Zalaegerszeg Hungary
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
;;;; the Free Software Foundation; either version 2 of the License, or
;;;; (at your option) a... | 1,891 | Common Lisp | .asd | 42 | 40.02381 | 90 | 0.649351 | kiskami/tubegame | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d1981eefe7d7bdae78390df4ae2052b55d2475b1879c2d8e3edf881067fa4746 | 22,812 | [
-1
] |
22,840 | strings.lisp | TralahM_trtek/src/strings.lisp | (in-package :trtek)
(defun chars (str) (loop for c across str collect c))
| 75 | Common Lisp | .lisp | 2 | 36 | 53 | 0.722222 | TralahM/trtek | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 328b6df1c690c7b0f1d7b16e04e9878a44be65d38de5d6f99d32a2a7248d93ec | 22,840 | [
-1
] |
22,841 | utils.lisp | TralahM_trtek/src/utils.lisp | (in-package :trtek)
(defvar *epsilon* 1.0e-6)
(defun chars (str)
"Get a list of all the characters in a string."
(loop for c across str collect c))
; (chars "Get a list of all the characters in a string.")
(defun approx-equal (x y &optional (*epsilon* *epsilon*))
"Check whether x and y are approximately equal... | 5,936 | Common Lisp | .lisp | 154 | 34.811688 | 239 | 0.610403 | TralahM/trtek | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 905588c06a11b9723a2ffbc046a5fc1f0d62b4e6549b90f0f40611a32dc17033 | 22,841 | [
-1
] |
22,842 | main.lisp | TralahM_trtek/src/main.lisp | ; Author: Tralah M Brian
;
; Copyright © 2020 Tralah M Brian
; Permission is hereby granted, free of charge, to any person obtaining
; a copy of this software and associated documentation files (the "Software"),
; to deal in the Software without restriction, including without limitation
; the rights to use, copy, mod... | 20,391 | Common Lisp | .lisp | 503 | 35.811133 | 252 | 0.580448 | TralahM/trtek | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | fa8f7b259913484a1e227f44f6db0019f9f38226884de3a14f8b634ee174ef50 | 22,842 | [
-1
] |
22,843 | networks.lisp | TralahM_trtek/src/networks.lisp | (in-package :trtek)
(defstruct node contents yes no)
(defvar *nodes* nil)
(defun defnode (&rest args)
(push args *nodes*)
args)
(defun compile-net (root)
(let ((node (assoc root *nodes*)))
(if (null node)
nil
(let ((conts (second node))
(yes (third node))
(no (f... | 1,094 | Common Lisp | .lisp | 31 | 26.290323 | 60 | 0.519542 | TralahM/trtek | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f6e013bb5ab6453c70cbc629d7d8f0ad1d1e5376b0ca15f552569212ca69a2f6 | 22,843 | [
-1
] |
22,844 | macros.lisp | TralahM_trtek/src/macros.lisp | (in-package :trtek)
(defmacro nil! (var)
"set var to nil"
`(setq ,var nil))
(defmacro while (test &body body)
`(do ()
((not ,test))
,@body))
(defmacro fn (expr) `#',(rbuild expr))
(defun rbuild (expr)
(if (or (atom expr) (eq (car expr) 'lambda))
expr
(if (eq (car expr) 'compose)
... | 4,132 | Common Lisp | .lisp | 115 | 30.086957 | 87 | 0.544062 | TralahM/trtek | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 4fb0ad1bff8d4daee57c4ef1239a39c9662e0a499fc8e33c3eeeca80667077a4 | 22,844 | [
-1
] |
22,845 | packages.lisp | TralahM_trtek/src/packages.lisp | ;;; packages.lisp
(defpackage trtek
(:use :cl)
(:export
abbrev ;; (short long)
abbrevs ;; (&rest names)
achieve-all ;; (state goals goal-stack)
achieve ;; (state goal goal-stack)
acos-deg ;; (x)
after ;; (x y lst &key (test
alrec ;; (rec &optional base)
append1 ;; (lst obj)
apply-o... | 3,572 | Common Lisp | .lisp | 126 | 26.309524 | 57 | 0.553136 | TralahM/trtek | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f83782924d0cca0487ac83aa98d8a398ce7d3ded51c3fd960105838e9559b158 | 22,845 | [
-1
] |
22,846 | abbreviations.lisp | TralahM_trtek/src/abbreviations.lisp | (in-package #:trtek)
(defmacro abbrev (short long)
`(defmacro ,short (&rest args)
`(,',long ,@args)))
(defmacro abbrevs (&rest names)
`(progn
,@(mapcar #'(lambda (pair)
`(abbrev ,@pair))
(group names 2))))
(abbrev mvbind multiple-value-bind)
(abbrev dbind destructuring... | 537 | Common Lisp | .lisp | 18 | 24.222222 | 45 | 0.598441 | TralahM/trtek | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3a3dadd82d31658f6ad760d5426edc4206be62ce12ef8cc7bc3205a7b86fdde1 | 22,846 | [
-1
] |
22,847 | gps.lisp | TralahM_trtek/src/gps/gps.lisp | (in-package :trtek)
(defvar *ops* nil "A list of available operators.")
(defstruct op "An operation"
(action nil) (preconds nil) (add-list nil) (del-list nil))
(defvar *dbg-ids* nil "Identifiers used by dbg")
(defun dbg (id format-string &rest args)
"Print Debugging info if (DEBUG ID) has been specified."
(... | 6,576 | Common Lisp | .lisp | 151 | 37.192053 | 108 | 0.638528 | TralahM/trtek | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9bcefd5036f5a133b1a455b45e85d4a6a2d9ec7711c8140ba031bf9499d35e4f | 22,847 | [
-1
] |
22,848 | main.lisp | TralahM_trtek/tests/main.lisp | (defpackage trtek/tests/main
(:use :cl
:trtek
:fiveam)
(:export #:run! #:all-tests test-trtek))
(in-package :trtek/tests/main)
(def-suite all-tests
:description "The master suite of all trtek tests.")
(in-suite all-tests)
(defun test-trtek ()
(run! 'all-tests))
(test test-cumsum
... | 5,583 | Common Lisp | .lisp | 127 | 38.228346 | 101 | 0.530441 | TralahM/trtek | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f89f82f81a2813ad58ad3b8c8abb56c2afcca930613a4eeb3a3e94d076f9628d | 22,848 | [
-1
] |
22,849 | trtek.asd | TralahM_trtek/trtek.asd | (defsystem "trtek"
:version "0.1.0"
:author "Tralah M Brian <musyoki.brian@tralahtek.com>"
:maintainer "Tralah M Brian <musyoki.brian@tralahtek.com>"
:license "GPL"
; :homepage "https://github.com/TralahM/trtek"
; :bug-tracker "https://github.com/TralahM/trtek/issues"
; :source-control (:git "git@github.c... | 1,356 | Common Lisp | .asd | 30 | 35.933333 | 92 | 0.589434 | TralahM/trtek | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 6dc38926c7d0e33a25096559008014e7ae74b28666b62081c9abbe435875e163 | 22,849 | [
-1
] |
22,851 | .mailmap | TralahM_trtek/.mailmap |
# Prevent git from showing duplicate names with commands like "git shortlog"
# See the manpage of git-shortlog for details.
# The syntax is:
# Name that should be used <email that should be used> Bad name <bad email>
#
# You can skip Bad name if it is the same as the one that should be used, and is unique.
#
# This fi... | 499 | Common Lisp | .l | 10 | 48.6 | 88 | 0.751029 | TralahM/trtek | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 62c0f70892a2880084aa062e56054a967e3bcfeeb715066e208923f20559c3cb | 22,851 | [
-1
] |
22,875 | package.lisp | szos_framework-client/package.lisp | ;;;; package.lisp
(defpackage #:matrix-framework
(:use #:cl)
(:export :initialize*
:view-room*
))
| 113 | Common Lisp | .lisp | 6 | 15.5 | 30 | 0.619048 | szos/framework-client | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 2f0524fade352c496700e20444b7fa22260121fa17dc95e1990514f74bff9c27 | 22,875 | [
-1
] |
22,876 | parse-timeline,etc.lisp | szos_framework-client/parse-timeline,etc.lisp | (in-package :matrix-framework)
;;; what i want is a timeline, to be then printed like so:
;;; timestamp user: message
;;; what we have now is:
;;; user says:
;;; message
;;; ------------- (for 80 characters. we assume minimum of 80 character display)
(defun deal-with-newlines (formatted-event)
(if (search "
" ... | 12,434 | Common Lisp | .lisp | 266 | 42.522556 | 128 | 0.673459 | szos/framework-client | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 910c309544afb173b82b99b3555a11a2f7cf1b50279ca528cdd767f97eeb72b5 | 22,876 | [
-1
] |
22,877 | objects.lisp | szos_framework-client/objects.lisp | (in-package :matrix-framework)
;;; all the classes and methods should go here. preferablyy rework everything to be
;;; useing methods, so that for example we just have to have our main loop running and everything
;;; else is method dispatches for updateing rooms and objects.
(defclass chamber ()
;; called a chamber... | 3,431 | Common Lisp | .lisp | 81 | 38.54321 | 97 | 0.705988 | szos/framework-client | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 85a767daf8e1ff6ef4eced778c09c716cd6411f910c3eeb04bf50c9ef7332415 | 22,877 | [
-1
] |
22,878 | parse-chambers.lisp | szos_framework-client/parse-chambers.lisp | (in-package :matrix-framework)
;; (defun display-room-events-list (list-of-formatted-events)
;; (loop for event in list-of-formatted-events
;; do
;; (princ event)
;; (terpri)
;; (princ "--------------------------------------------------------------------------------")
;; (terpri)))
... | 3,861 | Common Lisp | .lisp | 106 | 31.424528 | 100 | 0.600589 | szos/framework-client | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | be146f7f4a368ce3875c6f57eb0327cf4be38f29c50c0f39268c12f3bf09d500 | 22,878 | [
-1
] |
22,879 | auth.lisp | szos_framework-client/auth.lisp | (in-package :matrix-framework)
(defun smart-login ()
(if *session-user-auth*
(progn
(princ (format nil "~a is already logged in."
*user-address*))
(terpri))
(progn
(princ "login")
(terpri)
(looped-login))))
(defun looped-login ()
"prompts the user for username and password, and attempts ... | 916 | Common Lisp | .lisp | 35 | 21.285714 | 82 | 0.613455 | szos/framework-client | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 6029cd878861e726f0d6eb52786437213c9592d444350a65854d1131bdb6c4e0 | 22,879 | [
-1
] |
22,880 | navigate-rooms.lisp | szos_framework-client/navigate-rooms.lisp | (in-package :matrix-framework)
;;; herin lies functions to 'visit' rooms.
(defparameter *join-rooms* nil)
(defun init-*join-rooms* (&optional (chambers *chambers*))
(setf *join-rooms* (rest (fourth chambers))))
(defparameter *room-id->name* '()
"stores the name of the rooms, with the id as the key")
(defparamete... | 3,125 | Common Lisp | .lisp | 77 | 36.779221 | 80 | 0.664799 | szos/framework-client | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | ef547d324dbb8856e9d9292ea1fc10c4c71ef70a874cee3cbb36a0d30639dff4 | 22,880 | [
-1
] |
22,881 | interact.lisp | szos_framework-client/interact.lisp | (in-package :matrix-framework)
;;; this file is for holding our custom repl.
(defparameter *allowed-commands*
'(logout initialize quit exit grab-single-room view-room inspect-room-state list-rooms
exit-test-repl print-commands view-room*
))
(defun print-commands (&optional (commands *allowed-commands*))
... | 9,541 | Common Lisp | .lisp | 232 | 37.767241 | 88 | 0.647795 | szos/framework-client | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 354724f10a2a5ac3499768c0643e25179107d1282083f4baf038c16b43adabec | 22,881 | [
-1
] |
22,882 | matrix-framework.lisp | szos_framework-client/matrix-framework.lisp | ;;;; matrix-framework.lisp
(in-package #:matrix-framework)
;;; "matrix-framework" goes here. Hacks and glory await!
(defparameter *session-user-auth* nil
"users authentication token. should be set upon login")
(defparameter *device-id* nil
"devices id, used to differentiate between devices. currently resets
on e... | 9,470 | Common Lisp | .lisp | 233 | 35.93133 | 200 | 0.659983 | szos/framework-client | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 461f06097904d9ae1fdd226e665cf769b49806025335cb54b66e636c2ea49a0e | 22,882 | [
-1
] |
22,883 | matrix-framework.asd | szos_framework-client/matrix-framework.asd | ;;;; matrix-framework.asd
(asdf:defsystem #:matrix-framework
:description "This heres a bad description... Tested on SBCL linux."
:author "Your Name <your.name@example.com>"
:license "GPL v3"
:serial t
:depends-on (#:drakma
#:flexi-streams
#:yason
#:clim-lisp)
:compone... | 541 | Common Lisp | .asd | 17 | 24.529412 | 70 | 0.58046 | szos/framework-client | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 07235afb5d44cdf759673d293fac63d743a5c53ec9bd6c18227ae835e30d1c22 | 22,883 | [
-1
] |
22,907 | dump.lisp | BonfaceKilz_gn-dataset-dump/dump.lisp | (defpackage :dump
(:use :common-lisp :cl-json)
(:import-from :alexandria :once-only :iota
:plist-alist :with-gensyms)
(:import-from :listopia :all :any :split-at)
(:import-from :ironclad :with-octet-input-stream :with-octet-output-stream
:with-digesting-stream :digest-length)
(:import-from :str
:conc... | 16,209 | Common Lisp | .lisp | 433 | 32.353349 | 96 | 0.672774 | BonfaceKilz/gn-dataset-dump | 2 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 6a6a623dbd954b7f2b2ddc61cf1edc983c1ed62a7ac650a77e050cbef5b774f2 | 22,907 | [
-1
] |
22,908 | build.lisp | BonfaceKilz_gn-dataset-dump/build.lisp | (require :asdf)
;; Load genenetwork.asd from the current directory.
(asdf:load-asd (merge-pathnames "dump.asd"
(directory-namestring *load-truename*)))
(asdf:make :dump)
| 204 | Common Lisp | .lisp | 5 | 33 | 72 | 0.64467 | BonfaceKilz/gn-dataset-dump | 2 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f952ee4cbe1e8bde186824de7f9e0e3419c8c0630c0429125b0c5ff1e3dc66f7 | 22,908 | [
-1
] |
22,909 | dump.asd | BonfaceKilz_gn-dataset-dump/dump.asd | (in-package cl-user)
(asdf:defsystem #:dump
:description "GeneNetwork matrix database tool"
:version "0.1.0"
:author "The GeneNetwork team"
:licence "GNU General Public License version 3 or later"
:depends-on (:alexandria
:arrows
:cl-conspack
:cl-dbi :trivia
:cl-fad
:c... | 531 | Common Lisp | .asd | 21 | 19.52381 | 58 | 0.625984 | BonfaceKilz/gn-dataset-dump | 2 | 1 | 0 | AGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 4e53f220f8ac3f7b719ab00fcfe50dd64d1c50dcfe3990c849c83dab9188ae79 | 22,909 | [
-1
] |
22,927 | build.lisp | exercism_common-lisp-test-runner/build/build.lisp | (load "quicklisp/setup.lisp")
(ql:quickload "test-runner")
(let ((bin-dir (make-pathname :directory '(:relative "bin"))))
(ensure-directories-exist bin-dir)
(sb-ext:save-lisp-and-die (merge-pathnames "test-runner" bin-dir)
:toplevel #'test-runner:test-runner
:exe... | 332 | Common Lisp | .lisp | 7 | 38.285714 | 67 | 0.617284 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | c62b61245068d26b23ad33c01f528bb00a0a980b4d42e3a4e01f403701728d9f | 22,927 | [
-1
] |
22,928 | astonish.lisp | exercism_common-lisp-test-runner/src/test-runner/astonish.lisp | ;;;; An AST Manipulation Library
;;;; This will grow and hopefully be shared by all of our tooling, even
;;;; eventually being used to test for implementation in the test-suites
(defpackage astonish
(:use :cl :alexandria)
(:export :load-forms-from-file :select-conses :macroexpand-select))
(in-package :astonish)
;... | 2,061 | Common Lisp | .lisp | 41 | 46.609756 | 80 | 0.672637 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 9b3afda616b8faf2d098b3f71146fe611993064ad8b82525e28bacea61752d57 | 22,928 | [
-1
] |
22,929 | test-runner.lisp | exercism_common-lisp-test-runner/src/test-runner/test-runner.lisp | ;;;; Exercism Common Lisp Test Runner
(defpackage test-runner
(:use :cl)
(:export :test-runner))
(in-package :test-runner)
;;; Set some parameters
(defvar *max-output-chars* 500)
(defvar *results-file* "results.json")
;;; Load and run tests
(defun get-test-results (slug src-path out-path)
(let* ((*default-pat... | 4,093 | Common Lisp | .lisp | 88 | 37.943182 | 87 | 0.611779 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | b171ac9a8851e32b9cceca720943a622f47de23e7ccacfe8574755d17a86d3d9 | 22,929 | [
-1
] |
22,930 | success.lisp | exercism_common-lisp-test-runner/tests/success/success.lisp | (cl:defpackage :success
(:use :common-lisp)
(:export :leap-year-p))
(in-package :success)
(defun divisible-by-p (n d) (= 0 (rem n d)))
(defun leap-year-p (year)
(and (divisible-by-p year 4)
(or (not (divisible-by-p year 100))
(divisible-by-p year 400))))
| 275 | Common Lisp | .lisp | 9 | 27.333333 | 44 | 0.642586 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 1113080cf385e30cc9207fda36e23ea3017a3ec03fc4dc4844bb7e5dc198207f | 22,930 | [
-1
] |
22,931 | success-test.lisp | exercism_common-lisp-test-runner/tests/success/success-test.lisp |
;; Ensures that success.lisp and the testing library are always loaded
(eval-when (:compile-toplevel :load-toplevel :execute)
(load "success")
(quicklisp-client:quickload :fiveam))
;; Defines the testing package with symbols from leap and FiveAM in scope
;; The `run-tests` function is exported for use by both the... | 994 | Common Lisp | .lisp | 21 | 45.285714 | 80 | 0.744548 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 127cb551fc703d78d4c3b2107518b3441acb74e32a588c7dc39ded9be5d5c0a4 | 22,931 | [
-1
] |
22,932 | syntax-error-test.lisp | exercism_common-lisp-test-runner/tests/syntax-error/syntax-error-test.lisp | ;; Ensures that syntax-error.lisp and the testing library are always loaded
(eval-when (:compile-toplevel :load-toplevel :execute)
(load "syntax-error")
(quicklisp-client:quickload :fiveam))
;; Defines the testing package with symbols from leap and FiveAM in scope
;; The `run-tests` function is exported for use by... | 1,043 | Common Lisp | .lisp | 21 | 47.666667 | 80 | 0.747285 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | a6b8c6ce242593acdb7e8b61281c738f332308d00f6197801c47bedaeda69e44 | 22,932 | [
-1
] |
22,933 | all-fail.lisp | exercism_common-lisp-test-runner/tests/all-fail/all-fail.lisp | (cl:defpackage :all-fail
(:use :common-lisp)
(:export :leap-year-p))
(in-package :all-fail)
(defun divisible-by-p (n d) (= 0 (rem n d)))
(defun leap-year-p (year)
(not
(and (divisible-by-p year 4)
(or (not (divisible-by-p year 100))
(divisible-by-p year 400)))))
| 293 | Common Lisp | .lisp | 10 | 25.3 | 44 | 0.620939 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 090da2c3d70916e0326b390bd294789e1c2c4587977085fdfe97edea8d118a5c | 22,933 | [
-1
] |
22,934 | all-fail-test.lisp | exercism_common-lisp-test-runner/tests/all-fail/all-fail-test.lisp | ;; Ensures that all-fail.lisp and the testing library are always loaded
(eval-when (:compile-toplevel :load-toplevel :execute)
(load "all-fail")
(quicklisp-client:quickload :fiveam))
;; Defines the testing package with symbols from leap and FiveAM in scope
;; The `run-tests` function is exported for use by both th... | 1,003 | Common Lisp | .lisp | 21 | 45.761905 | 80 | 0.736896 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | e349c6b7290abc6549d6cb6053124aab4981758767e79c464e22f4388df95c40 | 22,934 | [
-1
] |
22,935 | empty-file-test.lisp | exercism_common-lisp-test-runner/tests/empty-file/empty-file-test.lisp | ;; Ensures that empty-file.lisp and the testing library are always loaded
(eval-when (:compile-toplevel :load-toplevel :execute)
(load "empty-file")
(quicklisp-client:quickload :fiveam))
;; Defines the testing package with symbols from leap and FiveAM in scope
;; The `run-tests` function is exported for use by bot... | 1,023 | Common Lisp | .lisp | 21 | 46.714286 | 80 | 0.742195 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | fc1dd0ebd3e264c3dab481de9e37ff676d780397f1ede82a0a93ceff6ec2fe87 | 22,935 | [
-1
] |
22,936 | partial-fail.lisp | exercism_common-lisp-test-runner/tests/partial-fail/partial-fail.lisp | (cl:defpackage :partial-fail
(:use :common-lisp)
(:export :leap-year-p))
(in-package :partial-fail)
(defun divisible-by-p (n d) (= 0 (rem n d)))
(defun leap-year-p (year)
(and (divisible-by-p year 4)
(or (not (divisible-by-p year 100))
(divisible-by-p year 404))))
| 285 | Common Lisp | .lisp | 9 | 28.444444 | 44 | 0.648352 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 7f1dd54f1375e16c72841558c8fe5b4f4a7072ccea3171a8de4ae1c2e4d886b1 | 22,936 | [
-1
] |
22,937 | partial-fail-test.lisp | exercism_common-lisp-test-runner/tests/partial-fail/partial-fail-test.lisp | ;; Ensures that partial-fail.lisp and the testing library are always loaded
(eval-when (:compile-toplevel :load-toplevel :execute)
(load "partial-fail")
(quicklisp-client:quickload :fiveam))
;; Defines the testing package with symbols from leap and FiveAM in scope
;; The `run-tests` function is exported for use by... | 1,035 | Common Lisp | .lisp | 21 | 47.285714 | 80 | 0.746269 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 0dfb5b0a5e4130721cdc61006f68b118986458bc66b131147bcb169fcd9f6020 | 22,937 | [
-1
] |
22,938 | test-runner.asd | exercism_common-lisp-test-runner/src/test-runner.asd | (defsystem "test-runner"
:name "test-runner"
:version "0.0.0"
:description "Exercism Common Lisp Test-Runner"
:depends-on ("uiop" "fiveam" "st-json" "alexandria")
:pathname "test-runner"
:serial t
:components ((:file "astonish")
(:file "test-runner" :depends-on ("astonish"))))
| 309 | Common Lisp | .asd | 9 | 29.888889 | 63 | 0.654362 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | b5628b261229fb84b64a91b8ed2eaeb697d98afa7236fbbeefc14d34ab9c297f | 22,938 | [
-1
] |
22,940 | Dockerfile | exercism_common-lisp-test-runner/Dockerfile | FROM clfoundation/sbcl:2.1.5-alpine3.13 AS build
RUN apk --no-cache add curl
# Set working directory
WORKDIR /opt/test-runner
ENV HOME=/opt/test-runner
# Pull down the latest Quicklisp
RUN mkdir build && curl https://beta.quicklisp.org/quicklisp.lisp -o build/quicklisp.lisp
# Install quicklisp
COPY build/install-qui... | 837 | Common Lisp | .l | 23 | 35.086957 | 89 | 0.796778 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 810122bf7e37b2ccc163d42bf381548c898b151a6c5f0b420cb9f188e363e1ed | 22,940 | [
-1
] |
22,942 | run-local.sh | exercism_common-lisp-test-runner/bin/run-local.sh | #!/bin/sh -e
slug=$1
local_input=`realpath $2`
local_output=`realpath $3`
image=`docker build -q .`
docker run \
--network none \
--read-only \
--mount type=bind,source=${local_input},target=/input \
--mount type=bind,source=${local_output},target=/output \
--rm \
-it $image... | 368 | Common Lisp | .l | 13 | 23.769231 | 64 | 0.623932 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 6cd9c86a7614083eb9cca57f043e9a36d5d0b6f96b779273228aa517c9bdabbe | 22,942 | [
-1
] |
22,951 | ci.yml | exercism_common-lisp-test-runner/.github/workflows/ci.yml | name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
name: Tests
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Set up Docker Buildx
uses: docker/se... | 821 | Common Lisp | .l | 30 | 20.2 | 81 | 0.642494 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 780b3a9dee295613e518f43793bb4906ac77609acc4376991e3d025452bb062f | 22,951 | [
-1
] |
22,952 | expected_results.json | exercism_common-lisp-test-runner/tests/success/expected_results.json | {"version":2,"status":"pass","tests":[{"name":"VANILLA-LEAP-YEAR (1/1)","status":"pass","message":null,"output":"","test_code":"(is (success:leap-year-p 1996))"},{"name":"ANY-OLD-YEAR (1/1)","status":"pass","message":null,"output":"","test_code":"(is (not (success:leap-year-p 1997)))"},{"name":"NON-LEAP-EVEN-YEAR (1/1)... | 665 | Common Lisp | .l | 1 | 665 | 665 | 0.619549 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | f0d6b2f9d6c2b304f8d872daca3927c081530434dc7209ff4f720f45eb4018c6 | 22,952 | [
-1
] |
22,955 | expected_results.json | exercism_common-lisp-test-runner/tests/syntax-error/expected_results.json | {"version":2,"status":"error","message":"READ error during LOAD:\n\n end of file on #<SB-INT:FORM-TRACKING-STREAM for \"file /opt/test-runner/tests/syntax-error/syntax-error.lisp\" {1001A86233}>\n\n (in form starting at line: 1, column: 0, position: 0)"} | 256 | Common Lisp | .l | 1 | 256 | 256 | 0.707031 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | bc4be6682e2ff33c50aaa3dabffee3446d14e88ab52659088c6e34f01d76c9d1 | 22,955 | [
-1
] |
22,959 | expected_results.json | exercism_common-lisp-test-runner/tests/all-fail/expected_results.json | {"version":2,"status":"fail","tests":[{"name":"VANILLA-LEAP-YEAR (1/1)","status":"fail","message":"\n1996\n\n evaluated to \n\n1996\n\n which does not satisfy \n\nALL-FAIL:LEAP-YEAR-P\n\n","output":"","test_code":"(is (all-fail:leap-year-p 1996))"},{"name":"ANY-OLD-YEAR (1/1)","status":"fail","message":"\n1997\n\n eval... | 1,127 | Common Lisp | .l | 1 | 1,127 | 1,127 | 0.652174 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 75d209794b0334daa30eea4ce3d4871e36bcc1ac2174a3dd13a40979384342c5 | 22,959 | [
-1
] |
22,960 | expected_results.json | exercism_common-lisp-test-runner/tests/empty-file/expected_results.json | {"version":2,"status":"error","message":"READ error during LOAD:\n\n Package EMPTY-FILE does not exist.\n\n Line: 18, Column: 51\n\n Stream: #<SB-INT:FORM-TRACKING-STREAM for \"file /opt/test-runner/tests/empty-file/empty-file-test.lisp\" {100095BBA3}>"} | 261 | Common Lisp | .l | 1 | 261 | 261 | 0.701149 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 42e9f5f93ac214ac990ed117dd5fc3579c607b72684223c5a60142d69856861f | 22,960 | [
-1
] |
22,962 | expected_results.json | exercism_common-lisp-test-runner/tests/partial-fail/expected_results.json | {"version":2,"status":"fail","tests":[{"name":"VANILLA-LEAP-YEAR (1/1)","status":"pass","message":null,"output":"","test_code":"(is (partial-fail:leap-year-p 1996))"},{"name":"ANY-OLD-YEAR (1/1)","status":"pass","message":null,"output":"","test_code":"(is (not (partial-fail:leap-year-p 1997)))"},{"name":"NON-LEAP-EVEN-... | 780 | Common Lisp | .l | 1 | 780 | 780 | 0.637179 | exercism/common-lisp-test-runner | 1 | 3 | 4 | AGPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 1680b9ed23c55dd257ed34baca1f4c03c0c986ef5bf4ad090023b7af03209119 | 22,962 | [
-1
] |
22,979 | glol.lisp | CallmeTorre_IA/Exercises/glol.lisp | ;------------------------------------------
;| Jes√∫s Alexis Torreblanca Faces |
;| Inteligencia Artificial |
;| Resuelve el problema Granjero, Lobo, |
;| Oveja y Legumbres |
;------------------------------------------
(defparameter *open* '())
(defparameter *memory* '())
(def... | 6,303 | Common Lisp | .lisp | 158 | 36.075949 | 151 | 0.63626 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 4b78228298317591d936789e91b3ae3220bb063bb31036ceffd619e6e0dca2a3 | 22,979 | [
-1
] |
22,980 | Misioneros-Canibales.lisp | CallmeTorre_IA/Exercises/Misioneros-Canibales.lisp | ;;;=======================================================================
;;; Misioneros-Canibales.lisp
;;; Resuelve el problema de misioneros y canibales con búsqueda ciega, a lo profundo y a lo ancho.
;;;
;;; Ejemplo explicado en clase. Presentaciones #3 y #4
;;;
;;; Dr. Salvador Godoy C... | 13,970 | Common Lisp | .lisp | 222 | 56.774775 | 150 | 0.532582 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 02a6eec151fdd8332cadd6756d56e33ddce0c09691afc64ae431e9a395628cc9 | 22,980 | [
24355
] |
22,981 | Mancala.lisp | CallmeTorre_IA/Exercises/Mancala.lisp | ;------------------------------------------
;| Jesús Alexis Torreblanca Faces |
;| Inteligencia Artificial |
;| Agente Jugador de Mancala |
;------------------------------------------
(defparameter *board* '((1 5 10)(1 5 10)(1 5 10)(1 5 10)(1 5 10)(1 5 10)()(1 5 10)(1 5 10)(1 5 10)(... | 12,669 | Common Lisp | .lisp | 274 | 36.007299 | 210 | 0.546624 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 679cd341f3a34d20a1306f768342e748e1fb0c06a51b5fa06b31b72bf30935e7 | 22,981 | [
-1
] |
22,982 | 8puzzle.lisp | CallmeTorre_IA/Exercises/8puzzle.lisp | ;------------------------------------------
;| Jes√∫s Alexis Torreblanca Faces |
;| Inteligencia Artificial |
;| Resuelve el problema 8-puzzle |
;------------------------------------------
(defparameter *open* '())
(defparameter *memory* '())
(defparameter *id* 0)
(defparameter *ops* '(... | 12,937 | Common Lisp | .lisp | 311 | 37.784566 | 124 | 0.665185 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 77c6099d985f04c3486a03eb0f07198b7e2a97e1bb22b6715cc11a09dcda99a6 | 22,982 | [
-1
] |
22,983 | SearchEngine.lisp | CallmeTorre_IA/Exercises/SearchEngine/SearchEngine.lisp | ;------------------------------------------
;| Jesús Alexis Torreblanca Faces |
;| Inteligencia Artificial |
;| Motor de consulta |
;------------------------------------------
(defparameter *knowledge-vector* (make-array 100
:adjus... | 6,808 | Common Lisp | .lisp | 149 | 30.644295 | 102 | 0.481476 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 245b80d7d0dcb8e0fe434670509143f2c4ddfdccf62f27f223a7c52f6323fa96 | 22,983 | [
-1
] |
22,984 | 3DMazes.lisp | CallmeTorre_IA/Exercises/Mazes/3DMazes.lisp | ;------------------------------------------
;| Jesús Alexis Torreblanca Faces |
;| Inteligencia Artificial |
;| Resuelve laberintos 3D |
;------------------------------------------
;| Probar en: http://idic.likufanele.com/~fundamentosia/Maze3D/
(load "maze_lib.lisp")
(add-algori... | 19,384 | Common Lisp | .lisp | 389 | 38.951157 | 151 | 0.567622 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 1ec54491c0e058bc60033ae266142ed7d108d515a5af67db5357cdf3308159f3 | 22,984 | [
-1
] |
22,985 | maze_lib.lisp | CallmeTorre_IA/Exercises/Mazes/maze_lib.lisp | ;Biblioteca maze-lib.lisp - Versión para descargar.
;Variables propias de esta biblioteca. Favor de no usarse o modificarse dentro de su código.
(defvar *algorithms-list* nil)
(defvar *goal*)
(defvar *start*)
(defvar *solution* nil)
(defvar *exec_time* 100000)
(defvar *num_algorithm* 0)
(defvar *num_laberinto* 0)
(def... | 2,806 | Common Lisp | .lisp | 73 | 31.205479 | 98 | 0.566535 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | c2e7f239626ce06543fe2b2982aff3b82b696c2e71b20da1b242071f8b493ada | 22,985 | [
-1
] |
22,986 | 2DMazes.lisp | CallmeTorre_IA/Exercises/Mazes/2DMazes.lisp | ;------------------------------------------
;| Jesús Alexis Torreblanca Faces |
;| Inteligencia Artificial |
;| Resuelve laberintos 2D |
;------------------------------------------
;| Probar en: http://idic.likufanele.com/~fundamentosia/Maze2D/
;Librería que genera los laberintos... | 15,826 | Common Lisp | .lisp | 324 | 37.12037 | 151 | 0.54329 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 3eb1384278a3f568e6ffdb75203a60cf3682a427c3af2084c3dbf4d9bce34775 | 22,986 | [
-1
] |
22,987 | Código_de_ejemplo.lisp | CallmeTorre_IA/Exercises/Mazes/Código_de_ejemplo.lisp | ;;;Código de ejemplo.
;;;Este código muestra como deben usarse las funciones de la biblioteca
;;;maze-lib.lsp para que pueda ser usado en la página de internet. Este código
;;;sólo funciona para el laberinto Chico, ya que la solución ya está escrita
;;;dentro del código. Si se usa en los demás laberintos surgirán mensa... | 3,698 | Common Lisp | .lisp | 68 | 51.367647 | 85 | 0.752944 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | e6a13402868cfc9b486d62ca076a7e8bfaab4480462e080133cfc43b57eda266 | 22,987 | [
-1
] |
22,988 | ExercisePackage4.lisp | CallmeTorre_IA/LISP/ExercisePackage4.lisp | ;Jesús Alexis Torreblanca Faces
;1)
(defun Collect (fun l)
(cond ((null lista) nil)
(t (Collect (funcall fun (car lista) (cadr lista))))))
(Collect #'+ '(1 2 3 4)) ; 10
;2)
(defun palindromo (lista)
(if (equal nil lista) T
(if (equal (first lista) (first (last lista))) (palindromo (rest (b... | 4,943 | Common Lisp | .lisp | 130 | 31.361538 | 106 | 0.548724 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 3bb5c56e79dc67c490e8b2437b2b72e004043cf488794ccecc74f3868e7f3418 | 22,988 | [
-1
] |
22,989 | ExercisePackage1.lisp | CallmeTorre_IA/LISP/ExercisePackage1.lisp | ;Jesús Alexis Torreblanca Faces
;1.a) El quinto elemento de la lista (((1 2) 3) 4 (5 (6)) A (B C) D (E (F G))) sin usar la función FIFTH
(first (rest (rest (rest (rest '(((1 2) 3) 4 (5 (6)) A (B C) D (E (F G)))))))) ;(B C)
;1.b) El numero de segundos que tiene el año bisiesto 2004
(* 366 24 3600) ;31622400
;1.c) Si ... | 2,506 | Common Lisp | .lisp | 60 | 38.55 | 134 | 0.572908 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | c7ceafc5df4436927913cf68a84c2f002312de9946858894e63ace276afcd227 | 22,989 | [
-1
] |
22,990 | ExercisePackage2.lisp | CallmeTorre_IA/LISP/ExercisePackage2.lisp | ;Jesús Alexis Torreblanca Faces
;1)
(defun ElemInPos (elem lista pos)
(if (equal elem (nth pos lista)) T NIL))
(ELEMINPOS 'a '(a) 0) ; T
(ELEMINPOS 'b '(a j c) 4) ; NIL
;2)
(defun Inicio-en (lista elem)
(cons (position elem lista) lista))
(inicio-en '(a b c) 'a) ; (0 A B C)
;3)
(defun Termina-en (lista ele... | 4,587 | Common Lisp | .lisp | 134 | 28.044776 | 98 | 0.545866 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 09671ab5c1add7eaa9d8ccc97bc839b92c7731227eccb9a7e6d8d3c382785529 | 22,990 | [
-1
] |
22,991 | ExercisePackage3.lisp | CallmeTorre_IA/LISP/ExercisePackage3.lisp | ;Jesús Alexis Torreblanca Faces
;1)
(defun ElemInPos (elem lista pos cont)
(cond ((null lista) nil)
((and (equal pos cont)(equal (first lista) elem)) T)
(T (ElemInPos elem (rest lista) pos (+ cont 1)))))
(ElemInPos 'a '(a b c d) 2 0) ; NIL
(ElemInPos 'a '(a b c d) 0 0) ; T
;2)
(defun ... | 11,133 | Common Lisp | .lisp | 310 | 29.36129 | 127 | 0.551609 | CallmeTorre/IA | 1 | 3 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 4d8ee9ed61e0a53331fd34da5604f22e080a156c6671cbd1533474fdda5d770d | 22,991 | [
-1
] |
23,020 | classifier.lisp | codingisacopingstrategy_k-Nearest-Neighbor-Classifier/classifier.lisp | (in-package :classifier.knn)
(declaim (optimize (speed 3) (safety 0)))
;(proclaim '(inline data weights))
(defparameter *item-matrix* nil "The main matrix holding the data.")
(defun partition-data (data-set &key (start 0) end)
"Help function to divide dataset into test and training part."
(loop for idx from sta... | 8,290 | Common Lisp | .lisp | 187 | 39.705882 | 80 | 0.680654 | codingisacopingstrategy/k-Nearest-Neighbor-Classifier | 1 | 1 | 0 | GPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 77fe9840a22843dde69437409c5cecc5ff9aad57025426ad01a7cea3ef729d91 | 23,020 | [
-1
] |
23,021 | classifier-utilities.lisp | codingisacopingstrategy_k-Nearest-Neighbor-Classifier/classifier-utilities.lisp | (in-package :classifier.knn)
(declaim (optimize (speed 3) (safety 0)))
(defun transpose (lst)
"Zip function."
(apply #'mapcar #'list lst))
(defun assoc-cdr (item alist)
"Return last element of association list."
(cdr (assoc item alist)))
(defun sort-hash-table (ht sort-fn &optional &key (by :values))
"Sor... | 6,707 | Common Lisp | .lisp | 172 | 35.453488 | 78 | 0.689666 | codingisacopingstrategy/k-Nearest-Neighbor-Classifier | 1 | 1 | 0 | GPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | dd86173dd0ae953cdaaaf40ef960d4d571ba714b3d33b273c9a34e975842edf2 | 23,021 | [
-1
] |
23,022 | prediction.lisp | codingisacopingstrategy_k-Nearest-Neighbor-Classifier/prediction.lisp | (in-package :classifier.knn)
(declaim (optimize (speed 3) (safety 0)))
(defparameter *voting-function* nil)
(defclass exemplar-features ()
((exemplar
:initarg :exemplar
:accessor exemplar
:initform (error "Must supply exemplar!")
:documentation "A particular exemplar")
(nearest-neighbors
:in... | 6,904 | Common Lisp | .lisp | 149 | 41.644295 | 80 | 0.689143 | codingisacopingstrategy/k-Nearest-Neighbor-Classifier | 1 | 1 | 0 | GPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | eb6f234cdba4e5cb7e7ce60cc737291285bf5c56df6ef10e0c8d1bd0f0554d0f | 23,022 | [
-1
] |
23,023 | knn.asd | codingisacopingstrategy_k-Nearest-Neighbor-Classifier/knn.asd | (defpackage :classifier.knn-system (:use :asdf :cl))
(in-package :classifier.knn-system)
(defsystem knn
:name "kNN"
:author "Folgert Karsdorp <fbkarsdorp@gmail.com>"
:version "0.3"
:maintainer "Folgert Karsdorp <fbkarsdorp@gmail.com>"
:licence "GNU General Public Licence"
:description "k-Nearest Neighbor c... | 741 | Common Lisp | .asd | 18 | 38.222222 | 83 | 0.710927 | codingisacopingstrategy/k-Nearest-Neighbor-Classifier | 1 | 1 | 0 | GPL-2.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 29c37ef2607a68a3da9d3bfff90b68ab3b6c8a4939882762b0e854dae7434087 | 23,023 | [
-1
] |
23,042 | cdrack.dcl | dentonyoder_LISP/cdrack.dcl | cdrack : dialog {
label = "This is a sample drafting tool";
width = 40;
:text { label = "Program to draw a CD/DVD/VHS Rack"; }
:edit_box{label = "Length = "; key = x;}
:edit_box{label = "No of CD Rows = "; key = cd;}
:edit_box{label = "No of DVD Rows = "; key = dvd;}
:edit_box{label = "No of VHS Shelv... | 363 | Common Lisp | .cl | 10 | 32.5 | 56 | 0.578797 | dentonyoder/LISP | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 2031c0554ab60fd9b7ccb6ae19119e9c2ef999da1691562687b9b8fb6cd2fde9 | 23,042 | [
-1
] |
23,044 | bi.lsp | dentonyoder_LISP/bi.lsp | (defun c:bi(/ ans myset p1 p2 oldcmdecho)
;;; build isometric macro by Denton Yoder (c) 2006
(setq oldcmdecho (getvar "cmdecho"))
(setvar "cmdecho" 0)
(command "undo" "group")
(princ"\nProgram by Denton Yoder to build an isometric view from existing geometry.")
(setq ans (getstring "\nBuild from e... | 1,238 | Common Lisp | .l | 35 | 31.2 | 88 | 0.613903 | dentonyoder/LISP | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 22db4d817dc832e75dda3bca8a3ded3cdacd34d73e39347d0895a340e59456e2 | 23,044 | [
-1
] |
23,045 | bacres.lsp | dentonyoder_LISP/bacres.lsp | (defun c:bacres(/ o1 a1 ostyle p1)
(setvar "cmdecho" 0)
(setq olayer (getvar "clayer"))
(setq ostyle (getvar "textstyle"))
(command "undo" "group")
;;; ;;;
;;; program to draw a boundary and label its acres....;;;
;;; ... | 1,050 | Common Lisp | .l | 24 | 39.041667 | 94 | 0.54095 | dentonyoder/LISP | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | d160b0235f13afd495d23d03f7fa09dec76858644a25f739aee0062f83b80f38 | 23,045 | [
-1
] |
23,046 | clevis.lsp | dentonyoder_LISP/clevis.lsp | (defun c:clevis(/ oldosnap p1 p2 p3 p4)
; clevis program to draw pole with clevis attachment at each end.
; options are side view or top view.
(setq p1 (getpoint "\nStarting point for clevis rod:"))
(setq o1 (getstring "\nPlace by Top or <Side>:"))
(setq p2 (getpoint "\nEnding point:" p1)... | 1,769 | Common Lisp | .l | 35 | 42.028571 | 80 | 0.552336 | dentonyoder/LISP | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 6b5b8a1379fbbbaff532666d5df3e8999eee1b096fa901d855dfc9c2667f624b | 23,046 | [
-1
] |
23,047 | acaddoc.lsp | dentonyoder_LISP/acaddoc.lsp |
(defun s::startup()
(setvar "cmdecho" 0)
(command "navvcube" "off" "navbar" "off")
(setvar "mbuttonpan" 1)
(setvar "filedia" 1)
(setvar "cmdecho" 1)
(defun c:za() (command "zoom" "e" "zoom" "0.9x"))
) | 231 | Common Lisp | .l | 8 | 24.125 | 54 | 0.577982 | dentonyoder/LISP | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 131e122b830c3cf42efad4a4a2536bccadabf4ef129d15c949fe2322684d18bf | 23,047 | [
-1
] |
23,049 | cdrack.lsp | dentonyoder_LISP/cdrack.lsp | (defun updateall()
(set_tile "x" (rtos x-var))
(set_tile "cd" (itoa cd-var))
(set_tile "dvd" (itoa dvd-var))
(set_tile "vhs" (itoa vhs-var))
)
(defun c:cdrack ()
;;; store defaults to variables
(setq cd-var 2)
(setq dvd-var 3)
(setq vhs-var 0)
(setq x-var 36)
(setq dcl_id (load_dialog "... | 9,343 | Common Lisp | .l | 214 | 38.242991 | 92 | 0.543906 | dentonyoder/LISP | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 88f41d09f849d4e039c59e1191ef540699254c7b2f3e81a3bbba8ee8fbca50b2 | 23,049 | [
-1
] |
23,050 | arrow.lsp | dentonyoder_LISP/arrow.lsp | (defun c:arrow(/ p1 p2 arrowlength oldsnap)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Command to draw an arrow by Denton Yoder (c) 2016 ;;;
;;; Uses dimension arrow size variable and current dimscale ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(... | 2,483 | Common Lisp | .l | 59 | 36.711864 | 96 | 0.517154 | dentonyoder/LISP | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 6e784a39eb7021b5705418812eec7240ad00445c27ab7543f312f622c26abe2f | 23,050 | [
-1
] |
23,051 | tlabel.lsp | dentonyoder_LISP/tlabel.lsp | (defun c:tlabel(/ p1 dx dy noff x i ip)
(setvar "cmdecho" 0)
(setq Myscale (getvar "dimscale"))
(setq oldsnap (getvar "osmode"))
(setvar "osmode" 0)
(command "-layer" "m" (strcat "Text-" (rtos myscale 2 2)) "")
(command "-style" (strcat "Text-" (rtos myscale 2 2)) "romans" (* myscale 0.12... | 1,257 | Common Lisp | .l | 30 | 33.566667 | 115 | 0.511316 | dentonyoder/LISP | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 86acac06d57c44ca86dc69302696c241bbba118b5293c221a8e77add519845c9 | 23,051 | [
-1
] |
23,052 | graph.lsp | dentonyoder_LISP/graph.lsp | (defun pos(mychar myline / x flag)
(setq x 1)
(setq flag 0)
(while (< x (strlen myline))
(if (and (= flag 0) (= mychar (substr myline x 1))) (setq flag x) )
(setq x (+ x 1))
)
(setq flag flag)
)
(defun parse(Mydelimiter MyItemNo MyString / x)
(setq x 1)
(while (< x MyItemNo)
(setq Mystring (s... | 2,366 | Common Lisp | .l | 74 | 28.054054 | 97 | 0.594139 | dentonyoder/LISP | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 48ebb55e49230a272e9097787c4d9f9a0b121759a02a2f67f7b8a1e08726eb1f | 23,052 | [
-1
] |
23,075 | p3.lisp | jquaid0001_LispInsSort/p3.lisp | ; p3.lisp
; course: Organization of Programming Langauges, Spring 2022
; assignment: Programming Assignment 3
; author: Josh Quaid
; due: March 5, 11:59pm
; submitted: March 3, 10am
; directions: - To use the clisp REPL:
; - Enter clisp by typing clisp at a prompt
; - Type (load "p3.lisp")
; ... | 2,075 | Common Lisp | .lisp | 27 | 65.333333 | 156 | 0.54901 | jquaid0001/LispInsSort | 1 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | dad477b2887322184352ec564b990f43620d67bfc52cef38f1447830806a0105 | 23,075 | [
-1
] |
23,092 | imagen.lisp | josrr_lisp2js/imagen.lisp | ;;;; -*- coding: utf-8-unix; -*-
;;;; Copyright (C) 2016 José Ronquillo Rivera <josrr@ymail.com>
;;;; This file is part of lisp2js.
;;;;
;;;; lisp2js 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, eith... | 1,046 | Common Lisp | .lisp | 24 | 42.333333 | 73 | 0.726738 | josrr/lisp2js | 1 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 1ee7256cac1f615408be45574377b8e8000266c4254dc6af072f50309f53da3d | 23,092 | [
-1
] |
23,093 | lisp2js.lisp | josrr_lisp2js/lisp2js.lisp | ;;;; -*- coding: utf-8-unix; -*-
;;;; Copyright (C) 2016 José Ronquillo Rivera <josrr@ymail.com>
;;;; This file is part of lisp2js.
;;;;
;;;; lisp2js 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, eith... | 3,366 | Common Lisp | .lisp | 84 | 36.27381 | 90 | 0.67807 | josrr/lisp2js | 1 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 1d46dc0dc6bebef3d3a7cc2826abc34e58ba14f47fab20f2cfff5a8ca12c50e9 | 23,093 | [
-1
] |
23,094 | inicia.lisp | josrr_lisp2js/inicia.lisp | ;;;; -*- coding: utf-8-unix; -*-
;;;; Copyright (C) 2016 José Ronquillo Rivera <josrr@ymail.com>
;;;; This file is part of lisp2js.
;;;;
;;;; lisp2js 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, eith... | 986 | Common Lisp | .lisp | 23 | 41.782609 | 73 | 0.721124 | josrr/lisp2js | 1 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | f9387e2538373ef4cc7d4dddafe20ba05dfb4d4bcdb91fc6a495fd05153f13f8 | 23,094 | [
-1
] |
23,095 | funcion-02.lisp | josrr_lisp2js/pruebas/funcion-02.lisp | (defun foo (x)
(1+ x))
(lambda (x)
(case x
(1 (loop repeat 3 do (alert "foo")))
(:bar (alert "bar"))
(otherwise 4)))
(dotimes (x 3) (+ x x))
| 159 | Common Lisp | .lisp | 8 | 16.625 | 40 | 0.516779 | josrr/lisp2js | 1 | 1 | 0 | GPL-3.0 | 9/19/2024, 11:28:28 AM (Europe/Amsterdam) | 9c09f9196f23128b0c0005a5350d4a36f213de2d361f7afa2b454e0fe43d2ca9 | 23,095 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.