The ahungry-fleece Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The ahungry-fleece Reference Manual

This is the ahungry-fleece Reference Manual, version 0.3.0, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 02:51:12 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

Ahungry Fleece

A minimalist utility library for Common Lisp

In Greek mythology, the Golden Fleece (Greek: χρυσόμαλλον δέρας chrysómallon déras) is the fleece of the gold-hair winged ram, which was held in Colchis. The fleece is a symbol of authority and kingship. It figures in the tale of the hero Jason...

In my mythology, the Ahungry Fleece simplifies the programmer's job of rapid development in one of the greatest languages around (Lisp!)

TOC

Setup

Installation

Quicklisp/REPL

Currently the library is not on quicklisp (yet), so you'll have to add to your local proejcts directory after cloning it, as such:

cd ~/some/path
git clone https://github.com/ahungry/ahungry-fleece
(push #P"~/some/path/ahungry-fleece" ql:*local-project-directories*)
(ql:quickload :ahungry-fleece)
;; Optionally confirm all is working by running the tests
(af.lib.test:main)

Roswell

Simply run:

ros install ahungry/ahungry-fleece

Then you can use it in your roswell image, or run the CLI scripts directly via:

~/.roswell/bin/ahungry-fleece -h

Usage

IO

You can easily write to and read from files with some of the following convenience functions.

(use-package :af.lib.io)
(file-put-contents "/tmp/helloWorld" "Hello World!")
(file-get-contents "/tmp/helloWorld")

Or get directory/file status with:

(directory-p "/dev") ;; t
(directory-p "/dev/null") ;; nil
(file-p "/dev") ;; nil
(file-p "/dev/null") ;; t

JSON/YAML

RefPath

There is a way to quickly select a node in some given YAML or JSON or HASH-TABLE.

When given some YAML such as this (for example):

definitions:
  Pet:
    type: object
    required:
    - name
    - petType

You can get the first element of the 'required' array as such (assume that YAML above is in a file named 'pets.yml'):

(use-package :af.lib.hashy)
(defparameter *yml* (hash-from-yaml-file "pets.yml"))
(ref "#/definitions/Pet/required/0" *yml*) ;; returns "name"

You can also set values by passing in the optional third parameter:

;; To set the value (changing 'object' to 'array')
(ref "#/definitions/Pet/type" *yml* "array")

The above would also work with json (just use the #'hash-from-json-file call instead).

Logging

There is also support for a small and easy to use logging interface.

To log using the *loggy* singleton instance of the Loggy class, you can simply:

(use-package :af.lib.loggy)

;; Will print only if log level is set to 'debug (default)
(flog 'debug "Hello world")

;; If you want to suppress those calls in the code on a prod instance
(setf (Level *loggy*) 'warn)

;; Will now no longer print at all (using a specific log call, but to
;; singleton again, so equivalent to the #'flog call):
(log-> *loggy* 'debug "Hello world")

You can customize the following properties in the Loggy class:

Testing

A tiny BDD test framework exists, and can be used as such:

(use-package :af.lib.testy)
(suite "your.suite"
  (desc "your.suite.function"
    (it "Should add two numbers"
      (and
        (eq 4 (+ 2 2))
        (eq 8 (+ 6 2))))

    (it "Should fail here"
      (eq 10 (+ 2 2)))))

which will produce some output such as this when run:

your.suite

  your.suite.function

    + Should add two numbers
    - Should fail here

  2 assertions, 1 failures

1 tests, 1 failures

testing

Colorizing

You can colorize shell output (via the shell escape codes) by using:

(use-package :af.lib.ansi-colors)
(with-color :blue (format t "Blue text!"))

To avoid colors in the SLIME REPL, simply set:

(setq af.lib.ansi-colors:*colorize-p* nil)

Clone

You can also quickly create/bootstrap a project with a similar directory / makefile setup as this one, by using:

(ahungry-fleece:make-skelly-project "/some/path/here")

About

Maintainer

You can reach me at Matthew Carter m@ahungry.com or file an issue here.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 ahungry-fleece

Author

Matthew Carter <m@ahungry.com>

License

GPLv3

Description

A general utility library of convenience functions and features.

Version

0.3.0

Dependencies
Source

ahungry-fleece.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Next: , Previous: , Up: Modules   [Contents][Index]

3.1 ahungry-fleece/af.contrib.compiler

Parent

ahungry-fleece (system)

Location

contrib/sb-rotate-byte/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.2 ahungry-fleece/af.contrib.vm

Dependencies
Parent

ahungry-fleece (system)

Location

contrib/sb-rotate-byte/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.3 ahungry-fleece/af.contrib.sb-rotate-byte

Dependencies
Parent

ahungry-fleece (system)

Location

contrib/sb-rotate-byte/

Component

rotate-byte.lisp (file)


Next: , Previous: , Up: Modules   [Contents][Index]

3.4 ahungry-fleece/af.contrib.sb-md5

Dependencies
Parent

ahungry-fleece (system)

Location

contrib/sb-md5/

Component

md5.lisp (file)


Next: , Previous: , Up: Modules   [Contents][Index]

3.5 ahungry-fleece/af.contrib.sb-cover

Dependencies
Parent

ahungry-fleece (system)

Location

contrib/sb-cover/

Component

cover.lisp (file)


Next: , Previous: , Up: Modules   [Contents][Index]

3.6 ahungry-fleece/libs

Dependencies
Parent

ahungry-fleece (system)

Location

src/libs/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.7 ahungry-fleece/ahungry-fleece

Dependencies
Parent

ahungry-fleece (system)

Location

src/

Component

ahungry-fleece.lisp (file)


Previous: , Up: Modules   [Contents][Index]

3.8 ahungry-fleece/t

Dependencies
Parent

ahungry-fleece (system)

Location

t/

Component

af.run.tests.lisp (file)


Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 ahungry-fleece.asd

Location

ahungry-fleece.asd

Systems

ahungry-fleece (system)

Packages

ahungry-fleece-asd


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 ahungry-fleece/af.contrib.compiler/package.lisp

Parent

af.contrib.compiler (module)

Location

contrib/sb-rotate-byte/package.lisp

Packages

af.contrib.sb-rotate-byte


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 ahungry-fleece/af.contrib.compiler/compiler.lisp

Dependency

package.lisp (file)

Parent

af.contrib.compiler (module)

Location

contrib/sb-rotate-byte/compiler.lisp

Internal Definitions

%rotate-byte-derive-type-optimizer (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 ahungry-fleece/af.contrib.vm/arm-vm.lisp

If Feature

arm

Parent

af.contrib.vm (module)

Location

contrib/sb-rotate-byte/arm-vm.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 ahungry-fleece/af.contrib.vm/arm64-vm.lisp

If Feature

arm64

Parent

af.contrib.vm (module)

Location

contrib/sb-rotate-byte/arm64-vm.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 ahungry-fleece/af.contrib.vm/x86-vm.lisp

If Feature

x86

Parent

af.contrib.vm (module)

Location

contrib/sb-rotate-byte/x86-vm.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 ahungry-fleece/af.contrib.vm/x86-64-vm.lisp

If Feature

x86-64

Parent

af.contrib.vm (module)

Location

contrib/sb-rotate-byte/x86-64-vm.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 ahungry-fleece/af.contrib.vm/ppc-vm.lisp

If Feature

ppc

Parent

af.contrib.vm (module)

Location

contrib/sb-rotate-byte/ppc-vm.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.9 ahungry-fleece/af.contrib.sb-rotate-byte/rotate-byte.lisp

Parent

af.contrib.sb-rotate-byte (module)

Location

contrib/sb-rotate-byte/rotate-byte.lisp

Exported Definitions

rotate-byte (function)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.10 ahungry-fleece/af.contrib.sb-md5/md5.lisp

Parent

af.contrib.sb-md5 (module)

Location

contrib/sb-md5/md5.lisp

Packages

af.contrib.sb-md5

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.11 ahungry-fleece/af.contrib.sb-cover/cover.lisp

Parent

af.contrib.sb-cover (module)

Location

contrib/sb-cover/cover.lisp

Packages

af.contrib.sb-cover

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.12 ahungry-fleece/libs/af.lib.coverage.lisp

Dependencies
Parent

libs (module)

Location

src/libs/af.lib.coverage.lisp

Packages

af.lib.coverage

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.13 ahungry-fleece/libs/af.lib.hashy.lisp

Dependencies
Parent

libs (module)

Location

src/libs/af.lib.hashy.lisp

Packages

af.lib.hashy

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.14 ahungry-fleece/libs/af.lib.testy.lisp

Dependencies
Parent

libs (module)

Location

src/libs/af.lib.testy.lisp

Packages

af.lib.testy

Exported Definitions
Internal Definitions

test-wrapper (macro)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.15 ahungry-fleece/libs/af.lib.loggy.lisp

Dependency

af.lib.io.lisp (file)

Parent

libs (module)

Location

src/libs/af.lib.loggy.lisp

Packages

af.lib.loggy

Exported Definitions
Internal Definitions

get-level (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.16 ahungry-fleece/libs/af.lib.ansi-colors.lisp

Parent

libs (module)

Location

src/libs/af.lib.ansi-colors.lisp

Packages

af.lib.ansi-colors

Exported Definitions
Internal Definitions

*colors* (special variable)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.17 ahungry-fleece/libs/af.lib.clone.lisp

Dependency

af.lib.io.lisp (file)

Parent

libs (module)

Location

src/libs/af.lib.clone.lisp

Packages

af.lib.clone

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.18 ahungry-fleece/libs/af.lib.io.lisp

Parent

libs (module)

Location

src/libs/af.lib.io.lisp

Packages

af.lib.io

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.19 ahungry-fleece/ahungry-fleece/ahungry-fleece.lisp

Parent

ahungry-fleece (module)

Location

src/ahungry-fleece.lisp

Packages

ahungry-fleece

Exported Definitions
Internal Definitions

*base-directory* (special variable)


Previous: , Up: Lisp files   [Contents][Index]

4.1.20 ahungry-fleece/t/af.run.tests.lisp

Parent

t (module)

Location

t/af.run.tests.lisp

Packages

af.run.tests

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 ahungry-fleece-asd

Source

ahungry-fleece.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.2 af.contrib.sb-rotate-byte

Source

package.lisp (file)

Use List
Exported Definitions

rotate-byte (function)

Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.3 af.contrib.sb-md5

Source

md5.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.4 af.contrib.sb-cover

Source

cover.lisp (file)

Use List
Used By List

af.lib.coverage

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.5 af.lib.coverage

Source

af.lib.coverage.lisp (file)

Use List
Used By List

af.run.tests

Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.6 af.lib.hashy

Source

af.lib.hashy.lisp (file)

Use List
Used By List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.7 af.lib.testy

Source

af.lib.testy.lisp (file)

Use List
Used By List

af.run.tests

Exported Definitions
Internal Definitions

test-wrapper (macro)


Next: , Previous: , Up: Packages   [Contents][Index]

5.8 af.lib.loggy

Source

af.lib.loggy.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

get-level (function)


Next: , Previous: , Up: Packages   [Contents][Index]

5.9 af.lib.ansi-colors

Source

af.lib.ansi-colors.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

*colors* (special variable)


Next: , Previous: , Up: Packages   [Contents][Index]

5.10 af.lib.clone

Source

af.lib.clone.lisp (file)

Use List
Used By List

ahungry-fleece

Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.11 af.lib.io

Source

af.lib.io.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.12 ahungry-fleece

Source

ahungry-fleece.lisp (file)

Use List
Exported Definitions
Internal Definitions

*base-directory* (special variable)


Previous: , Up: Packages   [Contents][Index]

5.13 af.run.tests

Source

af.run.tests.lisp (file)

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *colorize-p*
Package

af.lib.ansi-colors

Source

af.lib.ansi-colors.lisp (file)

Special Variable: *loggy*
Package

af.lib.loggy

Source

af.lib.loggy.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Macros

Macro: desc DESC &rest RESULTS

Describe a set of test.

Package

af.lib.testy

Source

af.lib.testy.lisp (file)

Macro: suite DESC &rest RESULTS

Describe a suite of tests.

Package

af.lib.testy

Source

af.lib.testy.lisp (file)

Macro: with-color COLOR &rest BODY

Activate COLOR and execute BODY (while reseting back to base color).

Package

af.lib.ansi-colors

Source

af.lib.ansi-colors.lisp (file)

Macro: with-coverage PACKAGE &rest BODY

Run BODY with coverage enabled.

Package

af.lib.coverage

Source

af.lib.coverage.lisp (file)

Macro: with-hashy (HASHY-SYM TARGET &key TYPE) &body BODY

Create and bind to HASHY object (hash-table) from the TARGET.

- If TARGET is a pathname, will read in the file and decode.
- If TARGET is a string, will decode the contents.
- todo: If TARGET is a URI, will retrieve remote contents and decode.

Package

af.lib.hashy

Source

af.lib.hashy.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Functions

Function: alist-to-hash ALIST

Convert ALIST into a nested hash.

Package

af.lib.hashy

Source

af.lib.hashy.lisp (file)

Function: clear-coverage ()

Clear all files from the coverage database. The files will be re-entered into the database when the FASL files (produced by compiling STORE-COVERAGE-DATA optimization policy set to 3) are loaded again into the image.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: clone-project FROM-PATH TO-PATH FROM-NAME TO-NAME

Recursively copy FROM-PATH to TO-PATH, while replacing all occurences of FROM-NAME to TO-NAME.

Package

af.lib.clone

Source

af.lib.clone.lisp (file)

Function: colorize COLOR

Set the active color of the terminal.

Package

af.lib.ansi-colors

Source

af.lib.ansi-colors.lisp (file)

Function: coverage ()

Begin the tests!

Package

af.run.tests

Source

af.run.tests.lisp (file)

Function: directory-p PATH

Check if PATH is a directory (a directory will have the trailing slash).

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: directory-structure DIRECTORY

Directory structure (including the root dir).

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: directory-tree DIRECTORY

Recursively get all files in a DIRECTORY.

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: dotp PAIR

T if PAIR is a dotted pair and not a list.

Package

af.lib.hashy

Source

af.lib.hashy.lisp (file)

Function: dump OBJECT

Return the object as json.

Package

af.lib.hashy

Source

af.lib.hashy.lisp (file)

Function: file-get-binary-contents FILENAME

Read in FILENAME and return as a byte list.

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: file-get-contents FILENAME

Read in FILENAME and return as a single string.

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: file-p PATH

Check if PATH is a file (a directory will have the trailing slash).

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: file-put-binary-contents FILENAME CONTENT &key OVERWRITE

Write to FILENAME the CONTENT bytes sent in.

If the file exists, will append to the file.

If the file does not exist, will create it.

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: file-put-contents FILENAME CONTENT &key OVERWRITE

Write to FILENAME the CONTENT string sent in.

If the file exists, will append to the file.

If the file does not exist, will create it.

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: file-replace-strings FILE-NAME REGEX-LIST

Iterate across REGEX-LIST, which should be an alist, replacing each occurence of car with cdr.

For instance, calling as such:

(file-replace-strings ’(("dog" . "cat") ("rules" . "rocks")))

to change a file containing text such as:

"The dog rules" to "The cat rocks"

This will replace the content inline.

Note that the car is a cl-ppcre compatible regex expression, and the cdr is a cl-ppcre compatible replacement string.

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: fill-block ()

Convert a complete 64 byte input vector segment into the given 16 word MD5 block. This currently works on (unsigned-byte 8) and character simple-arrays, via the functions ‘fill-block-ub8’ and ‘fill-block-char’ respectively.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: fill-block-char ()

Convert a complete 64 character input string segment starting from offset into the given 16 word MD5 block.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: fill-block-ub8 ()

Convert a complete 64 (unsigned-byte 8) input vector segment starting from offset into the given 16 word MD5 block.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: finalize-md5-state ()

If the given md5-state has not already been finalized, finalize it, by processing any remaining input in its buffer, with suitable padding and appended bit-length, as specified by the MD5 standard.

The resulting MD5 message-digest is returned as an array of sixteen (unsigned-byte 8) values. Calling ‘update-md5-state’ after a call to ‘finalize-md5-state’ results in unspecified behaviour.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: find-file PATH FILE-NAME

Get all files matching a portion of FILE-NAME. @todo use threading here

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: find-file-matches PATH TEXT &optional FILE-NAME

Recursively find all files in PATH with FILE-NAME matches that contain TEXT.

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: flog LEVEL &rest MESSAGE

Log to the singleton.

Package

af.lib.loggy

Source

af.lib.loggy.lisp (file)

Function: hash-from-json-file FILENAME

Read in FILENAME and create a hash.

Package

af.lib.hashy

Source

af.lib.hashy.lisp (file)

Function: hash-from-json-string JSON-STRING

Create a hash from the JSON-STRING.

Package

af.lib.hashy

Source

af.lib.hashy.lisp (file)

Function: hash-from-yaml-file FILENAME

Read in FILENAME and create a hash.

Package

af.lib.hashy

Source

af.lib.hashy.lisp (file)

Function: hash-from-yaml-string YAML-STRING

Read in YAML-STRING and create a hash.

Package

af.lib.hashy

Source

af.lib.hashy.lisp (file)

Function: initial-md5-regs ()

Create the initial working state of an MD5 run.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: it DESC RESULT

Assert the body evaluates as expected.

Package

af.lib.testy

Source

af.lib.testy.lisp (file)

Function: main &rest ARGV
Package

ahungry-fleece

Source

ahungry-fleece.lisp (file)

Function: main ()

Run the tests, or the tests with coverage.

Package

af.run.tests

Source

af.run.tests.lisp (file)

Function: make-md5-state ()
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: make-skelly-project DIRECTORY

Create a new project in DIREcTORY with name equal to the directory.

Similar to quickproject:make-project, but also ensures the created files closely match what is available in this own project’s directory structure setup (with CLI based unit test etc.).

Package

ahungry-fleece

Source

ahungry-fleece.lisp (file)

Function: md5-state-p OBJECT
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: md5regs-digest ()

Create the final 16 byte message-digest from the MD5 working state in regs. Returns a (simple-array (unsigned-byte 8) (16)).

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: md5sum-file PATHNAME

Calculate the MD5 message-digest of the file designated by pathname.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: md5sum-sequence SEQUENCE &key START END

Calculate the MD5 message-digest of data bounded by START and END in SEQUENCE , which must be a vector with element-type (UNSIGNED-BYTE 8).

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: md5sum-stream STREAM

Calculate an MD5 message-digest of the contents of STREAM, whose element-type has to be (UNSIGNED-BYTE 8).

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: md5sum-string STRING &key EXTERNAL-FORMAT START END

Calculate the MD5 message-digest of the binary representation of STRING (as octets) in EXTERNAL-FORMAT. The boundaries START and END refer to character positions in the string, not to octets in the resulting binary representation.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: pathname-to-string PATHNAME

Change PATHNAME into a string. @todo Add test

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: print-usage ()
Package

ahungry-fleece

Source

ahungry-fleece.lisp (file)

Function: ref PATH OBJECT &optional VALUE SPLIT-CHAR

Query a reference to a json or yaml object.

PATH is a path such as #/key/anotherKey/anotherKey/node.

OBJECT is a hash table (optionally made up of nested ones or lists).

VALUE is an optional value to change the node to.

For example, calling on a JSON object like:

{"definitions": {"Pet": {"name": "Fido"}}}

or YML object like:

definitions:
Pet:
name: Fido

as such:

(ref "#/definitions/Pet/name" obj)

Will return the setf’able value "Fido".

Package

af.lib.hashy

Source

af.lib.hashy.lisp (file)

Function: rename-path FROM-PATH TO-PATH FILE-NAME FROM-NAME TO-NAME

Rename a file in a path, as such:

Given a FILE-NAME /one/two/sub/three with a FROM-PATH of /one/two and a TO-PATH of /uno/dos/sub/, with a FROM-NAME three and TO-NAME tres, produce a path of /uno/dos/sub/tres.

@todo Add test

Package

af.lib.clone

Source

af.lib.clone.lisp (file)

Function: report DIRECTORY &key (FORM-MODE *SOURCE-PATH-MODE*) EXTERNAL-FORMAT

Print a code coverage report of all instrumented files into DIRECTORY. If DIRECTORY does not exist, it will be created. The main report will be printed to the file cover-index.html. The external format of the source files can be specified with the EXTERNAL-FORMAT parameter.

If the keyword argument FORM-MODE has the value :CAR, the annotations in the coverage report will be placed on the CARs of any cons-forms, while if it has the value :WHOLE the whole form will be annotated (the default). The former mode shows explicitly which forms were instrumented, while the latter mode is generally easier to read.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: report-cli DIRECTORY

Print a code coverage report of all instrumented files into DIRECTORY. If DIRECTORY does not exist, it will be created. The main report will be printed to the file cover-index.html. The external format of the source files can be specified with the EXTERNAL-FORMAT parameter.

If the keyword argument FORM-MODE has the value :CAR, the annotations in the coverage report will be placed on the CARs of any cons-forms, while if it has the value :WHOLE the whole form will be annotated (the default). The former mode shows explicitly which forms were instrumented, while the latter mode is generally easier to read.

Package

af.lib.coverage

Source

af.lib.coverage.lisp (file)

Function: report-json DIRECTORY

Print a code coverage report of all instrumented files into DIRECTORY. If DIRECTORY does not exist, it will be created. The main report will be printed to the file cover-index.html. The external format of the source files can be specified with the EXTERNAL-FORMAT parameter.

If the keyword argument FORM-MODE has the value :CAR, the annotations in the coverage report will be placed on the CARs of any cons-forms, while if it has the value :WHOLE the whole form will be annotated (the default). The former mode shows explicitly which forms were instrumented, while the latter mode is generally easier to read.

Package

af.lib.coverage

Source

af.lib.coverage.lisp (file)

Function: reset-coverage ()

Reset all coverage data back to the ‘Not executed‘ state.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: restore-coverage COVERAGE-STATE

Restore the code coverage data back to an earlier state produced by SAVE-COVERAGE.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: restore-coverage-from-file PATHNAME

READ the contents of the file designated by PATHNAME and pass the result to RESTORE-COVERAGE.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: rotate-byte COUNT BYTESPEC INTEGER

Rotates a field of bits within INTEGER; specifically, returns an integer that contains the bits of INTEGER rotated COUNT times leftwards within the byte specified by BYTESPEC, and elsewhere contains the bits of INTEGER.

Package

af.contrib.sb-rotate-byte

Source

rotate-byte.lisp (file)

Function: save-coverage ()

Returns an opaque representation of the current code coverage state.
The only operation that may be done on the state is passing it to RESTORE-COVERAGE. The representation is guaranteed to be readably printable. A representation that has been printed and read back will work identically in RESTORE-COVERAGE.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: save-coverage-in-file PATHNAME

Call SAVE-COVERAGE and write the results of that operation into the file designated by PATHNAME.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: stringify SYMBOL

Convert a cl-json symbol back into original representation.

Package

af.lib.hashy

Source

af.lib.hashy.lisp (file)

Function: update-md5-block ()

This is the core part of the MD5 algorithm. It takes a complete 16 word block of input, and updates the working state in A, B, C, and D accordingly.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: update-md5-state ()

Update the given md5-state from sequence, which is either a simple-string or a simple-array with element-type (unsigned-byte 8), bounded by start and end, which must be numeric bounding-indices.

Package

af.contrib.sb-md5

Source

md5.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Generic functions

Generic Function: level OBJECT
Generic Function: (setf level) NEW-VALUE OBJECT
Package

af.lib.loggy

Methods
Method: level (LOGGY loggy)

automatically generated reader method

Source

af.lib.loggy.lisp (file)

Method: (setf level) NEW-VALUE (LOGGY loggy)

automatically generated writer method

Source

af.lib.loggy.lisp (file)

Generic Function: log-> OBJECT LEVEL &rest MESSAGE

Write a log level message.

Package

af.lib.loggy

Source

af.lib.loggy.lisp (file)

Methods
Method: log-> (LOGGER loggy) LEVEL &rest MESSAGE

Produce a log level message.

Sample call:

(log-> *loggy* ’debug "Hello World")

Generic Function: output OBJECT
Generic Function: (setf output) NEW-VALUE OBJECT
Package

af.lib.loggy

Methods
Method: output (LOGGY loggy)

automatically generated reader method

Source

af.lib.loggy.lisp (file)

Method: (setf output) NEW-VALUE (LOGGY loggy)

automatically generated writer method

Source

af.lib.loggy.lisp (file)

Generic Function: output-args OBJECT
Generic Function: (setf output-args) NEW-VALUE OBJECT
Package

af.lib.loggy

Methods
Method: output-args (LOGGY loggy)

automatically generated reader method

Source

af.lib.loggy.lisp (file)

Method: (setf output-args) NEW-VALUE (LOGGY loggy)

automatically generated writer method

Source

af.lib.loggy.lisp (file)

Generic Function: output-stream OBJECT
Generic Function: (setf output-stream) NEW-VALUE OBJECT
Package

af.lib.loggy

Methods
Method: output-stream (LOGGY loggy)

automatically generated reader method

Source

af.lib.loggy.lisp (file)

Method: (setf output-stream) NEW-VALUE (LOGGY loggy)

automatically generated writer method

Source

af.lib.loggy.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Structures

Structure: md5-state ()
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: regs
Type

af.contrib.sb-md5:md5-regs

Initform

(af.contrib.sb-md5:initial-md5-regs)

Readers

md5-state-regs (function)

Writers

(setf md5-state-regs) (function)

Slot: amount
Type

(integer 0 *)

Initform

0

Readers

md5-state-amount (function)

Writers

(setf md5-state-amount) (function)

Slot: block
Type

(simple-array (unsigned-byte 32) (16))

Initform

(make-array 16 :element-type (quote (unsigned-byte 32)))

Readers

md5-state-block (function)

Writers

(setf md5-state-block) (function)

Slot: buffer
Type

(simple-array (unsigned-byte 8) (64))

Initform

(make-array 64 :element-type (quote (unsigned-byte 8)))

Readers

md5-state-buffer (function)

Writers

(setf md5-state-buffer) (function)

Slot: buffer-index
Type

(integer 0 63)

Initform

0

Readers

md5-state-buffer-index (function)

Writers

(setf md5-state-buffer-index) (function)

Slot: finalized-p
Readers

md5-state-finalized-p (function)

Writers

(setf md5-state-finalized-p) (function)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.6 Classes

Class: loggy ()
Package

af.lib.loggy

Source

af.lib.loggy.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: level
Initargs

:level

Initform

(quote debug)

Readers

level (generic function)

Writers

(setf level) (generic function)

Slot: output
Initargs

:output

Initform

(quote format)

Readers

output (generic function)

Writers

(setf output) (generic function)

Slot: output-args
Initargs

:output-args

Initform

(quote ("~a~%"))

Readers

output-args (generic function)

Writers

(setf output-args) (generic function)

Slot: output-stream
Initargs

:output-stream

Initform

t

Readers

output-stream (generic function)

Writers

(setf output-stream) (generic function)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.7 Types

Type: md5-regs ()

The working state of the MD5 algorithm, which contains the 4 32-bit registers A, B, C and D.

Package

af.contrib.sb-md5

Source

md5.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Constants

Constant: +buffer-size+

Size of internal buffer to use for md5sum-stream and md5sum-file operations. This should be a multiple of 64, the MD5 block size.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Constant: +md5-magic-a+

Initial value of Register A of the MD5 working state.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Constant: +md5-magic-b+

Initial value of Register B of the MD5 working state.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Constant: +md5-magic-c+

Initial value of Register C of the MD5 working state.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Constant: +md5-magic-d+

Initial value of Register D of the MD5 working state.

Package

af.contrib.sb-md5

Source

md5.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Special variables

Special Variable: *base-directory*
Package

ahungry-fleece

Source

ahungry-fleece.lisp (file)

Special Variable: *base-directory*
Package

af.run.tests

Source

af.run.tests.lisp (file)

Special Variable: *colors*
Package

af.lib.ansi-colors

Source

af.lib.ansi-colors.lisp (file)

Special Variable: *counts*
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Special Variable: *source-path-mode*
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Special Variable: *t*
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Special Variable: *yml*

The yml file for testing.

Package

af.run.tests

Source

af.run.tests.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Macros

Macro: assemble-ub32 A B C D

Assemble an ub32 value from the given (unsigned-byte 8) values, where a is the intended low-order byte and d the high-order byte.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Macro: md5-regs-a REGS
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Macro: md5-regs-b REGS
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Macro: md5-regs-c REGS
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Macro: md5-regs-d REGS
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Macro: test-wrapper FORMAT-TITLE FORMAT-SUMMARY DESC &rest RESULTS

Describe a suite of tests.

Package

af.lib.testy

Source

af.lib.testy.lisp (file)

Macro: with-md5-round (OP BLOCK) &rest CLAUSES
Package

af.contrib.sb-md5

Source

md5.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Compiler macros

Compiler Macro: mod32+ A B
Package

af.contrib.sb-md5

Source

md5.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.5 Functions

Function: %rotate-byte COUNT SIZE POS INTEGER
Package

af.contrib.sb-rotate-byte

Source

rotate-byte.lisp (file)

Function: %rotate-byte-derive-type-optimizer NODE
Package

af.contrib.sb-rotate-byte

Source

compiler.lisp (file)

Function: %unsigned-32-rotate-byte COUNT INTEGER
Package

af.contrib.sb-rotate-byte

Source

rotate-byte.lisp (file)

Function: %unsigned-64-rotate-byte COUNT INTEGER
Package

af.contrib.sb-rotate-byte

Source

rotate-byte.lisp (file)

Function: check-source-path PATH
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: convert-records RECORDS MODE
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: copy-md5-state INSTANCE
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: copy-to-buffer ()

Copy a partial segment from input vector from starting at from-offset and copying count elements into the 64 byte buffer starting at buffer-offset.

Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: detabify SOURCE
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: directory-structure-helper DIRECTORY

List the directories (recursively).

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: extract-tarball PATHNAME

Extract a tarball (.tar.gz) file to a directory (*default-pathname-defaults*).

TODO: Put in fleece

Package

af.lib.io

Source

af.lib.io.lisp (file)

Function: f ()
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: fill-with-state SOURCE STATES STATE START END
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: g ()
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: get-level LEVEL

Get a numeric level from LEVEL.

Package

af.lib.loggy

Source

af.lib.loggy.lisp (file)

Function: h ()
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: i ()
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: make-recording-read-list SOURCE-MAP
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: make-source-recorder FN SOURCE-MAP

Return a macro character function that does the same as FN, but additionally stores the result together with the stream positions before and after of calling FN in the hashtable SOURCE-MAP.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: make-source-recording-readtable READTABLE SOURCE-MAP

Return a source position recording copy of READTABLE. The source locations are stored in SOURCE-MAP.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: md5-state-amount INSTANCE
Function: (setf md5-state-amount) VALUE INSTANCE
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: md5-state-block INSTANCE
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: md5-state-buffer INSTANCE
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: md5-state-buffer-index INSTANCE
Function: (setf md5-state-buffer-index) VALUE INSTANCE
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: md5-state-finalized-p INSTANCE
Function: (setf md5-state-finalized-p) VALUE INSTANCE
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: md5-state-regs INSTANCE
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: mod32+ ()
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: pathname-as-directory PATHNAME &optional ERRORP
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: percent COUNT
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: print-report HTML-STREAM FILE COUNTS STATES SOURCE
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: read-and-record-source-map STREAM

Read the next object from STREAM.
Return the object together with a hashtable that maps subexpressions of the object to stream positions.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: read-file FILENAME EXTERNAL-FORMAT

Return the entire contents of FILENAME as a string.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: read-source-form N STREAM

Read the Nth toplevel form number with source location recording. Return the form and the source-map.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: report-file FILE HTML-STREAM EXTERNAL-FORMAT

Print a code coverage report of FILE into the stream HTML-STREAM.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: rol32 ()
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Function: source-path-file-position PATH FILENAME
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: source-path-source-position PATH FORM SOURCE-MAP

Return the start position of PATH from FORM and SOURCE-MAP. All subforms along the path are considered and the start and end position of the deepest (i.e. smallest) possible form is returned.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: source-path-stream-position PATH STREAM

Search the source-path PATH in STREAM and return its position.

Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: source-path-string-position PATH STRING
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: suppress-sharp-dot READTABLE
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Function: test ()

Begin the tests!

Package

af.run.tests

Source

af.run.tests.lisp (file)

Function: write-styles HTML-STREAM
Package

af.contrib.sb-cover

Source

cover.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.6 Generic functions

Generic Function: all-of OBJECT
Generic Function: (setf all-of) NEW-VALUE OBJECT
Package

af.contrib.sb-cover

Methods
Method: all-of (SAMPLE-COUNT sample-count)

automatically generated reader method

Source

cover.lisp (file)

Method: (setf all-of) NEW-VALUE (SAMPLE-COUNT sample-count)

automatically generated writer method

Source

cover.lisp (file)

Generic Function: mode-of OBJECT
Generic Function: (setf mode-of) NEW-VALUE OBJECT
Package

af.contrib.sb-cover

Methods
Method: mode-of (SAMPLE-COUNT sample-count)

automatically generated reader method

Source

cover.lisp (file)

Method: (setf mode-of) NEW-VALUE (SAMPLE-COUNT sample-count)

automatically generated writer method

Source

cover.lisp (file)

Generic Function: ok-of OBJECT
Generic Function: (setf ok-of) NEW-VALUE OBJECT
Package

af.contrib.sb-cover

Methods
Method: ok-of (SAMPLE-COUNT sample-count)

automatically generated reader method

Source

cover.lisp (file)

Method: (setf ok-of) NEW-VALUE (SAMPLE-COUNT sample-count)

automatically generated writer method

Source

cover.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.7 Classes

Class: sample-count ()
Package

af.contrib.sb-cover

Source

cover.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • ok-of (method)
  • ok-of (method)
  • all-of (method)
  • all-of (method)
  • mode-of (method)
  • mode-of (method)
Direct slots
Slot: mode
Initargs

:mode

Readers

mode-of (generic function)

Writers

(setf mode-of) (generic function)

Slot: all
Initform

0

Readers

all-of (generic function)

Writers

(setf all-of) (generic function)

Slot: ok
Initform

0

Readers

ok-of (generic function)

Writers

(setf ok-of) (generic function)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.8 Types

Type: buffer-index ()
Package

af.contrib.sb-md5

Source

md5.lisp (file)

Type: ub32 ()

Corresponds to the 32bit quantity word of the MD5 Spec

Package

af.contrib.sb-md5

Source

md5.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   A   F   L   M  
Index Entry  Section

A
ahungry-fleece.asd: The ahungry-fleece<dot>asd file
ahungry-fleece/af.contrib.compiler: The ahungry-fleece/af<dot>contrib<dot>compiler module
ahungry-fleece/af.contrib.compiler/compiler.lisp: The ahungry-fleece/af<dot>contrib<dot>compiler/compiler<dot>lisp file
ahungry-fleece/af.contrib.compiler/package.lisp: The ahungry-fleece/af<dot>contrib<dot>compiler/package<dot>lisp file
ahungry-fleece/af.contrib.sb-cover: The ahungry-fleece/af<dot>contrib<dot>sb-cover module
ahungry-fleece/af.contrib.sb-cover/cover.lisp: The ahungry-fleece/af<dot>contrib<dot>sb-cover/cover<dot>lisp file
ahungry-fleece/af.contrib.sb-md5: The ahungry-fleece/af<dot>contrib<dot>sb-md5 module
ahungry-fleece/af.contrib.sb-md5/md5.lisp: The ahungry-fleece/af<dot>contrib<dot>sb-md5/md5<dot>lisp file
ahungry-fleece/af.contrib.sb-rotate-byte: The ahungry-fleece/af<dot>contrib<dot>sb-rotate-byte module
ahungry-fleece/af.contrib.sb-rotate-byte/rotate-byte.lisp: The ahungry-fleece/af<dot>contrib<dot>sb-rotate-byte/rotate-byte<dot>lisp file
ahungry-fleece/af.contrib.vm: The ahungry-fleece/af<dot>contrib<dot>vm module
ahungry-fleece/af.contrib.vm/arm-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/arm-vm<dot>lisp file
ahungry-fleece/af.contrib.vm/arm64-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/arm64-vm<dot>lisp file
ahungry-fleece/af.contrib.vm/ppc-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/ppc-vm<dot>lisp file
ahungry-fleece/af.contrib.vm/x86-64-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/x86-64-vm<dot>lisp file
ahungry-fleece/af.contrib.vm/x86-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/x86-vm<dot>lisp file
ahungry-fleece/ahungry-fleece: The ahungry-fleece/ahungry-fleece module
ahungry-fleece/ahungry-fleece/ahungry-fleece.lisp: The ahungry-fleece/ahungry-fleece/ahungry-fleece<dot>lisp file
ahungry-fleece/libs: The ahungry-fleece/libs module
ahungry-fleece/libs/af.lib.ansi-colors.lisp: The ahungry-fleece/libs/af<dot>lib<dot>ansi-colors<dot>lisp file
ahungry-fleece/libs/af.lib.clone.lisp: The ahungry-fleece/libs/af<dot>lib<dot>clone<dot>lisp file
ahungry-fleece/libs/af.lib.coverage.lisp: The ahungry-fleece/libs/af<dot>lib<dot>coverage<dot>lisp file
ahungry-fleece/libs/af.lib.hashy.lisp: The ahungry-fleece/libs/af<dot>lib<dot>hashy<dot>lisp file
ahungry-fleece/libs/af.lib.io.lisp: The ahungry-fleece/libs/af<dot>lib<dot>io<dot>lisp file
ahungry-fleece/libs/af.lib.loggy.lisp: The ahungry-fleece/libs/af<dot>lib<dot>loggy<dot>lisp file
ahungry-fleece/libs/af.lib.testy.lisp: The ahungry-fleece/libs/af<dot>lib<dot>testy<dot>lisp file
ahungry-fleece/t: The ahungry-fleece/t module
ahungry-fleece/t/af.run.tests.lisp: The ahungry-fleece/t/af<dot>run<dot>tests<dot>lisp file

F
File, Lisp, ahungry-fleece.asd: The ahungry-fleece<dot>asd file
File, Lisp, ahungry-fleece/af.contrib.compiler/compiler.lisp: The ahungry-fleece/af<dot>contrib<dot>compiler/compiler<dot>lisp file
File, Lisp, ahungry-fleece/af.contrib.compiler/package.lisp: The ahungry-fleece/af<dot>contrib<dot>compiler/package<dot>lisp file
File, Lisp, ahungry-fleece/af.contrib.sb-cover/cover.lisp: The ahungry-fleece/af<dot>contrib<dot>sb-cover/cover<dot>lisp file
File, Lisp, ahungry-fleece/af.contrib.sb-md5/md5.lisp: The ahungry-fleece/af<dot>contrib<dot>sb-md5/md5<dot>lisp file
File, Lisp, ahungry-fleece/af.contrib.sb-rotate-byte/rotate-byte.lisp: The ahungry-fleece/af<dot>contrib<dot>sb-rotate-byte/rotate-byte<dot>lisp file
File, Lisp, ahungry-fleece/af.contrib.vm/arm-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/arm-vm<dot>lisp file
File, Lisp, ahungry-fleece/af.contrib.vm/arm64-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/arm64-vm<dot>lisp file
File, Lisp, ahungry-fleece/af.contrib.vm/ppc-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/ppc-vm<dot>lisp file
File, Lisp, ahungry-fleece/af.contrib.vm/x86-64-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/x86-64-vm<dot>lisp file
File, Lisp, ahungry-fleece/af.contrib.vm/x86-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/x86-vm<dot>lisp file
File, Lisp, ahungry-fleece/ahungry-fleece/ahungry-fleece.lisp: The ahungry-fleece/ahungry-fleece/ahungry-fleece<dot>lisp file
File, Lisp, ahungry-fleece/libs/af.lib.ansi-colors.lisp: The ahungry-fleece/libs/af<dot>lib<dot>ansi-colors<dot>lisp file
File, Lisp, ahungry-fleece/libs/af.lib.clone.lisp: The ahungry-fleece/libs/af<dot>lib<dot>clone<dot>lisp file
File, Lisp, ahungry-fleece/libs/af.lib.coverage.lisp: The ahungry-fleece/libs/af<dot>lib<dot>coverage<dot>lisp file
File, Lisp, ahungry-fleece/libs/af.lib.hashy.lisp: The ahungry-fleece/libs/af<dot>lib<dot>hashy<dot>lisp file
File, Lisp, ahungry-fleece/libs/af.lib.io.lisp: The ahungry-fleece/libs/af<dot>lib<dot>io<dot>lisp file
File, Lisp, ahungry-fleece/libs/af.lib.loggy.lisp: The ahungry-fleece/libs/af<dot>lib<dot>loggy<dot>lisp file
File, Lisp, ahungry-fleece/libs/af.lib.testy.lisp: The ahungry-fleece/libs/af<dot>lib<dot>testy<dot>lisp file
File, Lisp, ahungry-fleece/t/af.run.tests.lisp: The ahungry-fleece/t/af<dot>run<dot>tests<dot>lisp file

L
Lisp File, ahungry-fleece.asd: The ahungry-fleece<dot>asd file
Lisp File, ahungry-fleece/af.contrib.compiler/compiler.lisp: The ahungry-fleece/af<dot>contrib<dot>compiler/compiler<dot>lisp file
Lisp File, ahungry-fleece/af.contrib.compiler/package.lisp: The ahungry-fleece/af<dot>contrib<dot>compiler/package<dot>lisp file
Lisp File, ahungry-fleece/af.contrib.sb-cover/cover.lisp: The ahungry-fleece/af<dot>contrib<dot>sb-cover/cover<dot>lisp file
Lisp File, ahungry-fleece/af.contrib.sb-md5/md5.lisp: The ahungry-fleece/af<dot>contrib<dot>sb-md5/md5<dot>lisp file
Lisp File, ahungry-fleece/af.contrib.sb-rotate-byte/rotate-byte.lisp: The ahungry-fleece/af<dot>contrib<dot>sb-rotate-byte/rotate-byte<dot>lisp file
Lisp File, ahungry-fleece/af.contrib.vm/arm-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/arm-vm<dot>lisp file
Lisp File, ahungry-fleece/af.contrib.vm/arm64-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/arm64-vm<dot>lisp file
Lisp File, ahungry-fleece/af.contrib.vm/ppc-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/ppc-vm<dot>lisp file
Lisp File, ahungry-fleece/af.contrib.vm/x86-64-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/x86-64-vm<dot>lisp file
Lisp File, ahungry-fleece/af.contrib.vm/x86-vm.lisp: The ahungry-fleece/af<dot>contrib<dot>vm/x86-vm<dot>lisp file
Lisp File, ahungry-fleece/ahungry-fleece/ahungry-fleece.lisp: The ahungry-fleece/ahungry-fleece/ahungry-fleece<dot>lisp file
Lisp File, ahungry-fleece/libs/af.lib.ansi-colors.lisp: The ahungry-fleece/libs/af<dot>lib<dot>ansi-colors<dot>lisp file
Lisp File, ahungry-fleece/libs/af.lib.clone.lisp: The ahungry-fleece/libs/af<dot>lib<dot>clone<dot>lisp file
Lisp File, ahungry-fleece/libs/af.lib.coverage.lisp: The ahungry-fleece/libs/af<dot>lib<dot>coverage<dot>lisp file
Lisp File, ahungry-fleece/libs/af.lib.hashy.lisp: The ahungry-fleece/libs/af<dot>lib<dot>hashy<dot>lisp file
Lisp File, ahungry-fleece/libs/af.lib.io.lisp: The ahungry-fleece/libs/af<dot>lib<dot>io<dot>lisp file
Lisp File, ahungry-fleece/libs/af.lib.loggy.lisp: The ahungry-fleece/libs/af<dot>lib<dot>loggy<dot>lisp file
Lisp File, ahungry-fleece/libs/af.lib.testy.lisp: The ahungry-fleece/libs/af<dot>lib<dot>testy<dot>lisp file
Lisp File, ahungry-fleece/t/af.run.tests.lisp: The ahungry-fleece/t/af<dot>run<dot>tests<dot>lisp file

M
Module, ahungry-fleece/af.contrib.compiler: The ahungry-fleece/af<dot>contrib<dot>compiler module
Module, ahungry-fleece/af.contrib.sb-cover: The ahungry-fleece/af<dot>contrib<dot>sb-cover module
Module, ahungry-fleece/af.contrib.sb-md5: The ahungry-fleece/af<dot>contrib<dot>sb-md5 module
Module, ahungry-fleece/af.contrib.sb-rotate-byte: The ahungry-fleece/af<dot>contrib<dot>sb-rotate-byte module
Module, ahungry-fleece/af.contrib.vm: The ahungry-fleece/af<dot>contrib<dot>vm module
Module, ahungry-fleece/ahungry-fleece: The ahungry-fleece/ahungry-fleece module
Module, ahungry-fleece/libs: The ahungry-fleece/libs module
Module, ahungry-fleece/t: The ahungry-fleece/t module

Jump to:   A   F   L   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
A   C   D   E   F   G   H   I   L   M   O   P   R   S   T   U   W  
Index Entry  Section

%
%rotate-byte: Internal functions
%rotate-byte-derive-type-optimizer: Internal functions
%unsigned-32-rotate-byte: Internal functions
%unsigned-64-rotate-byte: Internal functions

(
(setf all-of): Internal generic functions
(setf all-of): Internal generic functions
(setf level): Exported generic functions
(setf level): Exported generic functions
(setf md5-state-amount): Internal functions
(setf md5-state-buffer-index): Internal functions
(setf md5-state-finalized-p): Internal functions
(setf mode-of): Internal generic functions
(setf mode-of): Internal generic functions
(setf ok-of): Internal generic functions
(setf ok-of): Internal generic functions
(setf output): Exported generic functions
(setf output): Exported generic functions
(setf output-args): Exported generic functions
(setf output-args): Exported generic functions
(setf output-stream): Exported generic functions
(setf output-stream): Exported generic functions

A
alist-to-hash: Exported functions
all-of: Internal generic functions
all-of: Internal generic functions
assemble-ub32: Internal macros

C
check-source-path: Internal functions
clear-coverage: Exported functions
clone-project: Exported functions
colorize: Exported functions
Compiler Macro, mod32+: Internal compiler macros
convert-records: Internal functions
copy-md5-state: Internal functions
copy-to-buffer: Internal functions
coverage: Exported functions

D
desc: Exported macros
detabify: Internal functions
directory-p: Exported functions
directory-structure: Exported functions
directory-structure-helper: Internal functions
directory-tree: Exported functions
dotp: Exported functions
dump: Exported functions

E
extract-tarball: Internal functions

F
f: Internal functions
file-get-binary-contents: Exported functions
file-get-contents: Exported functions
file-p: Exported functions
file-put-binary-contents: Exported functions
file-put-contents: Exported functions
file-replace-strings: Exported functions
fill-block: Exported functions
fill-block-char: Exported functions
fill-block-ub8: Exported functions
fill-with-state: Internal functions
finalize-md5-state: Exported functions
find-file: Exported functions
find-file-matches: Exported functions
flog: Exported functions
Function, %rotate-byte: Internal functions
Function, %rotate-byte-derive-type-optimizer: Internal functions
Function, %unsigned-32-rotate-byte: Internal functions
Function, %unsigned-64-rotate-byte: Internal functions
Function, (setf md5-state-amount): Internal functions
Function, (setf md5-state-buffer-index): Internal functions
Function, (setf md5-state-finalized-p): Internal functions
Function, alist-to-hash: Exported functions
Function, check-source-path: Internal functions
Function, clear-coverage: Exported functions
Function, clone-project: Exported functions
Function, colorize: Exported functions
Function, convert-records: Internal functions
Function, copy-md5-state: Internal functions
Function, copy-to-buffer: Internal functions
Function, coverage: Exported functions
Function, detabify: Internal functions
Function, directory-p: Exported functions
Function, directory-structure: Exported functions
Function, directory-structure-helper: Internal functions
Function, directory-tree: Exported functions
Function, dotp: Exported functions
Function, dump: Exported functions
Function, extract-tarball: Internal functions
Function, f: Internal functions
Function, file-get-binary-contents: Exported functions
Function, file-get-contents: Exported functions
Function, file-p: Exported functions
Function, file-put-binary-contents: Exported functions
Function, file-put-contents: Exported functions
Function, file-replace-strings: Exported functions
Function, fill-block: Exported functions
Function, fill-block-char: Exported functions
Function, fill-block-ub8: Exported functions
Function, fill-with-state: Internal functions
Function, finalize-md5-state: Exported functions
Function, find-file: Exported functions
Function, find-file-matches: Exported functions
Function, flog: Exported functions
Function, g: Internal functions
Function, get-level: Internal functions
Function, h: Internal functions
Function, hash-from-json-file: Exported functions
Function, hash-from-json-string: Exported functions
Function, hash-from-yaml-file: Exported functions
Function, hash-from-yaml-string: Exported functions
Function, i: Internal functions
Function, initial-md5-regs: Exported functions
Function, it: Exported functions
Function, main: Exported functions
Function, main: Exported functions
Function, make-md5-state: Exported functions
Function, make-recording-read-list: Internal functions
Function, make-skelly-project: Exported functions
Function, make-source-recorder: Internal functions
Function, make-source-recording-readtable: Internal functions
Function, md5-state-amount: Internal functions
Function, md5-state-block: Internal functions
Function, md5-state-buffer: Internal functions
Function, md5-state-buffer-index: Internal functions
Function, md5-state-finalized-p: Internal functions
Function, md5-state-p: Exported functions
Function, md5-state-regs: Internal functions
Function, md5regs-digest: Exported functions
Function, md5sum-file: Exported functions
Function, md5sum-sequence: Exported functions
Function, md5sum-stream: Exported functions
Function, md5sum-string: Exported functions
Function, mod32+: Internal functions
Function, pathname-as-directory: Internal functions
Function, pathname-to-string: Exported functions
Function, percent: Internal functions
Function, print-report: Internal functions
Function, print-usage: Exported functions
Function, read-and-record-source-map: Internal functions
Function, read-file: Internal functions
Function, read-source-form: Internal functions
Function, ref: Exported functions
Function, rename-path: Exported functions
Function, report: Exported functions
Function, report-cli: Exported functions
Function, report-file: Internal functions
Function, report-json: Exported functions
Function, reset-coverage: Exported functions
Function, restore-coverage: Exported functions
Function, restore-coverage-from-file: Exported functions
Function, rol32: Internal functions
Function, rotate-byte: Exported functions
Function, save-coverage: Exported functions
Function, save-coverage-in-file: Exported functions
Function, source-path-file-position: Internal functions
Function, source-path-source-position: Internal functions
Function, source-path-stream-position: Internal functions
Function, source-path-string-position: Internal functions
Function, stringify: Exported functions
Function, suppress-sharp-dot: Internal functions
Function, test: Internal functions
Function, update-md5-block: Exported functions
Function, update-md5-state: Exported functions
Function, write-styles: Internal functions

G
g: Internal functions
Generic Function, (setf all-of): Internal generic functions
Generic Function, (setf level): Exported generic functions
Generic Function, (setf mode-of): Internal generic functions
Generic Function, (setf ok-of): Internal generic functions
Generic Function, (setf output): Exported generic functions
Generic Function, (setf output-args): Exported generic functions
Generic Function, (setf output-stream): Exported generic functions
Generic Function, all-of: Internal generic functions
Generic Function, level: Exported generic functions
Generic Function, log->: Exported generic functions
Generic Function, mode-of: Internal generic functions
Generic Function, ok-of: Internal generic functions
Generic Function, output: Exported generic functions
Generic Function, output-args: Exported generic functions
Generic Function, output-stream: Exported generic functions
get-level: Internal functions

H
h: Internal functions
hash-from-json-file: Exported functions
hash-from-json-string: Exported functions
hash-from-yaml-file: Exported functions
hash-from-yaml-string: Exported functions

I
i: Internal functions
initial-md5-regs: Exported functions
it: Exported functions

L
level: Exported generic functions
level: Exported generic functions
log->: Exported generic functions
log->: Exported generic functions

M
Macro, assemble-ub32: Internal macros
Macro, desc: Exported macros
Macro, md5-regs-a: Internal macros
Macro, md5-regs-b: Internal macros
Macro, md5-regs-c: Internal macros
Macro, md5-regs-d: Internal macros
Macro, suite: Exported macros
Macro, test-wrapper: Internal macros
Macro, with-color: Exported macros
Macro, with-coverage: Exported macros
Macro, with-hashy: Exported macros
Macro, with-md5-round: Internal macros
main: Exported functions
main: Exported functions
make-md5-state: Exported functions
make-recording-read-list: Internal functions
make-skelly-project: Exported functions
make-source-recorder: Internal functions
make-source-recording-readtable: Internal functions
md5-regs-a: Internal macros
md5-regs-b: Internal macros
md5-regs-c: Internal macros
md5-regs-d: Internal macros
md5-state-amount: Internal functions
md5-state-block: Internal functions
md5-state-buffer: Internal functions
md5-state-buffer-index: Internal functions
md5-state-finalized-p: Internal functions
md5-state-p: Exported functions
md5-state-regs: Internal functions
md5regs-digest: Exported functions
md5sum-file: Exported functions
md5sum-sequence: Exported functions
md5sum-stream: Exported functions
md5sum-string: Exported functions
Method, (setf all-of): Internal generic functions
Method, (setf level): Exported generic functions
Method, (setf mode-of): Internal generic functions
Method, (setf ok-of): Internal generic functions
Method, (setf output): Exported generic functions
Method, (setf output-args): Exported generic functions
Method, (setf output-stream): Exported generic functions
Method, all-of: Internal generic functions
Method, level: Exported generic functions
Method, log->: Exported generic functions
Method, mode-of: Internal generic functions
Method, ok-of: Internal generic functions
Method, output: Exported generic functions
Method, output-args: Exported generic functions
Method, output-stream: Exported generic functions
mod32+: Internal compiler macros
mod32+: Internal functions
mode-of: Internal generic functions
mode-of: Internal generic functions

O
ok-of: Internal generic functions
ok-of: Internal generic functions
output: Exported generic functions
output: Exported generic functions
output-args: Exported generic functions
output-args: Exported generic functions
output-stream: Exported generic functions
output-stream: Exported generic functions

P
pathname-as-directory: Internal functions
pathname-to-string: Exported functions
percent: Internal functions
print-report: Internal functions
print-usage: Exported functions

R
read-and-record-source-map: Internal functions
read-file: Internal functions
read-source-form: Internal functions
ref: Exported functions
rename-path: Exported functions
report: Exported functions
report-cli: Exported functions
report-file: Internal functions
report-json: Exported functions
reset-coverage: Exported functions
restore-coverage: Exported functions
restore-coverage-from-file: Exported functions
rol32: Internal functions
rotate-byte: Exported functions

S
save-coverage: Exported functions
save-coverage-in-file: Exported functions
source-path-file-position: Internal functions
source-path-source-position: Internal functions
source-path-stream-position: Internal functions
source-path-string-position: Internal functions
stringify: Exported functions
suite: Exported macros
suppress-sharp-dot: Internal functions

T
test: Internal functions
test-wrapper: Internal macros

U
update-md5-block: Exported functions
update-md5-state: Exported functions

W
with-color: Exported macros
with-coverage: Exported macros
with-hashy: Exported macros
with-md5-round: Internal macros
write-styles: Internal functions

Jump to:   %   (  
A   C   D   E   F   G   H   I   L   M   O   P   R   S   T   U   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
A   B   C   F   L   M   O   R   S  
Index Entry  Section

*
*base-directory*: Internal special variables
*base-directory*: Internal special variables
*colorize-p*: Exported special variables
*colors*: Internal special variables
*counts*: Internal special variables
*loggy*: Exported special variables
*source-path-mode*: Internal special variables
*t*: Internal special variables
*yml*: Internal special variables

+
+buffer-size+: Internal constants
+md5-magic-a+: Internal constants
+md5-magic-b+: Internal constants
+md5-magic-c+: Internal constants
+md5-magic-d+: Internal constants

A
all: Internal classes
amount: Exported structures

B
block: Exported structures
buffer: Exported structures
buffer-index: Exported structures

C
Constant, +buffer-size+: Internal constants
Constant, +md5-magic-a+: Internal constants
Constant, +md5-magic-b+: Internal constants
Constant, +md5-magic-c+: Internal constants
Constant, +md5-magic-d+: Internal constants

F
finalized-p: Exported structures

L
level: Exported classes

M
mode: Internal classes

O
ok: Internal classes
output: Exported classes
output-args: Exported classes
output-stream: Exported classes

R
regs: Exported structures

S
Slot, all: Internal classes
Slot, amount: Exported structures
Slot, block: Exported structures
Slot, buffer: Exported structures
Slot, buffer-index: Exported structures
Slot, finalized-p: Exported structures
Slot, level: Exported classes
Slot, mode: Internal classes
Slot, ok: Internal classes
Slot, output: Exported classes
Slot, output-args: Exported classes
Slot, output-stream: Exported classes
Slot, regs: Exported structures
Special Variable, *base-directory*: Internal special variables
Special Variable, *base-directory*: Internal special variables
Special Variable, *colorize-p*: Exported special variables
Special Variable, *colors*: Internal special variables
Special Variable, *counts*: Internal special variables
Special Variable, *loggy*: Exported special variables
Special Variable, *source-path-mode*: Internal special variables
Special Variable, *t*: Internal special variables
Special Variable, *yml*: Internal special variables

Jump to:   *   +  
A   B   C   F   L   M   O   R   S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   A   B   C   L   M   P   S   T   U  
Index Entry  Section

A
af.contrib.sb-cover: The af<dot>contrib<dot>sb-cover package
af.contrib.sb-md5: The af<dot>contrib<dot>sb-md5 package
af.contrib.sb-rotate-byte: The af<dot>contrib<dot>sb-rotate-byte package
af.lib.ansi-colors: The af<dot>lib<dot>ansi-colors package
af.lib.clone: The af<dot>lib<dot>clone package
af.lib.coverage: The af<dot>lib<dot>coverage package
af.lib.hashy: The af<dot>lib<dot>hashy package
af.lib.io: The af<dot>lib<dot>io package
af.lib.loggy: The af<dot>lib<dot>loggy package
af.lib.testy: The af<dot>lib<dot>testy package
af.run.tests: The af<dot>run<dot>tests package
ahungry-fleece: The ahungry-fleece system
ahungry-fleece: The ahungry-fleece package
ahungry-fleece-asd: The ahungry-fleece-asd package

B
buffer-index: Internal types

C
Class, loggy: Exported classes
Class, sample-count: Internal classes

L
loggy: Exported classes

M
md5-regs: Exported types
md5-state: Exported structures

P
Package, af.contrib.sb-cover: The af<dot>contrib<dot>sb-cover package
Package, af.contrib.sb-md5: The af<dot>contrib<dot>sb-md5 package
Package, af.contrib.sb-rotate-byte: The af<dot>contrib<dot>sb-rotate-byte package
Package, af.lib.ansi-colors: The af<dot>lib<dot>ansi-colors package
Package, af.lib.clone: The af<dot>lib<dot>clone package
Package, af.lib.coverage: The af<dot>lib<dot>coverage package
Package, af.lib.hashy: The af<dot>lib<dot>hashy package
Package, af.lib.io: The af<dot>lib<dot>io package
Package, af.lib.loggy: The af<dot>lib<dot>loggy package
Package, af.lib.testy: The af<dot>lib<dot>testy package
Package, af.run.tests: The af<dot>run<dot>tests package
Package, ahungry-fleece: The ahungry-fleece package
Package, ahungry-fleece-asd: The ahungry-fleece-asd package

S
sample-count: Internal classes
Structure, md5-state: Exported structures
System, ahungry-fleece: The ahungry-fleece system

T
Type, buffer-index: Internal types
Type, md5-regs: Exported types
Type, ub32: Internal types

U
ub32: Internal types

Jump to:   A   B   C   L   M   P   S   T   U