Common Lisp Package: CL-M4

README:

FUNCTION

Public

Undocumented

PROCESS-M4 (INPUT-STREAM OUTPUT-STREAM &KEY (INCLUDE-PATH (LIST)) (PREPEND-INCLUDE-PATH (LIST)) (TRACE-FUNCTIONS (LIST)) NESTING-LIMIT)

Private

MACRO-TOKEN-M4MACRO (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

MACRO-TOKEN-NAME (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

REPLACE-WITH-REGION (REPLACEFN &REST ARGS)

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.

Undocumented

CALL-M4-MACRO (MACRO MACRO-NAME ARGS LEXER)

COPY-MACRO-TOKEN (INSTANCE)

DEFM4RUNTIMEMACRO (NAME EXPANSION &OPTIONAL (REPLACE T))

EXPAND-ASCII-RANGES (STRING)

EXPAND-MACRO-TOKEN (TOKEN)

FLUSH-M4-DIVERSIONS (&REST DIVERSIONS)

M4-DIVERSION (&OPTIONAL NUMBER)

M4-MACRO (MACRO &OPTIONAL (BUILTIN NIL))

M4-OUT (WORD)

M4-QUOTE-STRING (STRING)

M4-REGEX-REPLACE (TEMPLATE STRING REGISTERS)

M4-REGEX-REPLACE-ALL (TEMPLATE STRING REGISTER-LIST)

M4-TRACE-OUT (MACRO ARGS RESULT)

M4-WARN (DATUM)

MACRO-RETURN (RESULT)

SETFMACRO-TOKEN-M4MACRO (NEW-VALUE INSTANCE)

SETFMACRO-TOKEN-NAME (NEW-VALUE INSTANCE)

MACRO-TOKEN-P (OBJECT)

MAKE-M4-DIVERSION-TABLE (STREAM)

MAKE-MACRO-TOKEN (M4MACRO NAME)

PARSE-M4 (LEXER)

PARSE-M4-COMMENT (LEXER IMAGE)

PARSE-M4-DNL (LEXER)

PARSE-M4-MACRO (LEXER MACRO-NAME)

PARSE-M4-MACRO-ARGUMENTS (LEXER)

PARSE-M4-MUNCH-WHITESPACE (LEXER)

PARSE-M4-QUOTE (LEXER)

POPM4MACRO (NAME)

PUSHM4MACRO (NAME FUN &OPTIONAL (REPLACE T))

QUOTE-REGEXP (STRING)

SANITIZE-M4-REGEX-REPLACEMENT (REPLACEMENT)

SET-M4-DIVERSION (NUMBER)

SPLIT-MERGE (STRING-LIST SPLIT-TOKEN)

TRANSLATE (STRING CHARBAG &OPTIONAL (REPLACEBAG ))

UNQUOTE-REGEXP (STRING)

MACRO

Private

Undocumented

DEFM4MACRO (NAME ARGS (&KEY (ARGUMENTS-ONLY T) (MINIMUM-ARGUMENTS 0) (ACCEPT-MACRO-TOKENS NIL)) &BODY BODY)

WITH-M4-DIVERSION-STREAM ((VAR &OPTIONAL NUMBER) &BODY BODY)

WITH-M4-LIB (&BODY BODY)

WITH-REGEX-SEARCH-HANDLER (REGEXP &BODY BODY)

WITH-TOKENS-ACTIVE ((&REST TOKENS) &BODY BODY)

GENERIC-FUNCTION

Private

Undocumented

M4-PARSE-ERROR-COLUMN (CONDITION)

M4-PARSE-ERROR-MESSAGE (CONDITION)

M4-PARSE-ERROR-ROW (CONDITION)

M4-POP-MACRO (M4-INPUT-STREAM)

M4-PUSH-MACRO (M4-INPUT-STREAM MACRO)

MACRO-DEFN-INVOCATION-RESULT (CONDITION)

MACRO-INVOCATION-RESULT (CONDITION)

NESTING-LEVEL-LIMIT (CONDITION)

SLOT-ACCESSOR

Private

Undocumented

M4-MACRO-STACK (OBJECT)

SETFM4-MACRO-STACK (NEW-VALUE OBJECT)

VARIABLE

Private

Undocumented

*M4-LIB*

CLASS

Private

Undocumented

M4-INPUT-STREAM

MACRO-TOKEN

CONDITION

Private

Undocumented

M4-PARSE-ERROR

MACRO-CONDITION

MACRO-DEFN-INVOCATION-CONDITION

MACRO-DNL-INVOCATION-CONDITION

MACRO-INVOCATION-CONDITION

MACRO-NESTING-LEVEL-EXCESSION-CONDITION