inquisitor

API Reference

inquisitor

Encoding/end-of-line detection and of external-format abstraction for Common Lisp

INQUISITOR.ENCODING.DFA

  • Macro DEFINE-DFA (name &body states)
  • Macro DFA-INIT (dfa-st dfa-ar dfa-name)
  • Macro DFA-NAME (dfa)
  • Macro DFA-PROCESS (order ch)
  • Function DFA-TOP (order)
  • Function DFA-NONE (order)
  • Macro GENERATE-ORDER (&rest encodings)

INQUISITOR.ENCODING.TABLE

No exported symbols.

INQUISITOR.ENCODING.GUESS

  • Function LIST-AVAILABLE-SCHEME
  • Function CES-GUESS-FROM-VECTOR (vector scheme)

INQUISITOR.EOL

  • Function EOL-AVAILABLE-P
  • Function EOL-GUESS-FROM-VECTOR (buffer)

INQUISITOR.NAMES

  • Variable +AVAILABLE-ENCODINGS+
    (loop :for ((inquisitor.names::name . type)
                . inquisitor.names::impl-name) :in inquisitor.names::+name-mapping+
          :unless (eq type :eol)
          :collect inquisitor.names::name)
  • Variable +AVAILABLE-EOLS+
    (loop :for ((inquisitor.names::name . type)
                . inquisitor.names::impl-name) :in inquisitor.names::+name-mapping+
          :when (eq type :eol)
          :collect inquisitor.names::name)
  • Function INDEPENDENT-NAME (dependent-name)
  • Function DEPENDENT-NAME (independent-name)
  • Function UNICODE-P (encoding)

INQUISITOR.EXTERNAL-FORMAT

  • Function MAKE-EXTERNAL-FORMAT (enc eol)

INQUISITOR.UTIL

  • Macro WITH-BYTE-ARRAY ((var dim) &body body)
  • Function BYTE-ARRAY-P (vec)
  • Function BYTE-INPUT-STREAM-P (stream)
  • Function FILE-POSITION-CHANGABLE-P (stream)

INQUISITOR

  • Variable *DETECTING-BUFFER-SIZE*
    1000
  • Method DETECT-ENCODING ((stream stream) (scheme symbol))
  • Method DETECT-ENCODING ((path pathname) (scheme symbol))
  • Method DETECT-END-OF-LINE ((stream stream))
  • Method DETECT-END-OF-LINE ((path pathname))
  • Method DETECT-EXTERNAL-FORMAT ((vec vector) (scheme symbol))
  • Method DETECT-EXTERNAL-FORMAT ((stream stream) (scheme symbol))
  • Method DETECT-EXTERNAL-FORMAT ((path pathname) (scheme symbol))
  • Function DETECT-EXTERNAL-FORMAT-FROM-FILE (path scheme &optional all-scan-p)

Also exports

  • INQUISITOR.ENCODING.GUESS:LIST-AVAILABLE-SCHEME
  • INQUISITOR.EXTERNAL-FORMAT:MAKE-EXTERNAL-FORMAT
  • INQUISITOR.NAMES:DEPENDENT-NAME
  • INQUISITOR.NAMES:+AVAILABLE-ENCODINGS+
  • INQUISITOR.NAMES:+AVAILABLE-EOLS+
  • INQUISITOR.NAMES:UNICODE-P
  • INQUISITOR.NAMES:INDEPENDENT-NAME
  • INQUISITOR.EOL:EOL-AVAILABLE-P

inquisitor-test

No packages.