docs/03-reference.markdown @ ca108d2f3b79

Clean up test running to expunge Roswell
author Steve Losh <steve@stevelosh.com>
date Thu, 02 Nov 2017 22:32:50 -0400
parents 3d06e5b432c9
children 53d4a4db967f
# API Reference

The following is a list of all user-facing parts of Chancery.

If there are backwards-incompatible changes to anything listed here, they will
be noted in the changelog and the author will feel bad.

Anything not listed here is subject to change at any time with no warning, so
don't touch it.

[TOC]

## Package `CHANCERY`

### `A` (function)

    (A STRING)

Add an indefinite article (a or an) to the front of `string`.

### `CAP` (function)

    (CAP STRING)

Capitalize the first character of `string`.

### `CAP-ALL` (function)

    (CAP-ALL STRING)

Capitalize each word of `string`.

### `DEFINE-RULE` (macro)

    (DEFINE-RULE NAME-AND-OPTIONS &REST EXPRESSIONS)

### `DEFINE-STRING` (macro)

    (DEFINE-STRING NAME-AND-OPTIONS &REST EXPRESSIONS)

### `GEN` (macro)

    (GEN EXPRESSION)

Generate a single Chancery expression.

### `GEN-STRING` (macro)

    (GEN-STRING EXPRESSION)

Generate a single Chancery string expression.

### `POS` (function)

    (POS STRING)

Make `string` posessive by adding an apostrophe (and possibly an s).

### `S` (function)

    (S STRING)

Pluralize `string`.