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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11,693 | relatio16.lisp | lambdamikel_VISCO/src/GEOMETRY/relatio16.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(define-condition geom-error (simple-error)
((descr :initarg :descr :accessor descr)))
(defgeneric mark-obj (obj value)
(:documentation "Mark object with value."))
(defgeneric primary-p (obj)
(:documentation ... | 37,078 | Common Lisp | .lisp | 1,132 | 28.091873 | 104 | 0.613439 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 8c84cc85830d574f5b890bd085435995be5d45aa7eb134a4d56c3e8e58ba5948 | 11,693 | [
-1
] |
11,694 | box-relations.lisp | lambdamikel_VISCO/src/GEOMETRY/box-relations.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defgeneric point-truly-inside-box-p (point box)
(:documentation "Determine if point is contained by box. If point lies on the border of the box,
returns NIL."))
(defgeneric point-truly-outside-box-p (point box)
(... | 6,348 | Common Lisp | .lisp | 185 | 28.762162 | 102 | 0.610458 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 9308eef5520f965352a3bff4a5c17d6da745f26ffc2d77d0f2c42e93f64fb01c | 11,694 | [
-1
] |
11,695 | equal.lisp | lambdamikel_VISCO/src/GEOMETRY/equal.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defgeneric equal-p (obj1 obj2)
(:documentation "Returns t, if both objects are semantically equivalent."))
;;;
;;; Equal-Relation
;;;
(defmethod equal-p ((obj1 geom-thing) (obj2 geom-thing))
nil)
(defmethod eq... | 1,081 | Common Lisp | .lisp | 27 | 36 | 78 | 0.676015 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 3726a9e6e5afa51a99629c372ce1785ffaa9e8c486fadd2c09cecd21611cae10 | 11,695 | [
-1
] |
11,696 | tree-structure.lisp | lambdamikel_VISCO/src/GEOMETRY/tree-structure.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defmethod primary-p ((obj geom-thing))
(null (part-of obj)))
;;;
;;;
;;;
(defmethod component-p ((component geom-thing)
(master geom-thing))
nil)
(defmethod component-p ((component geom-point)
(master geo... | 4,512 | Common Lisp | .lisp | 161 | 23.515528 | 77 | 0.631212 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 7362db541fb7a9643a439a0393203e114ceca924433c7cf6d28a00168254a377 | 11,696 | [
-1
] |
11,697 | epsilon2.lisp | lambdamikel_VISCO/src/GEOMETRY/epsilon2.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defgeneric inside-epsilon-p (obj1 obj2 radius &key epsilon-a epsilon-b)
(:documentation "Determine whether obj1 lies inside the epsilon-enclosure
of radius of object obj2."))
;;;
;;;
;;;
(defconstant +granularity+... | 8,435 | Common Lisp | .lisp | 219 | 32.863014 | 127 | 0.609304 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | ec3654710c4ede1bea40f3a7b9ab6e1d9cae32f4534d87f87e076a275ba5c262 | 11,697 | [
-1
] |
11,698 | interse4.lisp | lambdamikel_VISCO/src/GEOMETRY/interse4.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defgeneric lies-on-p (point obj)
(:documentation "Determine whether point lies on obj.
If obj is a polygon, this means the border of obj.
The point may conincide with one of the component points of obj => T."))
(de... | 9,873 | Common Lisp | .lisp | 275 | 31.029091 | 108 | 0.615279 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 92f756da63c5c4c9dee23f99d242ec3177197d3db287e31f3204064f59332473 | 11,698 | [
-1
] |
11,699 | inside3.lisp | lambdamikel_VISCO/src/GEOMETRY/inside3.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defgeneric inside-p (obj1 obj2)
(:documentation "Determine whether obj2 contains obj1. If obj1 touches obj2 from the inside,
returns NIL."))
(defgeneric outside-p (obj1 obj2)
(:documentation "Determine whether o... | 4,708 | Common Lisp | .lisp | 132 | 30.356061 | 99 | 0.624107 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 21a4f61b553237565dd899c94b6b203df4c15234afc4cdde83afd10c1bb5788a | 11,699 | [
-1
] |
11,700 | reldef3.lisp | lambdamikel_VISCO/src/GEOMETRY/reldef3.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GEOMETRY; Base: 10 -*-
(in-package geometry)
(defgeneric calculate-relation (obj1 obj2 &rest rest)
(:documentation "Recognizes various spatial relationships between obj1 and obj2."))
;;;
;;; Punkt-Relationen (Punkt ist erstes Argument)
;;;
(defun inverse (rel... | 2,172 | Common Lisp | .lisp | 72 | 24.541667 | 85 | 0.574458 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 346e1f3dec943b37d1d8c7962dbfc26da9d28dafe118c7eb522bdce3d7119087 | 11,700 | [
-1
] |
11,701 | os2.lisp | lambdamikel_VISCO/src/DB/os2.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: DATABASE; Base: 10 -*-
(in-package database)
(defparameter *os*
'(("*** Strassen-Splitter ***" 8888 linie 1 1)
("Zollgrenze" 75 17 text 1 20)
("Abrenzung der BAB, usw. geg. Ausfahrt, unsichtbar" 3105 linie 1 3)
("Abgrenzung flaechenha... | 19,739 | Common Lisp | .lisp | 396 | 42.474747 | 98 | 0.655399 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 9278c630d0c1073173b3d2a7376ad3f7d0422cfda733edf385f50b0811c6df45 | 11,701 | [
-1
] |
11,702 | fonts.lisp | lambdamikel_VISCO/src/DB/fonts.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: FONTS; Base: 10 -*-
(cl:in-package fonts)
;;;
;;;
;;;
(defparameter *char-to-font-function*
(make-hash-table))
(defmacro compile-character (char)
(princ char) (terpri)
(let* ((namex (first char))
(name
(typecase namex
(string
(elt namex... | 2,152 | Common Lisp | .lisp | 78 | 22.064103 | 74 | 0.577811 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 2592c611370380d358db7b782b2866ecca6125af2d4a4f0a43a40d768ca37b76 | 11,702 | [
-1
] |
11,703 | gui-aux.lisp | lambdamikel_VISCO/src/DB/gui-aux.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: DATABASE; Base: 10 -*-
(in-package database)
#+:mcl
(defun file-selector (title directory pattern &key save)
(declare (ignore title))
(loop
(let ((pathname
(ccl:catch-cancel
(if (not save)
(ccl:choose-file-dialog :d... | 4,252 | Common Lisp | .lisp | 124 | 23.459677 | 84 | 0.503158 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 60f7d0818010b76ccfa3db39fd84d05e60abd5430e2b3d419c7c3a72f0593ce6 | 11,703 | [
-1
] |
11,704 | map-viewer3.lisp | lambdamikel_VISCO/src/DB/map-viewer3.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: DATABASE; Base: 10 -*-
(in-package database)
(defvar *map-viewer-frame*)
(defvar *image-map* nil)
(defconstant +info-text-style+
(make-text-style :serif :roman :small))
(defconstant +text-height+ 10)
(defconstant +command-listener-text-style+
(make-te... | 48,508 | Common Lisp | .lisp | 1,400 | 28.943571 | 110 | 0.649407 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 9fb6babc86ef403d0addfa90e952b81b4cd9d3ffd8f8ddbc57e9332769216380 | 11,704 | [
-1
] |
11,705 | db8.lisp | lambdamikel_VISCO/src/DB/db8.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: DATABASE; Base: 10 -*-
(in-package database)
(defparameter *cur-db* nil)
;;;
;;;
;;;
(defpersistentclass db ()
((objects :accessor objects :initarg :objects :initform nil)
(spatial-index :accessor spatial-index :initarg :spatial-index :initform nil)
(na... | 9,948 | Common Lisp | .lisp | 311 | 28.237942 | 94 | 0.656555 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | d3acd40d02bd265986f21a73ebdd51c6a9e356f0441e62dc067a9a6c73e30aed | 11,705 | [
-1
] |
11,706 | query-result3.lisp | lambdamikel_VISCO/src/GUI/query-result3.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
;;;
;;;
;;;
(defun show-search-progress (percent &key force-p)
(with-visco-inspector-frame (frame)
(let* ((stream (get-frame-pane frame 'progress-bar))
(time (get-universal-time)))
(with-slots (last-percent last... | 14,239 | Common Lisp | .lisp | 391 | 30.14578 | 101 | 0.634137 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | b3409168c29f7a8fa21fe40bde664f171eb7415a07545ac45d1c5802c3fd0561 | 11,706 | [
-1
] |
11,707 | mover7.lisp | lambdamikel_VISCO/src/GUI/mover7.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
;;;
;;;
;;;
(defun moveable-object-p (object)
(and (typep object
'(or #| gui-label |#
gui-semantics-label
gui-at-most-label
gui-orientation-arrow
gui-relative-orientation-circle
gui-point
gui-line
gui-ch... | 15,519 | Common Lisp | .lisp | 403 | 27.243176 | 106 | 0.539888 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 094ec7b266a2f49f374e53cc0a3ee693738732bd75fe5685650730374d02ae2a | 11,707 | [
-1
] |
11,708 | operators9.lisp | lambdamikel_VISCO/src/GUI/operators9.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
(define-presentation-translator execute-selected-command
(gui-object command visco :tester ((object)
(and *operator-mode*
(first-argument-acceptable-p (command *operator-mode*)
object)))
:doc... | 37,693 | Common Lisp | .lisp | 944 | 33.041314 | 116 | 0.63946 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 878172f20009f57e5517f4484c92c3cb388b6e6c9ea7ae407a27a7971ce76133 | 11,708 | [
-1
] |
11,709 | control7.lisp | lambdamikel_VISCO/src/GUI/control7.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
(defconstant +current-focus-entry-text-style+
(parse-text-style '(:sans-serif (:bold :italic) :small)))
(defconstant +focus-entry-text-style+
(parse-text-style '(:sans-serif nil :small)))
(defconstant +current-focus-en... | 21,848 | Common Lisp | .lisp | 634 | 29.195584 | 109 | 0.656162 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 1958227970dc273edca01b255cd2c270054565445e8f2c9f459621675e9fa9a6 | 11,709 | [
-1
] |
11,710 | draw15.lisp | lambdamikel_VISCO/src/GUI/draw15.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
(defconstant +label-text-style+
(parse-text-style '(:sans-serif nil :very-small)))
(defconstant +highlighted-label-text-style+
(parse-text-style '(:sans-serif (:bold :italic) :small)))
(defconstant +at-most-label-text-... | 29,713 | Common Lisp | .lisp | 847 | 29.134593 | 114 | 0.62942 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 130605f8bd83ffdea35f74bc11d7a654f71c8e481a64a7e06a6a1d30845c42eb | 11,710 | [
-1
] |
11,711 | classes10.lisp | lambdamikel_VISCO/src/GUI/classes10.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
;;;
;;;
;;;
(defpersistentclass gui-object ()
((tick :accessor tick :initform (incf *tick-counter*))
(already-drawn :accessor already-drawn :initform nil)
(history-entry :accessor history-entry :initform nil
:in... | 12,610 | Common Lisp | .lisp | 326 | 34.56135 | 101 | 0.703518 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | c165d633de2e4e4fd08243e2e80c81fc6a231d5dd9b1166c14e9b0a4d670d7a0 | 11,711 | [
-1
] |
11,712 | option-buttons4.lisp | lambdamikel_VISCO/src/GUI/option-buttons4.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
(defun accept-option-buttons (frame stream)
(declare (ignore frame))
(with-centering (stream)
(format stream "The Grid Is"))
(with-centering (stream)
(multiple-value-bind (int ptype changed)
(accept 'completion... | 2,749 | Common Lisp | .lisp | 79 | 29.658228 | 76 | 0.674621 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 8c8e74948b8616f8f9bf24dcc196332fa4e35267cd8499814bac4888f12939b9 | 11,712 | [
-1
] |
11,713 | specials.lisp | lambdamikel_VISCO/src/GUI/specials.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
;;;
;;;
;;;
(defparameter *tick-counter* 0)
(defparameter *history-name-counter* 0)
;;;
;;;
;;;
(defparameter *visco-frame* nil)
(defparameter *visco-buttons-frame* nil)
(defparameter *visco-inspector-frame* nil)
(defparame... | 2,715 | Common Lisp | .lisp | 84 | 30.880952 | 73 | 0.77264 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | b3329a18c514fd9712205bc2d68f75a1ac8fba848a025f5ebe0c58490fa71dab | 11,713 | [
-1
] |
11,714 | constructors5.lisp | lambdamikel_VISCO/src/GUI/constructors5.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
;;;
;;; Konstruktoren
;;;
(defun make-visco-gui-query ()
(make-instance 'gui-query))
;;;
;;;
;;;
(defmethod make-visco-marble ((transparency gui-transparency) (status symbol) (x number) (y number) &rest initargs)
(let ((o... | 11,300 | Common Lisp | .lisp | 256 | 40.058594 | 129 | 0.694069 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 698078924b7f97cd3eabebb1a5daf649c514ed4843c2a2fc5a34bb1f27f43f9d | 11,714 | [
-1
] |
11,715 | buttons.lisp | lambdamikel_VISCO/src/GUI/buttons.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
(defconstant +button-text-style+
(parse-text-style '(:sans-serif nil :large)))
(defconstant +on-ink+
+yellow+)
(defconstant +grayed-on-ink+
(make-grid-in +yellow+ +background-ink+))
(defconstant +activated-ink+
... | 7,306 | Common Lisp | .lisp | 227 | 27.537445 | 97 | 0.652665 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 58b7a787a9f0b45ee1214d78342d8cecb1fa2c419f7fd6b55caafd703f201a18 | 11,715 | [
-1
] |
11,716 | frame9.lisp | lambdamikel_VISCO/src/GUI/frame9.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
(defconstant +x-no-of-thumbnails+
#-visco-demo-mode 8
#+visco-demo-mode 4)
(defconstant +y-no-of-thumbnails+
#-visco-demo-mode 8
#+visco-demo-mode 4)
(defconstant +spacing+ 10)
(defconstant +visco-text-style... | 21,132 | Common Lisp | .lisp | 643 | 26.832037 | 91 | 0.644125 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 8e5a13f7f7fbba810123dbc9e771f9f8dc3e2588743180d5f32f1608b882b740 | 11,716 | [
-1
] |
11,717 | other-commands2.lisp | lambdamikel_VISCO/src/GUI/other-commands2.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
#+:allegro
(define-visco-command (com-print-query :name "Print Query")
()
(with-open-stream
(pipe (excl:run-shell-command (format nil "lpr -P~A -h" '|r131_hp|)
:input :stream :wait nil))
(with-output-t... | 5,455 | Common Lisp | .lisp | 153 | 28.091503 | 77 | 0.593632 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 36de2ab2de7349b6f50a14fb6dcb3d67086936c329c7e8a7034242a56edfd15a | 11,717 | [
-1
] |
11,718 | operator-buttons6.lisp | lambdamikel_VISCO/src/GUI/operator-buttons6.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
(defconstant +ink-arg-object+ +black+)
(defconstant +ink-res-object+ +red+)
(defconstant +operator-button-text-style+
(make-text-style
:sans-serif nil :very-small))
(defclass operator-button (button)
((draw-functio... | 15,337 | Common Lisp | .lisp | 400 | 30.59 | 115 | 0.604102 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | d44337ff7a0a1b803476d3860f7061b723c80f9bf3b8a5c521c2641108fd43a5 | 11,718 | [
-1
] |
11,719 | status-buttons7.lisp | lambdamikel_VISCO/src/GUI/status-buttons7.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
(defvar *last-pushed-button* nil)
(defclass status-button (text-button)
())
;;;
;;;
;;;
(defvar +legal-combinations+ nil)
(defmethod initialize-instance :after ((obj status-button) &rest initargs)
(declare (ignore initar... | 8,797 | Common Lisp | .lisp | 274 | 27.616788 | 82 | 0.672506 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 5fe27380ecb6a0f02a7044d005c728704460951d44849518f58d9e069015d821 | 11,719 | [
-1
] |
11,720 | object-buttons5.lisp | lambdamikel_VISCO/src/GUI/object-buttons5.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
(defclass object-button (icon-button)
((tester :initform #'standard-tester)
(when-action-begins :initform #'creating-begins)
(when-action-ends :initform #'creating-ends)))
(defmethod when-selected ((button object-but... | 13,054 | Common Lisp | .lisp | 407 | 25.547912 | 83 | 0.608404 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | de02c266aaf64d568eca45861052d9991f1bb9c31438ad14f2f380b54e9d8a5a | 11,720 | [
-1
] |
11,721 | creators7.lisp | lambdamikel_VISCO/src/GUI/creators7.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
(defun xy-to-grid (x y)
(if *grid-resolution*
(values
(* *grid-resolution* (floor x *grid-resolution*))
(* *grid-resolution* (floor y *grid-resolution*)))
(values x y)))
(defmethod get-create-descript... | 34,261 | Common Lisp | .lisp | 858 | 31.911422 | 171 | 0.619565 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | dc0db7478b17f20fdaa3fb27b0d79d79984199274fa24f3788dcd74c19964c0b | 11,721 | [
-1
] |
11,722 | macros.lisp | lambdamikel_VISCO/src/GUI/macros.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
(defmacro with-visco-frame ((name) &body body)
`(let ((,name *visco-frame*))
,@body))
(defmacro with-visco-buttons-frame ((name) &body body)
`(let ((,name *visco-buttons-frame*))
,@body))
(defmacro with-visco-ins... | 412 | Common Lisp | .lisp | 11 | 33.909091 | 72 | 0.642132 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 9e9753e8779205737f4dcf2ecf0c34e6045d47e14517264fd1663a10a8a61bc1 | 11,722 | [
-1
] |
11,723 | patterns3.lisp | lambdamikel_VISCO/src/GUI/patterns3.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
;;;
;;;
;;;
(defvar *arrays*)
(defvar *array-ring*)
(defconstant +grid+
(make-array '(8 8)
:initial-contents '((1 0 1 0 1 0 1 0)
(0 1 0 1 0 1 0 1)
(1 0 1 0 1 0 1 0)
(0 1 0 1 0 1 0 1)
(1 0... | 5,234 | Common Lisp | .lisp | 192 | 21.973958 | 91 | 0.546185 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 05f0e24ddb63bbe183b85e7060e0dc82ac10e93aa90605e28d5a6c65ad8b5b41 | 11,723 | [
-1
] |
11,724 | patterns4.lisp | lambdamikel_VISCO/src/GUI/patterns4.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: GUI; Base: 10 -*-
(in-package gui)
;;;
;;;
;;;
(defvar *arrays*)
(defvar *array-ring*)
(defconstant +grid+
(make-array '(8 8)
:initial-contents '((1 0 1 0 1 0 1 0)
(0 1 0 1 0 1 0 1)
(1 0 1 0 1 0 1 0)
(0 1 0 1 0 1 0 1)
(1 0... | 5,894 | Common Lisp | .lisp | 219 | 21.680365 | 91 | 0.547129 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 7e420fd9319d704a023c3fb25e66a119d667a50daca12ba6173c0c6c54996810 | 11,724 | [
-1
] |
11,725 | obj-w-rel5.lisp | lambdamikel_VISCO/src/objects-with-relations/obj-w-rel5.lisp | ;;; -*- Mode: Lisp; Syntax: Ansi-Common-Lisp; Package: OBJECTS-WITH-RELATIONS; Base: 10 -*-
(in-package objects-with-relations)
(defgeneric calculate-relations (obj)
(:documentation "Calculate all interesting spatial relations to (and from) obj. Clients should specialize
this function and establish the relation by ... | 13,910 | Common Lisp | .lisp | 287 | 44.41115 | 107 | 0.74168 | lambdamikel/VISCO | 9 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | b650ea45b679025c7d61a0a9fe388fce2b3a5e7202acbf2f4302a8c289731647 | 11,725 | [
-1
] |
11,799 | package.lisp | MULCH-dev_MULCH/package.lisp | ;;;; This file is part of MULCH.
;;;;
;;;;MULCH is free software: you can redistribute it and/or modify
;;;;it under the terms of the GNU General Public License as published by
;;;;the Free Software Foundation, either version 3 of the License, or
;;;;(at your option) any later version.
;;;;
;;;;MULCH is distributed in ... | 733 | Common Lisp | .lisp | 17 | 41.823529 | 72 | 0.729313 | MULCH-dev/MULCH | 9 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 2d9f3d2c75b4e070c07a59689436686274a04c41081eb36595c3027d03259053 | 11,799 | [
-1
] |
11,800 | main.lisp | MULCH-dev_MULCH/main.lisp | ;;;; This file is part of MULCH.
;;;;
;;;;MULCH is free software: you can redistribute it and/or modify
;;;;it under the terms of the GNU General Public License as published by
;;;;the Free Software Foundation, either version 3 of the License, or
;;;;(at your option) any later version.
;;;;
;;;;MULCH is distributed in ... | 831 | Common Lisp | .lisp | 17 | 47.764706 | 113 | 0.725369 | MULCH-dev/MULCH | 9 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | fd42daab6eeae4ebf5603104eff75355524948abf359dc58ce6a121ad75fae10 | 11,800 | [
-1
] |
11,801 | structs.lisp | MULCH-dev_MULCH/structs.lisp | #| This file is part of MULCH.
MULCH is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. |# #|
MULCH is distributed in the hope that it will be... | 2,381 | Common Lisp | .lisp | 54 | 40.759259 | 209 | 0.741126 | MULCH-dev/MULCH | 9 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | da50b463a7409d2a7dd89bea081445e240a0ba1fc539db37936e95c5f7cb5b0e | 11,801 | [
-1
] |
11,802 | MULCH.asd | MULCH-dev_MULCH/MULCH.asd | ;;;; This file is part of MULCH.
;;;;
;;;;MULCH is free software: you can redistribute it and/or modify
;;;;it under the terms of the GNU General Public License as published by
;;;;the Free Software Foundation, either version 3 of the License, or
;;;;(at your option) any later version.
;;;;
;;;;MULCH is distributed in ... | 1,013 | Common Lisp | .asd | 23 | 40.956522 | 144 | 0.693009 | MULCH-dev/MULCH | 9 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:26:49 AM (Europe/Amsterdam) | 0d5d4c38490bf54ba7d20dc79671e88af84380b53f5d7b18d0373170ded4aaf7 | 11,802 | [
-1
] |
11,821 | ircd.lisp | davazp_cl-ircd/ircd.lisp | ;;; cl-ircd.lisp --- A Common Lisp IRC Server
;;; Copyright (C) 2012, 2014 David Vázquez
;; This file is part of cl-ircd.
;;
;; cl-ircd is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of ... | 17,565 | Common Lisp | .lisp | 443 | 33 | 113 | 0.630616 | davazp/cl-ircd | 8 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | ab589828bc85562a794277bf7371a6d24d1abb9c050c001c534eda03af662440 | 11,821 | [
-1
] |
11,822 | replies.lisp | davazp_cl-ircd/replies.lisp | ;;; replies.lisp ---
;;; Copyright 2014 David Vázquez
;; This file is part of cl-ircd.
;;
;; cl-ircd is free software: you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
;; published by the Free Software Foundation, either version 3 of the
;; License, or (at your optio... | 12,807 | Common Lisp | .lisp | 221 | 53.900452 | 168 | 0.694701 | davazp/cl-ircd | 8 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 7e89c255f5ece622f7f67d8684debc8e0d87467762aaac7c5b29952229bdac2c | 11,822 | [
-1
] |
11,823 | cl-ircd.asd | davazp_cl-ircd/cl-ircd.asd | ;;; cl-ircd.asd ---
;; This file is part of cl-ircd.
;;
;; cl-ircd is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; cl-ircd i... | 1,205 | Common Lisp | .asd | 33 | 33.878788 | 71 | 0.699828 | davazp/cl-ircd | 8 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 3216cc22b0275ad51a94db09757d77d55274b8da124f126391c4b8f9087f8401 | 11,823 | [
-1
] |
11,842 | lex.lisp | djr7C4_cl-lex/lex.lisp | ;;;; Defines the lexer generator.
;;;; Copyright (C) 2009 David J. Rosenbaum, email: djr7C4@gmail.com
;;;;
;;;; 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, under version 3 of the License... | 9,920 | Common Lisp | .lisp | 208 | 39.480769 | 125 | 0.635455 | djr7C4/cl-lex | 8 | 2 | 2 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | bd448863c6349891970cac38209e28ad93ebd8f844800ce1c043d3434080923f | 11,842 | [
-1
] |
11,843 | use.lisp | djr7C4_cl-lex/use.lisp | ;;;; Loads and uses all cl-lex packages in :cl-user.
;;;; Copyright (C) 2009 David J. Rosenbaum, email: djr7C4@gmail.com
;;;;
;;;; 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, under versi... | 1,121 | Common Lisp | .lisp | 22 | 49.863636 | 77 | 0.731996 | djr7C4/cl-lex | 8 | 2 | 2 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | c7a2f31f159dae928e0335f909b8737b7bb02060a403a28c5551ecbdc8c9f5d5 | 11,843 | [
-1
] |
11,844 | load.lisp | djr7C4_cl-lex/load.lisp | ;;;; Loads all files needed to run cl-lex code.
;;;; Copyright (C) 2009 David J. Rosenbaum, email: djr7C4@gmail.com
;;;;
;;;; 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, under version 3 ... | 1,339 | Common Lisp | .lisp | 27 | 47.740741 | 87 | 0.718869 | djr7C4/cl-lex | 8 | 2 | 2 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 27e23dc49aee55c34a40999850fce7621914342d5081099ee478dd66f5be97cc | 11,844 | [
-1
] |
11,845 | packages.lisp | djr7C4_cl-lex/packages.lisp | ;;;; Defines all cl-lex packages.
;;;; Copyright (C) 2009 David J. Rosenbaum, email: djr7C4@gmail.com
;;;;
;;;; 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, under version 3 of the License... | 1,090 | Common Lisp | .lisp | 24 | 44 | 77 | 0.730263 | djr7C4/cl-lex | 8 | 2 | 2 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 97c863550eea2b186d7a70d9daae7ced19d5296016bcafc410c305a903138a7d | 11,845 | [
-1
] |
11,846 | cl-lex.asd | djr7C4_cl-lex/cl-lex.asd | ;;;; ASDF System definition for cl-lex.
;;;; Copyright (C) 2009 David J. Rosenbaum, email: djr7C4@gmail.com
;;;;
;;;; 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, under version 3 of the L... | 1,265 | Common Lisp | .asd | 28 | 43.357143 | 77 | 0.72411 | djr7C4/cl-lex | 8 | 2 | 2 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 794e105460383ec921396ac8fb0d166bc05aa05d75e17e793146a29e0a608dca | 11,846 | [
-1
] |
11,867 | cacau-examples-hooks.lisp | noloop_cacau/examples/cacau-examples-hooks.lisp | (defpackage #:cacau-examples-hooks
(:use #:common-lisp
#:assert-p
#:cacau))
(in-package #:cacau-examples-hooks)
(defbefore-all "Before-all" () (format t ":suite-root's before-all~%"))
(defbefore-each "Before-each" () (format t ":suite-root's before-each~%"))
(defafter-each "After-each" () (format t "... | 2,847 | Common Lisp | .lisp | 78 | 33.128205 | 74 | 0.570443 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | c7f89320dd618651db66e09084345c82a576f20e5aa9c2093f04b805c5b10401 | 11,867 | [
-1
] |
11,868 | cacau-examples-onlys.lisp | noloop_cacau/examples/cacau-examples-onlys.lisp | (defpackage #:cacau-examples-onlys
(:use #:common-lisp
#:assert-p
#:cacau))
(in-package #:cacau-examples-onlys)
(defsuite :suite-1 ()
(deftest "Test-1" (:only) (t-p t)) ;; run!
(deftest "Test-2" () (t-p t)))
(defsuite :suite-2 ()
(let ((x 0))
(deftest "Test-1" () (eql-p x 0))
(deftest ... | 483 | Common Lisp | .lisp | 16 | 25.9375 | 46 | 0.537797 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | a2a891b2501be6323db6366af5647883bd4ddccbf4484bf5682ecd07b8207e3a | 11,868 | [
-1
] |
11,869 | cacau-examples-skips.lisp | noloop_cacau/examples/cacau-examples-skips.lisp | (defpackage #:cacau-examples-skips
(:use #:common-lisp
#:assert-p
#:cacau))
(in-package #:cacau-examples-skips)
(defsuite :suite-1 ()
(deftest "Test-1" (:skip) (t-p t))
(deftest "Test-2" () (t-p t))) ;; run!
(defsuite :suite-2 (:skip)
(let ((x 0))
(deftest "Test-1" () (eql-p x 0))
(def... | 467 | Common Lisp | .lisp | 16 | 24.9375 | 40 | 0.543624 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 6c8776853795f7e6e639831efbb49bc1679f298450712284f027908c01fb9592 | 11,869 | [
-1
] |
11,870 | cacau-examples-reporters.lisp | noloop_cacau/examples/cacau-examples-reporters.lisp | (defpackage #:cacau-examples-reporters
(:use #:common-lisp
#:assert-p
#:cacau))
(in-package #:cacau-examples-reporters)
;;; :min
(defsuite :suite-1 ()
(deftest "Test-1" () (t-p t))
(deftest "Test-2" (:skip) (t-p t))
(deftest "Test-3" () (t-p nil)))
(run :colorful t) ;; or (run :colorful t :rep... | 1,408 | Common Lisp | .lisp | 55 | 20.363636 | 56 | 0.551339 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 42778ce28911e9be2890733f4fd538edd58acf10a3b645865eb78eda00cee78f | 11,870 | [
-1
] |
11,871 | cacau-examples-async-test.lisp | noloop_cacau/examples/cacau-examples-async-test.lisp | (defpackage #:cacau-examples-async-test
(:use #:common-lisp
#:assert-p
#:cacau))
(in-package #:cacau-examples-async-test)
(defsuite :suite-1 ()
(let ((x 0))
;;; only call done
(defbefore-each "Before-each" ((:async done))
(setf x 1)
(funcall done))
;;; passing function catch... | 1,086 | Common Lisp | .lisp | 35 | 25.228571 | 49 | 0.581107 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 965a5ed7ba845c22e21ef467810e9baa17a17f8611431104ed01507c7d265e36 | 11,871 | [
-1
] |
11,872 | cacau-examples-quickstart.lisp | noloop_cacau/examples/cacau-examples-quickstart.lisp | (defpackage #:cacau-examples-quickstart
(:use #:common-lisp
#:assert-p
#:cacau))
(in-package #:cacau-examples-quickstart)
(deftest "Test-1" () (eql-p 1 1))
(deftest "Test-2" () (eql-p 2 2))
(deftest "Test-3" () (eql-p 3 3))
(run :colorful t)
| 263 | Common Lisp | .lisp | 9 | 25.888889 | 40 | 0.621514 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 4ea3eb978a580388968133329a6425f36497b3d332ccfb993d1c4493152b0582 | 11,872 | [
-1
] |
11,873 | cacau-examples-timeout.lisp | noloop_cacau/examples/cacau-examples-timeout.lisp | (defpackage #:cacau-examples-timeout
(:use #:common-lisp
#:assert-p
#:cacau))
(in-package #:cacau-examples-timeout)
;;; timeout-in-suites
(defsuite :suite-1 ((:timeout 0))
(deftest "Test-1" () (t-p t)) ;; Timeout Error: Time(0) extrapolated!
(deftest "Test-2" () (t-p t))) ;; Timeout Error: Time(0... | 1,298 | Common Lisp | .lisp | 36 | 32.972222 | 85 | 0.623304 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 3220dfb6f4529212488c489e9754b947577cc10fdf9574b7999f17c64d6ad544 | 11,873 | [
-1
] |
11,874 | cacau-examples-interfaces.lisp | noloop_cacau/examples/cacau-examples-interfaces.lisp | (defpackage #:cacau-examples-interfaces
(:use #:common-lisp
#:assert-p
#:cacau))
(in-package #:cacau-examples-interfaces)
;;; cl
(defsuite :suite-1 ()
(let ((x 0))
(defbefore-all "Before-all Suite-1" () (setf x 1))
(defbefore-each "Before-each Suite-1" () (setf x 0))
(defafter-each "A... | 3,303 | Common Lisp | .lisp | 92 | 30.836957 | 89 | 0.546137 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 284b574a43e5260fae07353925d682a201066d256d46d1f582d9a9b1346882ec | 11,874 | [
-1
] |
11,875 | cacau-examples-skips-onlys-rules.lisp | noloop_cacau/examples/cacau-examples-skips-onlys-rules.lisp | (defpackage #:cacau-examples-skips-onlys-rules
(:use #:common-lisp
#:assert-p
#:cacau))
(in-package #:cacau-examples-skips-onlys-rules)
;;; skip-test-precedes-only-test
(defsuite :suite-1 ()
(deftest "Test-1" (:only) (t-p t)) ;; run!
(deftest "Test-2" (:skip) (t-p t)))
(run :colorful t
:repo... | 1,835 | Common Lisp | .lisp | 60 | 27.583333 | 70 | 0.595588 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | ecd3de5fd3d907720d42b49e04cda1c150d2b4b2153f78c18bb721fe2618a1e1 | 11,875 | [
-1
] |
11,876 | cacau-examples-cl-debugger.lisp | noloop_cacau/examples/cacau-examples-cl-debugger.lisp | (defpackage #:cacau-examples-cl-debugger
(:use #:common-lisp
#:assert-p
#:cacau))
(in-package #:cacau-examples-cl-debugger)
(defsuite :suite-1 ()
(deftest "Test-1" () (t-p t))
(deftest "Test-2" () (t-p nil))
(deftest "Test-3" () (t-p t)))
(run :cl-debugger t)
| 287 | Common Lisp | .lisp | 10 | 25 | 41 | 0.60219 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 8182a17a159213dbf4fe7b04d8ac61a1e464b3206136b96c7cee73191b7e4ac3 | 11,876 | [
-1
] |
11,877 | cacau-examples-suites.lisp | noloop_cacau/examples/cacau-examples-suites.lisp | (defpackage #:cacau-examples-suites
(:use #:common-lisp
#:assert-p
#:cacau))
(in-package #:cacau-examples-suites)
(defsuite :suite-1 ()
(deftest "Test-1" () (t-p t))
(deftest "Test-2" () (t-p t)))
(defsuite :suite-2 ()
(let ((x 0))
(deftest "Test-1" () (eql-p x 0))
(deftest "Test-2" ()... | 451 | Common Lisp | .lisp | 16 | 23.9375 | 38 | 0.542923 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 39976ef4f652cbade6fcfcf8c59de3322c127d26ad6bc3ab4008281c557e807a | 11,877 | [
-1
] |
11,878 | cacau-examples-asdf-integration-test.lisp | noloop_cacau/examples/asdf-intregration/cacau-examples-asdf-integration-test.lisp | (defpackage #:cacau-examples-asdf-integration-test
(:use #:common-lisp
#:cacau
#:assert-p
#:cacau-examples-asdf-integration))
(in-package #:cacau-examples-asdf-integration-test)
(deftest "Test-add-multiplication" ()
(eql-p (add-multiplication 1 2) 5))
| 282 | Common Lisp | .lisp | 8 | 30.5 | 51 | 0.691176 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 09cc721bc76fc9274bc46ded0a69fca103b7bb68157b582d39772525b36bf963 | 11,878 | [
-1
] |
11,879 | cacau-examples-asdf-integration.lisp | noloop_cacau/examples/asdf-intregration/cacau-examples-asdf-integration.lisp | (defpackage #:cacau-examples-asdf-integration
(:use #:common-lisp)
(:export #:add-multiplication))
(in-package #:cacau-examples-asdf-integration)
(defun add-multiplication (a b)
(+ (* a a) (* b b)))
| 207 | Common Lisp | .lisp | 6 | 32.166667 | 46 | 0.698492 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | b8e1c9736a1fbb2a73f7e5af81857b35c921664737df71d2237e364954a58405 | 11,879 | [
-1
] |
11,880 | package.lisp | noloop_cacau/src/package.lisp | (defpackage #:noloop.cacau
(:use #:common-lisp)
(:nicknames #:cacau)
(:import-from #:eventbus
#:make-eventbus
#:once
#:on
#:emit)
(:import-from #:assertion-error
#:assertion-error
#:assertion-error-actual
... | 1,731 | Common Lisp | .lisp | 63 | 15.47619 | 42 | 0.452909 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 5cfa386e10b39c630ca2afd2de4e1dfc412ece6b8b9e712728f54bca0d106031 | 11,880 | [
-1
] |
11,881 | utils.lisp | noloop_cacau/src/utils.lisp | (in-package #:noloop.cacau)
(defmacro with-gensyms (vars &body body)
`(let ,(loop for v in vars collect `(,v (gensym)))
,@body))
(defmacro create-hash (&rest fields)
"Example: (create-hash '((:a 1) (:b 2)))"
(let ((new-hash-table (gensym)))
`(let ((,new-hash-table (make-hash-table)))
(dolist (i ... | 3,391 | Common Lisp | .lisp | 84 | 27.845238 | 140 | 0.46695 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 179b65de1ff03ad0fe23f98a4eaa9b59ec8880bb293858830aa5e6115b7c6dfc | 11,881 | [
-1
] |
11,882 | cacau.lisp | noloop_cacau/src/cacau.lisp | (in-package #:noloop.cacau)
(let ((runner (make-runner)))
(defun cacau-runner () runner)
(defun reset-runner () (setf runner (make-runner)))
(defun create-reporter (runner name reporter-options)
(cond ((equal :min name) (reporter-min runner reporter-options))
((equal :list name) (reporter-list ... | 2,162 | Common Lisp | .lisp | 46 | 32.195652 | 95 | 0.542952 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | a0d6b9c513efc4c02ca41ac9731277ef624584e1d4bde54f1facd23c120207d6 | 11,882 | [
-1
] |
11,883 | asdf.lisp | noloop_cacau/src/asdf.lisp | (in-package #:cl-user)
(defpackage #:cacau-asdf
(:use #:common-lisp)
(:import-from #:asdf
#:cl-source-file
#:operation-done-p
#:load-op
#:compile-op)
(:export #:cacau-file
#:cacau-file-nd))
(in-package #:cacau-asdf)
(defclass cacau-file (cl-source-file) ())
(defmethod operation-done-p ((op load-o... | 646 | Common Lisp | .lisp | 19 | 31.736842 | 68 | 0.688 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 513dc3ba9cd258ee1269fd9e752f230b9df0b6bbd68b1f22864317416556bb05 | 11,883 | [
-1
] |
11,884 | full.lisp | noloop_cacau/src/reporters/full.lisp | (in-package #:noloop.cacau)
(defun reporter-full (runner options)
(cacau-logo)
(when (or (some #'(lambda (i) (equal :tests-list i)) options)
(null options))
(suite-tests-list-events runner))
(lambda ()
(if (null options)
(full-epilogue (result runner) nil)
(dolist (i options)
... | 590 | Common Lisp | .lisp | 16 | 29.375 | 63 | 0.58042 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | febd8f2347f336816e22479701a5a9c863ef2d229bba5bfbcd1c6ea1844633c7 | 11,884 | [
-1
] |
11,885 | min.lisp | noloop_cacau/src/reporters/min.lisp | (in-package #:noloop.cacau)
(defun reporter-min (runner options)
(declare (ignore options))
(lambda ()
(cacau-logo)
(epilogue (result runner))))
| 159 | Common Lisp | .lisp | 6 | 23.166667 | 36 | 0.688742 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | ae6fc5eb9355067d5d3dc4eeb7e32b82557952843f77bd03b5c4ce900f596f6d | 11,885 | [
-1
] |
11,886 | base.lisp | noloop_cacau/src/reporters/base.lisp | (in-package #:noloop.cacau)
(defun cacau-logo ()
(format t "~a~%~%" (cacau-string-color "<=> Cacau <=>" "red"
:background "yellow"
:style "underline")))
(defun separation-bar (&optional color)
(format t "~%~a~%" (cacau-string-co... | 7,924 | Common Lisp | .lisp | 181 | 29.607735 | 102 | 0.494763 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 8cb898a7c23e5253f4480b7f5b7843ee746f7675c669416af71a8c71afba5753 | 11,886 | [
-1
] |
11,887 | list.lisp | noloop_cacau/src/reporters/list.lisp | (in-package #:noloop.cacau)
(defun reporter-list (runner options)
(declare (ignore options))
(cacau-logo)
(suite-tests-list-events runner)
(lambda ()
(separation-bar)
(epilogue (result runner))
(skipped (result runner))))
| 244 | Common Lisp | .lisp | 9 | 23.666667 | 37 | 0.699571 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 93b847c2c1ff248cde374590cb03eb3f0a5bb30c4eb4942f0b1a87984b13b2f4 | 11,887 | [
-1
] |
11,888 | runnable.lisp | noloop_cacau/src/kernel/runnable.lisp | (in-package #:noloop.cacau)
(defclass runnable ()
((name :initarg :name
:accessor name)
(fn :initarg :fn
:accessor fn)
(parent :initarg :parent
:accessor parent)
(runnable-error :initform nil
:accessor runnable-error)
(eventbus :initarg :eventbus
... | 3,298 | Common Lisp | .lisp | 87 | 29.954023 | 131 | 0.6 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 62b99eae0bf0ee414e5be6c5ce99d6d063669504a12ee9b8ef89b8619e0936f6 | 11,888 | [
-1
] |
11,889 | runner-listeners.lisp | noloop_cacau/src/kernel/runner-listeners.lisp | (in-package #:noloop.cacau)
(defun create-runner-listeners (runner)
(let ((result-hash (result runner))
(bus (eventbus runner)))
(setf-hash result-hash
`((:suites ,0)
(:tests ,0)
(:only-suites ,0)
(:only-tests ,0)
(:... | 5,134 | Common Lisp | .lisp | 131 | 24.89313 | 95 | 0.465354 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 186f1c32dda830d4c606c2635c2cc1b3b8b27b8361cc1cfcb210b840afa3e1ad | 11,889 | [
-1
] |
11,890 | hook.lisp | noloop_cacau/src/kernel/hook.lisp | (in-package #:noloop.cacau)
(defclass hook-class (runnable)
((async-p :initarg :async-p
:initform nil
:accessor async-p)
(pos-hook-fn :initform nil
:accessor pos-hook-fn)))
(defun make-hook (&key name fn async-p (timeout -1) eventbus)
(make-instance 'hook-class
:name ... | 994 | Common Lisp | .lisp | 29 | 26.482759 | 67 | 0.59375 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 9265dd0409de6f242dd24e42ecbbb425595f150b7921f4ed36751ba89e5f2c6c | 11,890 | [
-1
] |
11,891 | suite.lisp | noloop_cacau/src/kernel/suite.lisp | (in-package #:noloop.cacau)
(defclass suite-class (runnable)
((suite-before-all :initform nil
:accessor suite-before-all)
(suite-after-all :initform nil
:accessor suite-after-all)
(suite-before-each :initform nil
:accessor suite-before-each)
(su... | 7,282 | Common Lisp | .lisp | 164 | 33.384146 | 85 | 0.582781 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | bfdfdcf92a847d157f6573958030b8679eb413b02a96fcd21fa0bd487a433d42 | 11,891 | [
-1
] |
11,892 | runner.lisp | noloop_cacau/src/kernel/runner.lisp | (in-package #:noloop.cacau)
(defclass runner ()
((eventbus :initform (make-eventbus)
:accessor eventbus)
(suite-root :initarg :suite-root
:accessor suite-root)
(abort-p :initform nil
:accessor abort-p)
(result :initform (make-hash-table)
:accessor result)
... | 1,948 | Common Lisp | .lisp | 50 | 31.04 | 85 | 0.608788 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 69253d09ceca2022087ab32755a73b5d3a6f90be96e65f5720aeab66add6cd26 | 11,892 | [
-1
] |
11,893 | timer.lisp | noloop_cacau/src/kernel/timer.lisp | (in-package #:noloop.cacau)
(defclass timer-class ()
((limit-ms :initform -1
:initarg :limit-ms
:accessor limit-ms)
(start-ms :initform 0
:initarg :start-ms
:accessor start-ms)
(end-ms :initform 0
:accessor end-ms)
(duration-ms :initform 0
... | 978 | Common Lisp | .lisp | 29 | 26.206897 | 49 | 0.576882 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 5d2358ee275f61d6aef15243c41c3be974d5652f5920537f17639d01ae3d5d30 | 11,893 | [
-1
] |
11,894 | list-iterator.lisp | noloop_cacau/src/kernel/list-iterator.lisp | (in-package #:noloop.cacau)
(defclass list-iterator ()
((itens :initform '()
:accessor itens)
(current-index :initform 0
:accessor current-index)))
(defun make-list-iterator ()
(make-instance 'list-iterator))
(defmethod add ((obj list-iterator) item)
(push item (itens obj)))
(d... | 1,050 | Common Lisp | .lisp | 28 | 33.75 | 55 | 0.672601 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | c243e57bb9a83ece13db633240627bce7a00e6df20eddb1787a56aeda1da4b72 | 11,894 | [
-1
] |
11,895 | test.lisp | noloop_cacau/src/kernel/test.lisp | (in-package #:noloop.cacau)
(defclass test-class (runnable)
((async-p :initarg :async-p
:initform nil
:accessor async-p)
(only-p :initarg :only-p
:initform nil
:accessor only-p)
(skip-p :initarg :skip-p
:initform nil
:accessor skip-p)))
(defun make-test (&... | 1,422 | Common Lisp | .lisp | 44 | 25.090909 | 75 | 0.600874 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | b51e9503130caff0a70e85d745f88d2da91d627587b0260c0dc1f398a17c089d | 11,895 | [
-1
] |
11,896 | cl.lisp | noloop_cacau/src/interfaces/cl.lisp | (in-package #:noloop.cacau)
(defmacro defbefore-all (name options &body body)
(cond-options options
`(common-create-before-all
,name
,(if async-p
`(lambda (,async-done) ,@body)
`(lambda () ,@body))
:async-p ,async-p
:timeout ,timeout)))
(defmacro defafter-all (name ... | 1,575 | Common Lisp | .lisp | 56 | 21.5 | 50 | 0.577381 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 5909e4e151bb52aecddb5b60caf20a00e7ae11b527d0f4a5498a350e3b52e383 | 11,896 | [
-1
] |
11,897 | bdd.lisp | noloop_cacau/src/interfaces/bdd.lisp | (in-package #:noloop.cacau)
(defun before-all (name fn &key async (timeout -1))
(common-create-before-all name fn :async-p async :timeout timeout))
(defun after-all (name fn &key async (timeout -1))
(common-create-after-all name fn :async-p async :timeout timeout))
(defun before-each (name fn &key async (timeout... | 934 | Common Lisp | .lisp | 18 | 42.166667 | 70 | 0.622662 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | bc70a708372722246f5c8ba8edd7becc77e5fd9babfe8231da932eb2fae5514c | 11,897 | [
-1
] |
11,898 | tdd.lisp | noloop_cacau/src/interfaces/tdd.lisp | (in-package #:noloop.cacau)
(defun suite-setup (name fn &key async (timeout -1))
(common-create-before-all name fn :async-p async :timeout timeout))
(defun suite-teardown (name fn &key async (timeout -1))
(common-create-after-all name fn :async-p async :timeout timeout))
(defun test-setup (name fn &key async (ti... | 942 | Common Lisp | .lisp | 18 | 42.611111 | 70 | 0.625954 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 04194dbf925cb390bd2784584e15bbf4fec72f6a2d5acdb1d32886802a0f228a | 11,898 | [
-1
] |
11,899 | common.lisp | noloop_cacau/src/interfaces/common.lisp | (in-package #:noloop.cacau)
(defun common-create-before-all (name fn &key async-p (timeout -1))
(create-before-all (current-suite (cacau-runner)) name fn :async-p async-p :timeout timeout))
(defun common-create-after-all (name fn &key async-p (timeout -1))
(create-after-all (current-suite (cacau-runner)) name fn ... | 2,824 | Common Lisp | .lisp | 61 | 34.803279 | 98 | 0.556443 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 5a7a875c20e4122b46000fac94f6d5250606d820236731654022f32c6956da15 | 11,899 | [
-1
] |
11,900 | no-spaghetti.lisp | noloop_cacau/src/interfaces/no-spaghetti.lisp | (in-package #:noloop.cacau)
(defmacro defbefore-plan (name options &body body)
(cond-options options
`(common-create-before-all
,name
,(if async-p
`(lambda (,async-done) ,@body)
`(lambda () ,@body))
:async-p ,async-p
:timeout ,timeout)))
(defmacro defafter-plan (nam... | 1,580 | Common Lisp | .lisp | 56 | 21.589286 | 50 | 0.577456 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 9e153281c8a32a34b8201668877d1e58c35b2ad2d135dd30f7b8382f27d56750 | 11,900 | [
-1
] |
11,901 | recursive-runner.lisp | noloop_cacau/t/recursive-runner.lisp | (defpackage #:noloop.cacau-test
(:use #:common-lisp
#:assert-p
#:cacau)
(:nicknames #:cacau-test))
(in-package #:noloop.cacau-test)
;;; How to use:
;;; (r-test :test-1 #'(lambda (done) (funcall done (= 1 3))))
;;; (r-test :test-2 #'(lambda (done) (funcall done (= 2 2))))
;;; (r-test :test-3 #'(lamb... | 1,771 | Common Lisp | .lisp | 50 | 26.54 | 66 | 0.520797 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 36aafa89be0cffa718629b014dcd439cd302fba952ac76ebaed4dfc44548df84 | 11,901 | [
-1
] |
11,902 | cl-test.lisp | noloop_cacau/t/interface/cl-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-cl-interface
(lambda (r-done)
(defsuite :suite-1 ()
(let ((x 0))
(defbefore-all "Before-all Suite-1" () (setf x 1))
(deftest "Test-1" () (eql-p x 1))
(deftest "Test-2" ((:async done))
(incf x)
(funcall done (lambda () (eql-... | 4,004 | Common Lisp | .lisp | 105 | 29.352381 | 114 | 0.499101 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 2403de4c004f4c81588ca73cfa460ffbe7aea59522200ab27356ba7abbf55e1b | 11,902 | [
-1
] |
11,903 | bdd-test.lisp | noloop_cacau/t/interface/bdd-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-bdd-interface
(lambda (r-done)
(context
"Suite-1"
(lambda (&optional (x 0))
(before-all "Before-all Suite-1" (lambda () (setf x 1)))
(it "Test-1" (lambda () (eql-p x 1)))
(it "Test-2" (lambda () (incf x) (eql-p x 2)))
(context
"... | 3,858 | Common Lisp | .lisp | 112 | 26.669643 | 101 | 0.498129 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 825fa11680c8fa795a2eaa4cb1184d84a7a321a9bd38de7480fe2386f11199fb | 11,903 | [
-1
] |
11,904 | mix-test.lisp | noloop_cacau/t/interface/mix-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-interface-mix
(lambda (r-done)
(let ((x 0))
(context
:suite-1
(lambda ()
(before-all "Before-all Suite-1" (lambda () (setf x 1)))
(it "Test-1" (lambda (done) (funcall done (lambda () (eql-p x 1)))) :async t)
(it "Test-2" (lam... | 1,284 | Common Lisp | .lisp | 34 | 29.5 | 95 | 0.508914 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 557888da5663e486fa41520efb68b63ba9622e7bb9b322ad14d4d099d89a935b | 11,904 | [
-1
] |
11,905 | tdd-test.lisp | noloop_cacau/t/interface/tdd-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-new-tdd-interface
(lambda (r-done)
(suite
"Suite-1"
(lambda (&optional (x 0))
(suite-setup "Suite-setup Suite-1" (lambda () (setf x 1)))
(test "Test-1" (lambda () (eql-p x 1)))
(test "Test-2" (lambda () (incf x) (eql-p x 2)))
(suite
... | 3,966 | Common Lisp | .lisp | 112 | 27.580357 | 111 | 0.508312 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 79bda325db6bdc791bc8aabbca9e945b8754c6ed4b274e538a70bbe1f71fbf1a | 11,905 | [
-1
] |
11,906 | no-spaghetti-test.lisp | noloop_cacau/t/interface/no-spaghetti-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-no-spaghetti-interface
(lambda (r-done)
(let ((x 0))
(in-plan :suite-1 ()) ;; or (in-suite :suite-1 ((:parent :suite-root)))
(defbefore-plan :before-plan-suite-1 () (setf x 1))
(deft :test-1 () (eql-p x 1))
(deft :test-2 ((:async done))
(in... | 3,285 | Common Lisp | .lisp | 87 | 31.632184 | 92 | 0.546831 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 83c027360ad86e185321db2df737d5ff917702156f292e31e4bff07b1bde069b | 11,906 | [
-1
] |
11,907 | only-test.lisp | noloop_cacau/t/functional/only-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-not-only-test
(lambda (r-done)
(let* ((runner-instance (make-runner))
(suite-root (suite-root runner-instance))
(suite-1 (create-suite runner-instance
:suite-1))
(test-1 nil)
(test-2 nil))
... | 20,506 | Common Lisp | .lisp | 531 | 19.52354 | 81 | 0.378751 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 419f06bd34dc5fba519bd79248f83f1cee2498c29adc1ac29dfadac1418a9ba3 | 11,907 | [
-1
] |
11,908 | after-all-test.lisp | noloop_cacau/t/functional/after-all-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-after-all
(lambda (r-done)
(let* ((runner-instance (make-runner))
(suite-root (suite-root runner-instance))
(suite-1 (create-suite runner-instance
:suite-1))
(x 0))
(add-child suite-root suite-1)
... | 5,039 | Common Lisp | .lisp | 140 | 19.128571 | 51 | 0.400409 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 5079d6b55c3a09302cea7ece94ce43ef9cb8c62a46ca63b881f623ff2d637c03 | 11,908 | [
-1
] |
11,909 | skip-test.lisp | noloop_cacau/t/functional/skip-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-skip-test
(lambda (r-done)
(let* ((runner-instance (make-runner))
(suite-root (suite-root runner-instance))
(suite-1 (create-suite runner-instance
:suite-1))
(test-1 nil)
(test-2 nil))
(ad... | 20,883 | Common Lisp | .lisp | 540 | 19.583333 | 73 | 0.379273 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | a8ddbd7c168eadf45d77ad48f2d05dc9816f4840912b80f5f2ede97bce2dbfe2 | 11,909 | [
-1
] |
11,910 | before-each-test.lisp | noloop_cacau/t/functional/before-each-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-before-each
(lambda (r-done)
(let* ((runner-instance (make-runner))
(suite-root (suite-root runner-instance))
(suite-1 (create-suite runner-instance
:suite-1))
(x 0))
(add-child suite-root suite-1)
... | 4,991 | Common Lisp | .lisp | 130 | 19.007692 | 73 | 0.370393 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 2dcbf36bdbbf61af10c310fa7ec68261ceb355676fdba6453635684302b01bd8 | 11,910 | [
-1
] |
11,911 | skip-only-rule-test.lisp | noloop_cacau/t/functional/skip-only-rule-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-skip-only-rule-skip-test-precedes-only-test
(lambda (r-done)
(let* ((runner-instance (make-runner))
(suite-root (suite-root runner-instance))
(suite-1 (create-suite runner-instance
:suite-1))
(test-1 ni... | 12,589 | Common Lisp | .lisp | 300 | 21.753333 | 77 | 0.391255 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 315179ffb7f5aa3e2e0fbc01154bf60655dced77d7c6aeb8e4b36461b89d1765 | 11,911 | [
-1
] |
11,912 | after-each-test.lisp | noloop_cacau/t/functional/after-each-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-after-each
(lambda (r-done)
(let* ((runner-instance (make-runner))
(suite-root (suite-root runner-instance))
(suite-1 (create-suite runner-instance
:suite-1))
(x 0))
(add-child suite-root suite-1)
... | 5,835 | Common Lisp | .lisp | 159 | 18.283019 | 56 | 0.373126 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | caf6b130552ee9c49b41b61cac84fc68f85f6090898154338c4a62c67d7dda01 | 11,912 | [
-1
] |
11,913 | runner-test.lisp | noloop_cacau/t/functional/runner-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-runner-create-test-sync
(lambda (r-done)
(let* ((runner-instance (make-runner))
(suite-root (suite-root runner-instance)))
(add-child suite-root
(create-test runner-instance
:test-1
... | 3,565 | Common Lisp | .lisp | 100 | 19.32 | 66 | 0.414162 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 0339ac6a75be766b3c64b8a9f9e5ca9a1388466499114c1c87ea89addb571ed7 | 11,913 | [
-1
] |
11,914 | suite-test.lisp | noloop_cacau/t/functional/suite-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-suite-with-suite-root-void
(lambda (r-done)
(let* ((runner-instance (make-runner)))
(once-runner runner-instance
:end
(lambda ()
(let ((failing
(gethash :failing (result runner-i... | 1,014 | Common Lisp | .lisp | 27 | 25.333333 | 73 | 0.517276 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 2a43f69667b86e182365e6ea566ecb58e91b45ee704434cef0230e373af484e8 | 11,914 | [
-1
] |
11,915 | test-test.lisp | noloop_cacau/t/functional/test-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-failing-async-test-done-whitout-arg
(lambda (r-done)
(let* ((runner-instance (make-runner))
(suite-root (suite-root runner-instance))
(suite-1 (create-suite runner-instance
:suite-1))
(test-1 nil)
... | 3,568 | Common Lisp | .lisp | 92 | 21.097826 | 74 | 0.40985 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 434507ff1372deab05ed25ad38ac76e5b60c9661e15ec330591aaa087e284ca2 | 11,915 | [
-1
] |
11,916 | timeout-test.lisp | noloop_cacau/t/functional/timeout-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-timeout-test
(lambda (r-done)
(let* ((runner-instance (make-runner))
(suite-root (suite-root runner-instance))
(suite-1 (create-suite runner-instance
:suite-1))
(test-1 nil))
(add-child suite-root su... | 36,000 | Common Lisp | .lisp | 885 | 20.857627 | 95 | 0.388263 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 198ca0a9d04e576d9052282801d4a8b9c448e0510499dd09897424f16a80654d | 11,916 | [
-1
] |
11,917 | before-all-test.lisp | noloop_cacau/t/functional/before-all-test.lisp | (in-package #:noloop.cacau-test)
(r-test
:test-before-all
(lambda (r-done)
(let* ((runner-instance (make-runner))
(suite-root (suite-root runner-instance))
(suite-1 (create-suite runner-instance
:suite-1))
(x 0))
(add-child suite-root suite-1)
... | 4,275 | Common Lisp | .lisp | 114 | 19.631579 | 73 | 0.394756 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 45c5e57afb45ea5c8836d03e7eaa566f2018b52627c71cbe02819d3f73f4d987 | 11,917 | [
-1
] |
11,918 | cacau-test.asd | noloop_cacau/cacau-test.asd | (defsystem :cacau-test
:author "noloop <noloop@zoho.com>"
:maintainer "noloop <noloop@zoho.com>"
:license "GPLv3"
:description "cacau Test."
:depends-on (:cacau :assert-p)
:defsystem-depends-on (:cacau-asdf)
:serial t
:components
((:module "t"
:components
((:file "recursive-runner")
(:mod... | 1,191 | Common Lisp | .asd | 38 | 25.131579 | 63 | 0.588184 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 8335b0d06e916b30793a32e7f33d424a38fbd4c0c1e5a119d1fa50829849e347 | 11,918 | [
-1
] |
11,919 | cacau.asd | noloop_cacau/cacau.asd | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(defsystem :cacau
:author "noloop <noloop@zoho.com>"
:maintainer "noloop <noloop@zoho.com>"
:license "GPLv3"
:version "1.0.0"
:homepage "https://github.com/noloop/cacau"
:bug-tracker "https://github.com/noloop/cacau/issues"
:source-control (:git ... | 1,488 | Common Lisp | .asd | 41 | 22.707317 | 59 | 0.441909 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 9de19dee13d7b14d9cca0403c3af29262f2756bc1dbd8eabac9bd9f6a661d80b | 11,919 | [
-1
] |
11,920 | cacau-examples-asdf-integration-test.asd | noloop_cacau/examples/asdf-intregration/cacau-examples-asdf-integration-test.asd | ;; Use cacau-file to load the file awalys that call test-system.
;; Use cacau-file-nd ("nd" of "never done") to load and compile the file awalys that call test-system.
(defsystem :cacau-examples-asdf-integration-test
:depends-on (:cacau-examples-asdf-integration
:cacau
:assert-p)
:defs... | 478 | Common Lisp | .asd | 9 | 47.777778 | 102 | 0.694444 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | c77cb40d6abd415641747b1305a5306c8c4059ee65d43d766cdfc154e1cf396a | 11,920 | [
-1
] |
11,921 | cacau-examples-asdf-integration.asd | noloop_cacau/examples/asdf-intregration/cacau-examples-asdf-integration.asd | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(defsystem :cacau-examples-asdf-integration
:components ((:file "cacau-examples-asdf-integration"))
:in-order-to ((test-op (test-op :cacau-examples-asdf-integration-test))))
| 239 | Common Lisp | .asd | 4 | 57.5 | 75 | 0.709402 | noloop/cacau | 8 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:26:57 AM (Europe/Amsterdam) | 6d58c99529d4b7a900dc857985c9c1d8d3000243af09c1bf1676b3a81e108298 | 11,921 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.