Mercurial > core / lisp/lib/obj/pkg.lisp
changeset 554: |
7845348eced6 |
parent: |
ec607b5f616f
|
child: |
9e7d4393eac6 |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Thu, 18 Jul 2024 22:09:56 -0400 |
permissions: |
-rw-r--r-- |
description: |
srv work |
1 ;;; obj/pkg.lisp --- Object System 11 :*standard-metaobjects*)) 16 (:import-from :sb-lockless 17 :make-ordered-list :lfl-insert 19 :lfl-insert*/t :lfl-delete*/t :lfl-find*/t 20 :do-lockfree-list :lfl-keys :make-marked-ref) 26 (:import-from :sb-lockless 27 :make-so-map/fixnum :+hash-nbits+ 31 :so-count :so-key-node-p 33 :so-find :so-find/string 34 :so-maplist :make-so-map/string 35 :make-so-set/string :make-so-map/addr :make-marked-ref) 63 (:use :cl :std :obj/hash) 65 :id :reset-id :update-id :make-id 68 (defpackage :obj/equiv 70 (:export :equiv :eqv :nequiv :neqv :equivalence)) 78 :iri ; subclass of uri 83 :uri-parse-error-string 94 :uri-authority ; pseudo-slot accessor 99 :urn-q-component ; RFC 8141 100 :urn-f-component ; RFC 8141 101 :urn-r-component ; RFC 8141 112 :parse-uri-string-rfc3986 113 :parse-iri-string-rfc3987 114 :make-uri-space ; interning... 133 (:use :cl :std :obj/uri) 134 (:shadowing-import-from :quri :url-encode :url-decode :url-encode-params :url-decode-params) 135 (:export :url-encode :url-decode :url-encode-params :url-decode-params)) 140 (:export :iterator :ring)) 142 (defpackage :obj/tree 144 (:use :cl :std :obj/id :obj/seq) 145 (:export :keytype :tree-node :binary-node :unary-node :ternary-node :avl-node 146 :make-node :make-binary-node :make-unary-node :make-ternary-node :make-avl-node)) 148 (defpackage :obj/graph 150 (:use :cl :std :obj/id :obj/seq) 152 :vertex :edge :graph :make-edge :make-graph 153 :nodes :edges :add-node :add-edge 154 :weighted-edge :directed-edge :undirected-edge :directed-graph 155 :edge-value :edge-weight :node-edges)) 157 (defpackage :obj/color 161 #:rgb #:rgb-red #:rgb-green #:rgb-blue #:gray #:&rgb 162 #:hsv #:hsv-hue #:hsv-saturation #:hsv-value #:&hsv 163 #:rgb-to-hsv #:hsv-to-rgb #:hex-to-rgb #:as-hsv #:as-rgb 164 #:rgb-combination #:hsv-combination 165 #:parse-hex-rgb #:print-hex-rgb 166 :color-palette :parse-and-write-color-definitions)) 168 (defpackage :obj/time 192 :timestamp-whole-year-difference 196 :timestamp-difference 197 :timestamp-minimize-part 198 :timestamp-maximize-part 199 :with-decoded-timestamp 203 :timestamp-day-of-week 206 :timestamp-microsecond 207 :timestamp-millennium 208 :timestamp-millisecond 217 :format-rfc1123-timestring 218 :to-rfc1123-timestring 219 :format-rfc3339-timestring 220 :to-rfc3339-timestring 222 :parse-rfc3339-timestring 223 :universal-to-timestamp 224 :timestamp-to-universal 227 :timestamp-subtimezone 231 :leap-second-adjusted 234 :find-timezone-by-location-name 235 :timezones-matching-subzone 236 :all-timezones-matching-subzone 237 :reread-timezone-repository 250 :+seconds-per-minute+ 257 :+iso-8601-date-format+ 258 :+iso-8601-time-format+ 260 :+rfc3339-format/date-only+ 263 :+iso-week-date-format+ 264 :astronomical-julian-date 265 :modified-julian-date 266 :astronomical-modified-julian-date 268 :encode-universal-time-with-tz 269 :decode-universal-time-with-tz)) 271 (defpackage :obj/uuid 273 (:use :cl :std :obj/id :obj/time) 275 :uuid :*ticks-per-count* :format-as-urn :make-null-uuid 276 :make-uuid-from-string :make-v1-uuid :make-v3-uuid :make-v4-uuid 277 :make-v5-uuid :uuid= :+namespace-dns+ :+namespace-oid+ :+namespace-x500+ 278 :uuid-to-octet-vector :octet-vector-to-uuid)) 280 (defpackage :obj/music 284 :*bpm* :*key-signature* :*time-signature* 285 :*chord-table* :*key-table* :*tone-table*)) 287 (defpackage :obj/temperature 288 (:nicknames :temperature) 290 (:export :fahrenheit :celsius :kelvin :rankine)) 292 (defpackage :obj/direction 293 (:nicknames :direction) 295 (:export :up :down :left 296 :right :east :west :north 297 :north-east :north-west :south-east :south-west 300 (defpackage :obj/shape 303 (:export :circle :square :cube :sphere :triangle :pyramid)) 308 (:export :cfg :make-cfg :find-cfg 309 :cfg-find :cfg-get :defcfg)) 313 (:use :cl :std :id :seq :sb-mop :sb-pcl) 330 (defpackage :obj/query 350 :*literal-value-types* 352 :literal-value-vector 364 :aggregate-function-designator 365 :aggregate-expression 371 :make-physical-expression 378 :max-physical-expression 379 :aggregate-physical-expression 383 :math-physical-expression 384 :equiv-physical-expression 385 :binary-physical-expression 386 :literal-physical-expression 387 :column-physical-expression 406 (defpackage :obj/secret 409 (:export :secret-object :reveal-object :conceal-object 410 :ensure-revealed :ensure-concealed)) 412 (defpackage :obj/build 414 (:export :build :build-from)) 416 (uiop:define-package :obj 417 (:use-reexport :list :hash :color 418 :seq :tree :graph :id 420 :cfg :music :temperature :direction 421 :shape :secret :query))