This is the abnf Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:36:44 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
abnf
ABNF Parser Generator, per RFC2234
Dimitri Fontaine <dim@tapoueh.org>
WTFPL
esrap
(system).
cl-ppcre
(system).
package.lisp
(file).
abnf.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
abnf/abnf.lisp
package.lisp
(file).
abnf
(system).
*abnf-rfc-syslog-draft-15*
(special variable).
*abnf-rfc5424-syslog-protocol*
(special variable).
*abnf-rsyslog*
(special variable).
parse-abnf-grammar
(function).
*abnf-default-rules*
(special variable).
*abnf-rfc2234-abnf-definition*
(special variable).
char-val-char-p
(function).
expand-rule
(function).
expand-rule-definition
(function).
hexadecimal-char-p
(function).
process-quoted-regex
(function).
rule-name-character-p
(function).
rule-name-symbol
(function).
test
(function).
vcharp
(function).
Packages are listed by definition order.
abnf
common-lisp
.
esrap
.
*abnf-rfc-syslog-draft-15*
(special variable).
*abnf-rfc5424-syslog-protocol*
(special variable).
*abnf-rsyslog*
(special variable).
parse-abnf-grammar
(function).
*abnf-default-rules*
(special variable).
*abnf-rfc2234-abnf-definition*
(special variable).
char-val-char-p
(function).
expand-rule
(function).
expand-rule-definition
(function).
hexadecimal-char-p
(function).
process-quoted-regex
(function).
rule-name-character-p
(function).
rule-name-symbol
(function).
test
(function).
vcharp
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
See http://tools.ietf.org/html/draft-ietf-syslog-protocol-15#page-10
See http://tools.ietf.org/html/rfc5424#section-6
See http://www.rsyslog.com/doc/syslog_protocol.html
Parse STRING as an ABNF grammar as defined in RFC 2234. Returns a cl-ppcre
scanner that will only match strings conforming to given grammar.
See http://tools.ietf.org/html/rfc2234 for details about the ABNF specs. Added to that grammar is support for regular expression, that are expected in the ELEMENT production and spelled ~/regex/. The allowed delimiters are: ~// ~[] ~{} ~() ~<> ~"" ~” ~|| and ~##.
An alist of the usual rules needed for ABNF grammars
See http://tools.ietf.org/html/rfc2234#section-4
Given a rule, expand it completely removing references to other parsed rules
Expand given rule DEFINITION within given RULE-SET
Helper function to process different kinds of quotes for regexps
Turn the string we read in the ABNF into internal symbol.
This serves as a test and an example: if you’re going to use the same scanner more than one, be sure to compute it only once.
Jump to: | C E F H P R T V |
---|
Jump to: | C E F H P R T V |
---|
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Jump to: | A F P S |
---|
Jump to: | A F P S |
---|