This is the colorize Reference Manual, version 0.9, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 04:50:18 2024 GMT+0.
colorize/colorize.asd
colorize/colorize-package.lisp
colorize/coloring-css.lisp
colorize/colorize.lisp
colorize/abbrev.lisp
colorize/clhs-lookup.lisp
colorize/r5rs-lookup.lisp
colorize/elisp-lookup.lisp
colorize/coloring-types.lisp
colorize/coloring-support.lisp
The main system appears first, followed by any subsystem dependency.
colorize
A Syntax highlighting library
Brit Butler <redline6561@gmail.com>
Brian Mastenbrook
MIT
0.9
html-encode
(system).
split-sequence
(system).
alexandria
(system).
colorize-package.lisp
(file).
coloring-css.lisp
(file).
colorize.lisp
(file).
abbrev.lisp
(file).
clhs-lookup.lisp
(file).
r5rs-lookup.lisp
(file).
elisp-lookup.lisp
(file).
coloring-types.lisp
(file).
coloring-support.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
colorize/colorize.asd
colorize/colorize-package.lisp
colorize/coloring-css.lisp
colorize/colorize.lisp
colorize/abbrev.lisp
colorize/clhs-lookup.lisp
colorize/r5rs-lookup.lisp
colorize/elisp-lookup.lisp
colorize/coloring-types.lisp
colorize/coloring-support.lisp
colorize/coloring-css.lisp
colorize-package.lisp
(file).
colorize
(system).
*coloring-css*
(special variable).
*css-background-class*
(special variable).
make-background-css
(function).
for-css
(function).
colorize/colorize.lisp
colorize-package.lisp
(file).
coloring-css.lisp
(file).
colorize
(system).
autodetect-coloring-type
(function).
coloring-types
(function).
colorize-file
(function).
colorize-file-to-stream
(function).
find-coloring-type
(function).
(setf find-coloring-type)
(function).
format-scan
(function).
html-colorization
(function).
scan-string
(function).
*coloring-types*
(special variable).
*formatter-local-variables*
(special variable).
*reset-position*
(special variable).
*scan-calls*
(special variable).
coloring-type
(class).
coloring-type-autodetect-function
(reader method).
(setf coloring-type-autodetect-function)
(writer method).
coloring-type-default-mode
(reader method).
(setf coloring-type-default-mode)
(writer method).
coloring-type-fancy-name
(reader method).
(setf coloring-type-fancy-name)
(writer method).
coloring-type-formatter-after-hook
(reader method).
(setf coloring-type-formatter-after-hook)
(writer method).
coloring-type-formatter-initial-values
(reader method).
(setf coloring-type-formatter-initial-values)
(writer method).
coloring-type-parent-type
(reader method).
(setf coloring-type-parent-type)
(writer method).
coloring-type-term-formatter
(reader method).
(setf coloring-type-term-formatter)
(writer method).
coloring-type-transition-functions
(reader method).
(setf coloring-type-transition-functions)
(writer method).
coloring-type-visible
(reader method).
(setf coloring-type-visible)
(writer method).
define-coloring-type
(macro).
encoder-fn
(function).
full-transition-table
(function).
with-gensyms
(macro).
with-scanning-functions
(macro).
colorize/abbrev.lisp
colorize
(system).
abbrev
(function).
could-be-wrap
(function).
colorize/clhs-lookup.lisp
abbrev.lisp
(file).
colorize
(system).
populate-table
(function).
spec-lookup
(function).
symbol-lookup
(function).
*abbrev-table*
(special variable).
*format-table*
(special variable).
*hyperspec-map-file*
(special variable).
*hyperspec-pathname*
(special variable).
*hyperspec-root*
(special variable).
*last-warn-time*
(special variable).
*mop-map-file*
(special variable).
*mop-root*
(special variable).
*populated-p*
(special variable).
*read-macro-table*
(special variable).
*section-table*
(special variable).
*symbol-table*
(special variable).
abbrev-lookup
(function).
add-clhs-section-to-table
(function).
valid-target
(function).
colorize/r5rs-lookup.lisp
colorize
(system).
populate-table
(function).
symbol-lookup
(function).
*populated-p*
(special variable).
*r5rs-file*
(special variable).
*r5rs-root*
(special variable).
*table*
(special variable).
colorize/elisp-lookup.lisp
colorize
(system).
populate-table
(function).
symbol-lookup
(function).
*elisp-file*
(special variable).
*elisp-root*
(special variable).
*populated-p*
(special variable).
*table*
(special variable).
colorize/coloring-types.lisp
colorize.lisp
(file).
clhs-lookup.lisp
(file).
coloring-support.lisp
(file).
colorize
(system).
*version-token*
(special variable).
*c++-reserved-words*
(special variable).
*c-begin-word*
(special variable).
*c-close-parens*
(special variable).
*c-open-parens*
(special variable).
*c-reserved-words*
(special variable).
*c-terminators*
(special variable).
*close-parens*
(special variable).
*common-macros*
(special variable).
*erlang-begin-fun*
(special variable).
*erlang-begin-var*
(special variable).
*erlang-begin-word*
(special variable).
*erlang-close-parens*
(special variable).
*erlang-open-parens*
(special variable).
*erlang-reserved-words*
(special variable).
*erlang-terminators*
(special variable).
*haskell-begin-cons*
(special variable).
*haskell-begin-id*
(special variable).
*haskell-close-parens*
(special variable).
*haskell-in-symbol*
(special variable).
*haskell-in-word*
(special variable).
*haskell-non-constituent*
(special variable).
*haskell-open-parens*
(special variable).
*haskell-reserved-symbols*
(special variable).
*haskell-reserved-words*
(special variable).
*java-reserved-words*
(special variable).
*non-constituent*
(special variable).
*numbers*
(special variable).
*open-parens*
(special variable).
*python-reserved-words*
(special variable).
*special-forms*
(special variable).
*symbol-characters*
(special variable).
colorize/coloring-support.lisp
colorize.lisp
(file).
colorize
(system).
close-dangling-parenthesis
(function).
format-parenthesis
(macro).
Packages are listed by definition order.
r5rs-lookup
common-lisp
.
populate-table
(function).
symbol-lookup
(function).
*populated-p*
(special variable).
*r5rs-file*
(special variable).
*r5rs-root*
(special variable).
*table*
(special variable).
clhs-lookup
common-lisp
.
populate-table
(function).
spec-lookup
(function).
symbol-lookup
(function).
*abbrev-table*
(special variable).
*format-table*
(special variable).
*hyperspec-map-file*
(special variable).
*hyperspec-pathname*
(special variable).
*hyperspec-root*
(special variable).
*last-warn-time*
(special variable).
*mop-map-file*
(special variable).
*mop-root*
(special variable).
*populated-p*
(special variable).
*read-macro-table*
(special variable).
*section-table*
(special variable).
*symbol-table*
(special variable).
abbrev-lookup
(function).
add-clhs-section-to-table
(function).
valid-target
(function).
colorize
Homepage: <a href="http://github.com/redline6561/colorize">Github</a>
common-lisp
.
*coloring-css*
(special variable).
*css-background-class*
(special variable).
*version-token*
(special variable).
autodetect-coloring-type
(function).
coloring-types
(function).
colorize-file
(function).
colorize-file-to-stream
(function).
find-coloring-type
(function).
(setf find-coloring-type)
(function).
format-scan
(function).
html-colorization
(function).
make-background-css
(function).
scan-string
(function).
*c++-reserved-words*
(special variable).
*c-begin-word*
(special variable).
*c-close-parens*
(special variable).
*c-open-parens*
(special variable).
*c-reserved-words*
(special variable).
*c-terminators*
(special variable).
*close-parens*
(special variable).
*coloring-types*
(special variable).
*common-macros*
(special variable).
*erlang-begin-fun*
(special variable).
*erlang-begin-var*
(special variable).
*erlang-begin-word*
(special variable).
*erlang-close-parens*
(special variable).
*erlang-open-parens*
(special variable).
*erlang-reserved-words*
(special variable).
*erlang-terminators*
(special variable).
*formatter-local-variables*
(special variable).
*haskell-begin-cons*
(special variable).
*haskell-begin-id*
(special variable).
*haskell-close-parens*
(special variable).
*haskell-in-symbol*
(special variable).
*haskell-in-word*
(special variable).
*haskell-non-constituent*
(special variable).
*haskell-open-parens*
(special variable).
*haskell-reserved-symbols*
(special variable).
*haskell-reserved-words*
(special variable).
*java-reserved-words*
(special variable).
*non-constituent*
(special variable).
*numbers*
(special variable).
*open-parens*
(special variable).
*python-reserved-words*
(special variable).
*reset-position*
(special variable).
*scan-calls*
(special variable).
*special-forms*
(special variable).
*symbol-characters*
(special variable).
close-dangling-parenthesis
(function).
coloring-type
(class).
coloring-type-autodetect-function
(generic reader).
(setf coloring-type-autodetect-function)
(generic writer).
coloring-type-default-mode
(generic reader).
(setf coloring-type-default-mode)
(generic writer).
coloring-type-fancy-name
(generic reader).
(setf coloring-type-fancy-name)
(generic writer).
coloring-type-formatter-after-hook
(generic reader).
(setf coloring-type-formatter-after-hook)
(generic writer).
coloring-type-formatter-initial-values
(generic reader).
(setf coloring-type-formatter-initial-values)
(generic writer).
coloring-type-parent-type
(generic reader).
(setf coloring-type-parent-type)
(generic writer).
coloring-type-term-formatter
(generic reader).
(setf coloring-type-term-formatter)
(generic writer).
coloring-type-transition-functions
(generic reader).
(setf coloring-type-transition-functions)
(generic writer).
coloring-type-visible
(generic reader).
(setf coloring-type-visible)
(generic writer).
define-coloring-type
(macro).
encoder-fn
(function).
for-css
(function).
format-parenthesis
(macro).
full-transition-table
(function).
with-gensyms
(macro).
with-scanning-functions
(macro).
elisp-lookup
common-lisp
.
populate-table
(function).
symbol-lookup
(function).
*elisp-file*
(special variable).
*elisp-root*
(special variable).
*populated-p*
(special variable).
*table*
(special variable).
abbrev
common-lisp
.
split-sequence
.
abbrev
(function).
could-be-wrap
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Return the supported coloring types as a list of dotted pairs of the form, (:keyword . "coloring-type").
Given a COLORING-TYPE (keyword) and an INPUT-FILE-NAME, write colorized code to INPUT-FILE-NAME.html or OUTPUT-FILE-NAME, if provided.
Given a COLORING-TYPE, INPUT-FILE-NAME, and a STREAM to write to, output the colorized code to the given STREAM. If WRAP is nil, write only the HTML for the code snippet. To wrap in a <tt> element rather than <pre>, pass ’encode-for-tt as the ENCODER.
Given a COLORING-TYPE and STRING, return the colorized HTML.
Macro to help emmitting parenthesis.
It will result in a string wrapping the paren in appropriate <span> or </span>
tags. The optional arguments before-paren and after-paren are
added at the begin/end of the resulting string.
Note that paren, open-parens and close-parens are evaluated once as arguments.
However, paren-counter should be a setf’able counter and is modified.
Also the before-paren and after-paren are evalulated once, however only
AFTER the paren-counter is updated. This is done to be compatible with
the boiler plate code this replaces.
There is one case it is needed, and that is when the argument to :after-paren
is the following expression
:after-paren (colorize after-paren)
In this case the after paren is colorized with the new nesting level.
This behaviour is tricky and should probably be changed.
Emit enough </span> tags to account for missing close parenthesis in the source.
coloring-type
)) ¶automatically generated reader method
coloring-type
)) ¶automatically generated writer method
coloring-type
)) ¶automatically generated reader method
coloring-type
)) ¶automatically generated writer method
coloring-type
)) ¶automatically generated reader method
coloring-type
)) ¶automatically generated writer method
coloring-type
)) ¶automatically generated reader method
coloring-type
)) ¶automatically generated writer method
coloring-type
)) ¶automatically generated reader method
coloring-type
)) ¶automatically generated writer method
coloring-type
)) ¶automatically generated reader method
coloring-type
)) ¶automatically generated writer method
coloring-type
)) ¶automatically generated reader method
coloring-type
)) ¶automatically generated writer method
coloring-type
)) ¶automatically generated reader method
coloring-type
)) ¶automatically generated writer method
coloring-type
)) ¶automatically generated reader method
coloring-type
)) ¶automatically generated writer method
(setf coloring-type-autodetect-function)
.
coloring-type-autodetect-function
.
(setf coloring-type-default-mode)
.
coloring-type-default-mode
.
(setf coloring-type-fancy-name)
.
coloring-type-fancy-name
.
(setf coloring-type-formatter-after-hook)
.
coloring-type-formatter-after-hook
.
(setf coloring-type-formatter-initial-values)
.
coloring-type-formatter-initial-values
.
(setf coloring-type-parent-type)
.
coloring-type-parent-type
.
(setf coloring-type-term-formatter)
.
coloring-type-term-formatter
.
(setf coloring-type-transition-functions)
.
coloring-type-transition-functions
.
(setf coloring-type-visible)
.
coloring-type-visible
.
:default-mode
:transition-functions
:fancy-name
:term-formatter
:formatter-initial-values
(constantly "")
:formatter-after-hook
(constantly nil)
:autodetect-function
:parent-type
t
:visible
Jump to: | (
A C D E F G H M P S V W |
---|
Jump to: | (
A C D E F G H M P S V W |
---|
Jump to: | *
A D F P S T V |
---|
Jump to: | *
A D F P S T V |
---|
Jump to: | A C E F P R S |
---|
Jump to: | A C E F P R S |
---|