Common Lisp Package: HTML-MATCH

README:

FUNCTION

Public

Undocumented

HTML-MATCH (PATTERN TREE &OPTIONAL (BINDINGS NO-BINDINGS))

HTML-PATMATCH (INPUT &REST HTML-PATTERNS)

HTML-REPLACE (INPUT &REST HTML-PATTERNS)

Private

BINDING-VAL (BINDING)

Get the value part of a single biding.

BINDING-VAR (BINDING)

Get the variable part of a single biding.

EXTEND-BINDINGS (VAR VAL BINDINGS)

Add a (var . value) pair to a binding list.

GET-BINDING (VAR BINDINGS)

Find a (Variable . value) pair in a binding list.

LOOKUP (VAR BINDINGS)

Get the value part (for var) from a binding list.

MATCH-VARIABLE (VAR INPUT BINDINGS)

Does VAR match input? Uses (or updates) and returns bindings.

VARIABLE-P (X)

Is x a variable (a symbol beginning with '?')?

Undocumented

HTML-MATCH-SEGMENT (PATTERNS TREES BINDINGS)

HTML-NODE-MATCH (PAT NODE BINDINGS)

IGNORE-P (PATTERN)

MAKE-BINDING (VAR VAL)

MATCH-REGEX-PATTERN (PATTERN INPUT BINDINGS)

MULTIPLE-PATTERN-P (PATTERN)

OR-PATTERN-P (PATTERN)

PATTERN-CALLBACK-WALKER (TREE BINDING-VAR PATTERN-VARS)

PATTERN-VARS (PATTERN)

REGEX-PATTERN-P (PATTERN)

REGEX-PATTERN-REGEX (PATTERN)

REGEX-PATTERN-VARIABLES (PATTERN)

SEGMENT-PATTERN-P (PATTERN)

MACRO

Public

Undocumented

HTML-PATTERN (PATTERN &REST BODY)

VARIABLE

Public

NO-BINDINGS

Indicates pat-match success, with no variables

Private

Undocumented

*HTML-PARENT*

CONSTANT

Public

FAIL

Indicates pat-match failure