The cl-html-diff Reference Manual

This is the cl-html-diff Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:01:24 2024 GMT+0.

Table of Contents


1 Systems

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


1.1 cl-html-diff

Maintainer

John Wiseman <>

Author

John Wiseman <>

License

MIT

Version

0.1

Dependency

cl-difflib (system).

Source

cl-html-diff.asd.

Child Components

2 Files

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


2.1 Lisp


2.1.1 cl-html-diff/cl-html-diff.asd

Source

cl-html-diff.asd.

Parent Component

cl-html-diff (system).

ASDF Systems

cl-html-diff.


2.1.2 cl-html-diff/html-diff.lisp

Source

cl-html-diff.asd.

Parent Component

cl-html-diff (system).

Packages

html-diff.

Public Interface
Internals

2.2 Static


2.2.1 cl-html-diff/LICENSE.txt

Source

cl-html-diff.asd.

Parent Component

cl-html-diff (system).


3 Packages

Packages are listed by definition order.


3.1 html-diff

Source

html-diff.lisp.

Use List
  • common-lisp.
  • difflib.
Public Interface
Internals

4 Definitions

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


4.1 Public Interface


4.1.1 Ordinary functions

Function: html-diff (a b &key insert-class delete-class replace-class)
Package

html-diff.

Source

html-diff.lisp.

Function: html-diff-to-stream (stream a b &key insert-class delete-class replace-class)

Takes two strings containing HTML and returns a human-readable HTML diff. Uses <ins>, <del> and some css classes.

Package

html-diff.

Source

html-diff.lisp.


4.2 Internals


4.2.1 Ordinary functions

Function: html-diff-2-col (a b &key insert-class delete-class replace-class)
Package

html-diff.

Source

html-diff.lisp.

Function: html-get-opcodes (a b)
Package

html-diff.

Source

html-diff.lisp.

Function: join (seq)

Concatenates HTML tokens back into a single string.

Package

html-diff.

Source

html-diff.lisp.

Function: join-to-stream (stream seq)

Concatenates HTML tokens back into a single string.

Package

html-diff.

Source

html-diff.lisp.

Function: tag-p (x)

Returns true if a string has the format of an HTML/XML open tag (<p>, <applet>, <woo>, etc.)

Package

html-diff.

Source

html-diff.lisp.

Function: tokenize-html (x)
Package

html-diff.

Source

html-diff.lisp.

Function: whitespace-p (char)
Package

html-diff.

Source

html-diff.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables