This is the cl-m4 Reference Manual, version 0.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 04:04:50 2025 GMT+0.
cl-m4/cl-m4.asdcl-m4/src/package.lispcl-m4/src/cffi-regex/cffi-regex-grovel.lispcl-m4/src/cffi-regex/cffi-regex.lispcl-m4/src/cffi-regex/regex.lispcl-m4/src/m4-util.lispcl-m4/src/m4-lexer.lispcl-m4/src/m4-builtin.lispcl-m4/src/m4-parser.lispThe main system appears first, followed by any subsystem dependency.
cl-m4Common Lisp re-implementation of GNU M4
Alexander Kahl <e-user@fsfe.org>
GPLv3+
0.0.1
external-program (system).
cl-ppcre (system).
alexandria (system).
cl-fad (system).
graylex (system).
cffi (system).
src (module).
Modules are listed depth-first from the system components tree.
cl-m4/srccl-m4 (system).
package.lisp (file).
cffi-regex (module).
m4-util.lisp (file).
m4-lexer.lisp (file).
m4-builtin.lisp (file).
m4-parser.lisp (file).
cl-m4/src/cffi-regexpackage.lisp (file).
src (module).
cffi-regex-grovel.lisp (file).
cffi-regex.lisp (file).
regex.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-m4/cl-m4.asdcl-m4/src/package.lispcl-m4/src/cffi-regex/cffi-regex-grovel.lispcl-m4/src/cffi-regex/cffi-regex.lispcl-m4/src/cffi-regex/regex.lispcl-m4/src/m4-util.lispcl-m4/src/m4-lexer.lispcl-m4/src/m4-builtin.lispcl-m4/src/m4-parser.lispcl-m4/src/cffi-regex/cffi-regex.lispcffi-regex-grovel.lisp (file).
cffi-regex (module).
%regex-match (function).
%regex-match-2 (function).
%regex-search (function).
%regex-search-2 (function).
%regex-set-registers (function).
compile-fastmap (function).
compile-pattern (function).
registers-tclass (class).
set-syntax (function).
cl-m4/src/cffi-regex/regex.lispcffi-regex.lisp (file).
cffi-regex (module).
print-object (method).
regex-compilation-failure (condition).
regex-internal-error (condition).
regex-match (function).
regex-search (function).
regex-search-all (function).
get-register (function).
regex-compilation-failure-message (reader method).
with-pattern-buffer (macro).
cl-m4/src/m4-util.lisppackage.lisp (file).
src (module).
*m4-comment-end* (special variable).
*m4-comment-start* (special variable).
*m4-diversion* (special variable).
*m4-diversion-table* (special variable).
*m4-include-path* (special variable).
*m4-lib* (special variable).
*m4-macro-hooks* (special variable).
*m4-macro-name* (special variable).
*m4-nesting-level* (special variable).
*m4-nesting-limit* (special variable).
*m4-parse-column* (special variable).
*m4-parse-row* (special variable).
*m4-quote-end* (special variable).
*m4-quote-start* (special variable).
*m4-runtime-lib* (special variable).
*m4-traced-macros* (special variable).
*m4-wrap-stack* (special variable).
copy-macro-token (function).
expand-ascii-ranges (function).
expand-macro-token (function).
flush-m4-diversions (function).
m4-diversion (function).
m4-macro (function).
m4-quote-string (function).
m4-regex-replace (function).
m4-regex-replace-all (function).
m4-trace-out (function).
m4-warn (function).
macro-condition (condition).
macro-defn-invocation-condition (condition).
macro-defn-invocation-result (reader method).
macro-dnl-invocation-condition (condition).
macro-invocation-condition (condition).
macro-invocation-result (reader method).
macro-nesting-level-excession-condition (condition).
macro-return (function).
macro-token (structure).
macro-token-m4macro (reader).
(setf macro-token-m4macro) (writer).
macro-token-name (reader).
(setf macro-token-name) (writer).
macro-token-p (function).
make-m4-diversion-table (function).
make-macro-token (function).
nesting-level-limit (reader method).
quote-regexp (function).
replace-with-region (function).
sanitize-m4-regex-replacement (function).
set-m4-diversion (function).
translate (function).
unquote-regexp (function).
with-m4-diversion-stream (macro).
with-m4-lib (macro).
with-regex-search-handler (macro).
cl-m4/src/m4-lexer.lisppackage.lisp (file).
src (module).
stream-read-token (method).
m4-input-stream (class).
m4-macro-stack (reader method).
(setf m4-macro-stack) (writer method).
m4-pop-macro (generic function).
m4-push-macro (generic function).
cl-m4/src/m4-builtin.lisppackage.lisp (file).
m4-util.lisp (file).
src (module).
defm4macro (macro).
defm4runtimemacro (function).
popm4macro (function).
pushm4macro (function).
cl-m4/src/m4-parser.lisppackage.lisp (file).
m4-util.lisp (file).
m4-lexer.lisp (file).
src (module).
process-m4 (function).
call-m4-macro (function).
m4-out (function).
m4-parse-error (condition).
m4-parse-error-column (reader method).
m4-parse-error-message (reader method).
m4-parse-error-row (reader method).
parse-m4 (function).
parse-m4-comment (function).
parse-m4-dnl (function).
parse-m4-macro (function).
parse-m4-macro-arguments (function).
parse-m4-munch-whitespace (function).
parse-m4-quote (function).
split-merge (function).
with-tokens-active (macro).
Packages are listed by definition order.
cffi-regexcffi.
common-lisp.
regex-compilation-failure (condition).
regex-internal-error (condition).
regex-match (function).
regex-search (function).
regex-search-all (function).
%regex-match (function).
%regex-match-2 (function).
%regex-search (function).
%regex-search-2 (function).
%regex-set-registers (function).
compile-fastmap (function).
compile-pattern (function).
get-register (function).
regex-compilation-failure-message (generic reader).
registers-tclass (class).
set-syntax (function).
with-pattern-buffer (macro).
cl-m4cffi-regex.
common-lisp.
external-program.
graylex.
process-m4 (function).
*m4-comment-end* (special variable).
*m4-comment-start* (special variable).
*m4-diversion* (special variable).
*m4-diversion-table* (special variable).
*m4-include-path* (special variable).
*m4-lib* (special variable).
*m4-macro-hooks* (special variable).
*m4-macro-name* (special variable).
*m4-nesting-level* (special variable).
*m4-nesting-limit* (special variable).
*m4-parse-column* (special variable).
*m4-parse-row* (special variable).
*m4-quote-end* (special variable).
*m4-quote-start* (special variable).
*m4-runtime-lib* (special variable).
*m4-traced-macros* (special variable).
*m4-wrap-stack* (special variable).
call-m4-macro (function).
copy-macro-token (function).
defm4macro (macro).
defm4runtimemacro (function).
expand-ascii-ranges (function).
expand-macro-token (function).
flush-m4-diversions (function).
m4-diversion (function).
m4-input-stream (class).
m4-macro (function).
m4-macro-stack (generic reader).
(setf m4-macro-stack) (generic writer).
m4-out (function).
m4-parse-error (condition).
m4-parse-error-column (generic reader).
m4-parse-error-message (generic reader).
m4-parse-error-row (generic reader).
m4-pop-macro (generic function).
m4-push-macro (generic function).
m4-quote-string (function).
m4-regex-replace (function).
m4-regex-replace-all (function).
m4-trace-out (function).
m4-warn (function).
macro-condition (condition).
macro-defn-invocation-condition (condition).
macro-defn-invocation-result (generic reader).
macro-dnl-invocation-condition (condition).
macro-invocation-condition (condition).
macro-invocation-result (generic reader).
macro-nesting-level-excession-condition (condition).
macro-return (function).
macro-token (structure).
macro-token-m4macro (reader).
(setf macro-token-m4macro) (writer).
macro-token-name (reader).
(setf macro-token-name) (writer).
macro-token-p (function).
make-m4-diversion-table (function).
make-macro-token (function).
nesting-level-limit (generic reader).
parse-m4 (function).
parse-m4-comment (function).
parse-m4-dnl (function).
parse-m4-macro (function).
parse-m4-macro-arguments (function).
parse-m4-munch-whitespace (function).
parse-m4-quote (function).
popm4macro (function).
pushm4macro (function).
quote-regexp (function).
replace-with-region (function).
sanitize-m4-regex-replacement (function).
set-m4-diversion (function).
split-merge (function).
translate (function).
unquote-regexp (function).
with-m4-diversion-stream (macro).
with-m4-lib (macro).
with-regex-search-handler (macro).
with-tokens-active (macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
regex-match regex target-string &optional (start 0) => incomplete
regex-search regex target-string &key (start 0) (end (length target-string)) => (startpos registers)
High-level interface to libc regex re_search. Match REGEX against region between
START and END of TARGET-STRING returning STARTPOS of the first match and
SIMPLE-VECTOR REGISTERS containing LISTs of register group STARTs and ENDs. The
first register always contains the match of the whole REGEX.
If no part of TARGET-STRING matches, nil is return.
In case of a libc internal error signal a REGEX-INTERNAL-ERROR condition.
regex-search-all regex target-string &key (start 0) (end (length target-string)) => list
Multi-version of REGEX-SEARCH that evaluates to a list of all (STARTPOS
REGISTERS) matches of REGEX in TARGET-STRING.
regex-compilation-failure) stream) ¶m4-input-stream) &optional peek) ¶graylex.
with-pattern-buffer var pattern &optional (syntax (list +syntax-emacs+))) &body body => context
Create lexical context binding VAR to a compiled libc regex PATTERN-BUFFER
(re_pattern_buffer) with dynamic allocation and SYNTAX.
In case of REGEX compilation failure a REGEX-COMPILATION-FAILURE condition
containing the original error message is signaled.
get-register registers index => (start end)
Return START and END of register match # INDEX in libc regex REGISTERS (re_registers).
name.
replace-with-region replacefn &rest args => closure
Create closure that is suitable for use with CL-PPCRE replacement forms. Created closure invokes REPLACEFN against the matched subsequence in the string to be searched additionally passing ARGS.
m4-input-stream)) ¶automatically generated reader method
m4-input-stream)) ¶automatically generated writer method
m4-parse-error)) ¶m4-parse-error)) ¶m4-parse-error)) ¶row.
m4-input-stream)) ¶m4-input-stream) macro) ¶macro-defn-invocation-condition)) ¶macro-invocation-condition)) ¶macro-nesting-level-excession-condition)) ¶regex-compilation-failure)) ¶error.
:macro
This slot is read-only.
:result
This slot is read-only.
:limit
This slot is read-only.
| Jump to: | %
(
C D E F G M N P Q R S T U W |
|---|
| Jump to: | %
(
C D E F G M N P Q R S T U W |
|---|
| Jump to: | *
C L M N R S |
|---|
| Jump to: | *
C L M N R S |
|---|
| Jump to: | C F M P R S |
|---|
| Jump to: | C F M P R S |
|---|