;;;; -*- Mode: Lisp; Base: 10; Syntax: ANSI-Common-Lisp; Package: ccl; Coding: utf-8 -*-
;;;; Copyright © 2023 David Mullen. All Rights Reserved. Origin: <https://cl-pdx.com/kira/>

(in-package :ccl)

(defpackage :kira
    (:use :common-lisp)
  (:import-from
   :ccl
   #:%%get-signed-longlong
   #:%%get-unsigned-longlong
   #:%address-of
   #:%copy-ivector-to-ptr
   #:%deftype-expander
   #:%get-bit
   #:%get-bitfield
   #:%get-cstring
   #:%get-double-float
   #:%get-natural
   #:%get-ptr
   #:%get-signed-byte
   #:%get-signed-long
   #:%get-signed-word
   #:%get-single-float
   #:%get-unsigned-byte
   #:%get-unsigned-long
   #:%get-unsigned-word
   #:%inc-ptr
   #:%incf-ptr
   #:%int-to-ptr
   #:%null-ptr
   #:%null-ptr-p
   #:%ptr-to-int
   #:%setf-macptr
   #:%stack-block
   #:%str-from-ptr
   #:%use-toplevel-commands
   #:*active-toplevel-commands*
   #:*current-process*
   #:*default-external-format*
   #:*default-file-character-encoding*
   #:*default-line-termination*
   #:*default-socket-character-encoding*
   #:*defined-toplevel-commands*
   #:*lisp-cleanup-functions*
   #:*lisp-startup-functions*
   #:*make-package-use-defaults*
   #:*module-provider-functions*
   #:*module-search-path*
   #:*symbol-macros*
   #:+null-ptr+
   #:accept-connection
   #:advise
   #:advisedp
   #:align-offset
   #:all-processes
   #:arglist
   #:array-data-and-offset
   #:back-translate-pathname
   #:basic-stream-ioblock
   #:bignump
   #:cdb-close
   #:cdb-get
   #:cdb-open
   #:cdbm-put
   #:class-precedence-list
   #:class-slots
   #:close-shared-library
   #:copy-file
   #:coerce-to-function
   #:compiler-let
   #:copy-sparse-vector
   #:count-characters-in-octet-vector
   #:current-directory
   #:decode-string-from-octets
   #:defcallback
   #:define-toplevel-command
   #:defstatic
   #:defstaticvar
   #:describe-character-encodings
   #:directory-pathname-p
   #:disassemble-to-file
   #:dispose-heap-ivector
   #:dparef
   #:encode-string-to-octets
   #:ensure-directory-pathname
   #:ensure-simple-string
   #:external-format
   #:external-format-character-encoding
   #:external-format-line-termination
   #:external-process
   #:external-process-error-stream
   #:external-process-input-stream
   #:external-process-output-stream
   #:external-process-status
   #:ff-call
   #:file-data-size
   #:find-definition-sources
   #:find-process
   #:fixnump
   #:foreign-size
   #:foreign-symbol-address
   #:foreign-symbol-entry
   #:form-symbol
   #:free
   #:get-encoded-string
   #:get-output-stream-vector
   #:get-timezone
   #:getenv
   #:gettimeofday
   #:grab-lock
   #:guess-alignment
   #:hash-table-weak-p
   #:heap-ivector-utilization
   #:heap-utilization
   #:intern-eql-specializer
   #:interrupt-signal-condition
   #:ioblock-outbuf
   #:io-buffer-buffer
   #:io-buffer-count
   #:io-buffer-idx
   #:io-buffer-limit
   #:io-buffer-size
   #:join-process
   #:list-character-encodings
   #:lock-name
   #:macptr
   #:macptrp
   #:macroexpand-all
   #:make-external-format
   #:make-gcable-record
   #:make-heap-ivector
   #:make-lock
   #:make-population
   #:make-process
   #:make-read-write-lock
   #:make-record
   #:make-semaphore
   #:make-socket
   #:make-sparse-vector
   #:make-vector-input-stream
   #:make-vector-output-stream
   #:map-file-to-ivector
   #:map-file-to-octet-vector
   #:mapped-vector-data-address-and-size
   #:method-function
   #:method-lambda-list
   #:method-specializers
   #:microseconds
   #:milliseconds
   #:name-of
   #:nanoseconds
   #:native-translated-namestring
   #:normalize-external-format
   #:normalize-lambda-list
   #:note-open-file-stream
   #:object-direct-size
   #:open-file-streams
   #:open-shared-library
   #:paref
   #:parse-body
   #:parse-float
   #:parse-macro-1
   #:population-contents
   #:population-type
   #:pref
   #:print-call-history
   #:process-abort
   #:process-enable
   #:process-input-wait
   #:process-interrupt
   #:process-kill
   #:process-name
   #:process-output-wait
   #:process-plist
   #:process-preset
   #:process-reset
   #:process-reset-and-enable
   #:process-run-function
   #:process-serial-number
   #:process-whostate
   #:proper-list-p
   #:quit
   #:quoted-form-p
   #:record-length
   #:release-lock
   #:remove-open-file-stream
   #:require-type
   #:rlet
   #:rletz
   #:run-program
   #:save-application
   #:self-evaluating-p
   #:sequencep
   #:shrink-vector
   #:signal-external-process
   #:signal-semaphore
   #:snarf-url
   #:source-note
   #:source-note-end-pos
   #:source-note-filename
   #:source-note-start-pos
   #:source-note-text
   #:sparef
   #:sparse-vector
   #:sparse-vector-count
   #:sparse-vector-p
   #:sparse-vector-ref
   #:sparse-vector-size
   #:stream-deadline
   #:stream-input-timeout
   #:stream-io-error
   #:stream-output-timeout
   #:stream-length
   #:string-size-in-octets
   #:terminate
   #:terminate-when-unreachable
   #:timed-wait-on-semaphore
   #:try-lock
   #:type-expand
   #:unadvise
   #:unmap-ivector
   #:unmap-octet-vector
   #:until
   #:unwatch
   #:vector-input-stream
   #:vector-output-stream
   #:vector-output-stream-ioblock
   #:vector-output-stream-ioblock-displaced
   #:vector-output-stream-ioblock-displacement
   #:wait-on-semaphore
   #:watch
   #:while
   #:with-cstrs
   #:with-encoded-cstrs
   #:with-filename-cstrs
   #:with-input-from-vector
   #:with-input-timeout
   #:with-interrupts-enabled
   #:with-lock-grabbed
   #:with-macptrs
   #:with-new-db-file
   #:with-open-socket
   #:with-output-timeout
   #:with-output-to-vector
   #:with-pointer-to-ivector
   #:with-read-lock
   #:with-terminal-input
   #:with-toplevel-commands
   #:with-write-lock
   #:without-interrupts
   #:write-escaped-string
   #:write-simple-string
   #:write-to-watched-object
   #:write-to-watched-object-instruction
   #:write-to-watched-object-object
   #:write-to-watched-object-offset)
  (:import-from
   :inspector
   #:symbol-type-line
   #:universal-time-string)
  (:export
   #:&attributes
   #:*base-uri*
   #:*char-class-table*
   #:*html-output*
   #:*html-processor*
   #:*in-attribute-p*
   #:*object-database*
   #:*registered-markup-table*
   #:*request*
   #:*session*
   #:+1900-01-01+
   #:+1970-01-01+
   #:+array-tag+
   #:+bignum-tag+
   #:+binary-external-format+
   #:+bit-vector-tag+
   #:+canonical-xml-declaration+
   #:+century+
   #:+c-hours+
   #:+character-tag+
   #:+char-class-bits+
   #:+complex-tag+
   #:+content-external-format+
   #:+cycle+
   #:+day+
   #:+decoded-days+
   #:+decoded-secs+
   #:+digest-bits+
   #:+digits+
   #:+dotted-list-tag+
   #:+double-float-tag+
   #:+empty-html-elements+
   #:+fixnum-tag+
   #:+hash-table-tag+
   #:+header-external-format+
   #:+keyword-tag+
   #:+kira-tag+
   #:+local-time-tag+
   #:+mac-bits+
   #:+max-priority+
   #:+meta-object-id+
   #:+object-buffer-size+
   #:+object-cache-size+
   #:+object-record-tag+
   #:+object-tag+
   #:+octet-vector-tag+
   #:+pathname-tag+
   #:+proper-list-tag+
   #:+ratio-tag+
   #:+session-code-bits+
   #:+session-days-alive+
   #:+session-renewal-at+
   #:+simple-vector-tag+
   #:+single-float-tag+
   #:+ternary-burst-threshold+
   #:+text-tag+
   #:+uri-tag+
   #:+utc-tag+
   #:822-time
   #:absf
   #:absolute-uri-to
   #:alpha
   #:alphanumeric
   #:appendf
   #:array-index
   #:ascii
   #:ascii-char
   #:ascii-char-p
   #:ashf
   #:authenticate-timestamp
   #:author
   #:authorization-time
   #:binary-fixnum
   #:binary-symbol-sequence
   #:binary-word
   #:body
   #:butlastf
   #:cache-xml
   #:can-edit-p
   #:canonical-name
   #:canonical-path
   #:char-class
   #:char-class-expand
   #:char-class-expand-1
   #:char-class-p
   #:char-of-class-p
   #:check-vector-bounds
   #:close-database
   #:coercef
   #:collapse
   #:collect
   #:collecting
   #:commit
   #:compact-database
   #:constant-octet-vector
   #:cookie-session
   #:copy-binary-object
   #:copy-local-time
   #:copy-uri
   #:day-name
   #:decode-content-from-octets
   #:decode-local-time
   #:define-block-markup
   #:define-char-class
   #:define-html-macro
   #:define-inline-markup
   #:define-persistent-class
   #:defstatus
   #:defstruct*
   #:deletef
   #:delete-term
   #:derive-key
   #:digest
   #:digit
   #:do-terms
   #:edited-time
   #:encode-local-time
   #:end-tag
   #:ensure-keyword
   #:ensure-list
   #:escape-html
   #:eval-always
   #:expiration-time
   #:fail-safe
   #:file
   #:file-name
   #:file-string
   #:files-equal
   #:find-object
   #:find-quad
   #:find-slot-layout
   #:gc
   #:genq
   #:get-binary-array
   #:get-binary-bit-vector
   #:get-binary-complex
   #:get-binary-dotted-list
   #:get-binary-double-float
   #:get-binary-hash-table
   #:get-binary-integer
   #:get-binary-keyword
   #:get-binary-object
   #:get-binary-octet-vector
   #:get-binary-pathname
   #:get-binary-proper-list
   #:get-binary-ratio
   #:get-binary-simple-vector
   #:get-binary-single-float
   #:get-binary-string
   #:get-binary-symbol
   #:get-binary-time
   #:get-binary-uri
   #:get-expiration-time
   #:get-inferior-object
   #:get-lines
   #:get-local-time
   #:get-localized-time
   #:get-mmap-displaced-vector
   #:get-object
   #:get-root
   #:get-term
   #:get-token
   #:grab
   #:graphic
   #:handle
   #:horizontal-whitespace
   #:html
   #:html-macroexpand
   #:html-macroexpand-1
   #:html-macro-function
   #:http-serve
   #:initialize-slot
   #:intern-xml-name
   #:ip-address
   #:lexer-advance-if
   #:lexer-case
   #:lexer-end
   #:lexer-error
   #:lexer-error-thing
   #:lexer-error-string
   #:lexer-error-position
   #:lexer-find
   #:lexer-hex-digit
   #:lexer-integer
   #:lexer-match
   #:lexer-position
   #:lexer-skip
   #:lexer-start
   #:lexer-string
   #:lexer-unsigned
   #:link
   #:list-commits
   #:local-time
   #:local-time-day
   #:local-time-day-of-week
   #:local-time-msec
   #:local-time-p
   #:local-time-sec
   #:local-time-zone
   #:local-time/=
   #:local-time<
   #:local-time<=
   #:local-time=
   #:local-time>
   #:local-time>=
   #:log-condition
   #:logiorf
   #:logxorf
   #:lower-case
   #:mac
   #:macro-eval
   #:make-bit-vector
   #:make-buffer
   #:make-char-class
   #:make-indirect-vector
   #:make-key
   #:make-local-time
   #:make-request
   #:make-temporary-name
   #:make-timestamp
   #:make-uri
   #:map-terms
   #:mark-dirty-object
   #:match-symbol
   #:maxf
   #:meta-object
   #:minf
   #:mmap
   #:month-name
   #:munmap
   #:nbutlastf
   #:nconcf
   #:normalize-local-time
   #:nreversef
   #:object
   #:object-database
   #:object-id
   #:object-layout
   #:object-lock
   #:object-pointer
   #:octet
   #:open-database
   #:open-temporary-file
   #:orf
   #:parameter
   #:parse-html-tag
   #:parse-timestamp
   #:parse-timestring
   #:parse-uri
   #:pathname-uri
   #:percent-decode
   #:percent-encode
   #:persistent-slot-value
   #:pop-segment
   #:post
   #:posted-time
   #:print-day-name
   #:print-local-time
   #:print-month-name
   #:print-zone
   #:qar
   #:qbr
   #:qcr
   #:qdr
   #:quad
   #:rebinding
   #:redirect
   #:removef
   #:render-content
   #:render-diff
   #:render-link
   #:render-local-time
   #:render-text
   #:render-title
   #:render-xml
   #:renew-session-p
   #:request
   #:request-address
   #:request-cookie
   #:request-method
   #:request-parameters
   #:request-uri
   #:reset-buffer
   #:reset-object
   #:resolve-uri
   #:respond-with
   #:reversef
   #:rewind-database
   #:rollback
   #:sans
   #:sansf
   #:session
   #:session-code
   #:session-cookie
   #:session-log
   #:session-name
   #:set-if-changed
   #:skip-binary-object
   #:slot-area
   #:slot-layout
   #:sortf
   #:start-server
   #:start-tag
   #:ternary-node
   #:ternary-node-data
   #:ternary-node-label
   #:ternary-node-left
   #:ternary-node-middle
   #:ternary-node-priority
   #:ternary-node-right
   #:title
   #:type-equal
   #:typed-pathname
   #:universal-time
   #:unix-time
   #:update-object-index
   #:updated-time
   #:upload-time
   #:upper-case
   #:uproot
   #:uri
   #:uri-alist
   #:uri-authority
   #:uri-fragment
   #:uri-host
   #:uri-path
   #:uri-port
   #:uri-query
   #:uri-scheme
   #:uri-segments
   #:uri-string
   #:uri-to
   #:uri-user
   #:uri=
   #:versioned-uri
   #:vertical-whitespace
   #:whereas
   #:whitespace
   #:whitespacep
   #:with-array-data
   #:with-binary-chunk
   #:with-binary-chunk-iterator
   #:with-gensyms
   #:with-heap-ivector
   #:with-lexer
   #:with-lexer-error
   #:with-new-file
   #:with-open-log
   #:with-slots*
   #:with-temporary-file
   #:write-binary-array
   #:write-binary-bit-vector
   #:write-binary-complex
   #:write-binary-cons
   #:write-binary-double-float
   #:write-binary-hash-table
   #:write-binary-integer
   #:write-binary-keyword
   #:write-binary-length
   #:write-binary-object
   #:write-binary-octet-vector
   #:write-binary-pathname
   #:write-binary-ratio
   #:write-binary-simple-vector
   #:write-binary-single-float
   #:write-binary-string
   #:write-binary-symbol
   #:write-binary-time
   #:write-binary-uri
   #:write-binary-word
   #:xml-name
   #:xml-name-p
   #:xml-name-plist
   #:xml-name-string
   #:xvector
   #:xvector-depth
   #:xvector-max
   #:xvector-root
   #:xvref))