This is the parseq Reference Manual, version 0.5.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 06:18:49 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
parseq
A library for parsing sequences such as strings and lists using parsing expression grammars.
Marco Rossini
GPLv2
0.5.0
package.lisp
(file).
conditions.lisp
(file).
utils.lisp
(file).
defrule.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
parseq/conditions.lisp
package.lisp
(file).
parseq
(system).
generic-parse-error
(condition).
invalid-operation-error
(condition).
invalid-rule-error
(condition).
invalid-terminal-error
(condition).
left-recursion-error
(condition).
parse-error-position
(reader method).
(setf parse-error-position)
(writer method).
parse-error-terminals
(reader method).
(setf parse-error-terminals)
(writer method).
parse-junk-error
(condition).
parse-match-error
(condition).
parseq-error
(condition).
processing-options-error
(condition).
rule-definition-error
(condition).
runtime-error
(condition).
unknown-rule-error
(condition).
f-error
(macro).
invalid-terminal-runtime-error
(condition).
parseq/utils.lisp
conditions.lisp
(file).
parseq
(system).
appendf
(macro).
case-test
(macro).
cat
(function).
check-range
(function).
choice-item
(function).
conditional-dynamic-bind
(macro).
copy-hash-table
(function).
decode-range
(function).
flatten
(function).
have
(function).
if-hash
(macro).
l<
(function).
l<=
(function).
l=
(function).
l>
(function).
l>=
(function).
lambda-list-vars
(function).
last-1
(function).
let-special
(macro).
make-treepos
(function).
mklist
(function).
or2
(macro).
or2-exclusive
(macro).
quoted-symbol-p
(function).
sequence=
(function).
sequencep
(function).
shuffle
(function).
subseq-at
(function).
symbol=
(function).
treeitem
(function).
treepos-copy
(function).
treepos-depth
(function).
treepos-elt
(function).
treepos-highest
(function).
treepos-length
(function).
treepos-lowest
(function).
treepos-step
(function).
treepos-step-down
(function).
treepos-str
(function).
treepos-valid
(function).
treepos=
(function).
treepos>
(function).
two-way-index
(function).
unsigned-byte-p
(function).
with-gensyms
(macro).
parseq/defrule.lisp
utils.lisp
(file).
parseq
(system).
defrule
(macro).
parseq
(function).
trace-rule
(function).
untrace-rule
(function).
with-local-rules
(macro).
with-saved-rules
(macro).
*ascii-standard-chars*
(special variable).
*packrat-table*
(special variable).
*rule-table*
(special variable).
*terminal-failure-list*
(special variable).
*trace-depth*
(special variable).
*trace-recursive*
(special variable).
*trace-rule*
(special variable).
expand-!
(function).
expand-&
(function).
expand-*
(function).
expand-+
(function).
expand-?
(function).
expand-and
(function).
expand-and~
(function).
expand-and~~
(function).
expand-atom
(function).
expand-choice
(function).
expand-destructure
(function).
expand-list-expr
(function).
expand-not
(function).
expand-or
(function).
expand-parse-call
(function).
expand-parse-call-recursion
(function).
expand-processing-options
(function).
expand-regexp-bracket-expression
(function).
expand-rep
(function).
expand-rule
(function).
expand-sequence
(function).
is-traced
(function).
is-traced-with-recursion
(function).
make-checklist
(function).
make-packrat-key
(function).
parseq-internal
(function).
push-terminal-failure
(function).
rule-options-bind
(macro).
runtime-dispatch
(function).
runtime-match
(macro).
test-and-advance
(macro).
try-and-advance
(macro).
with-expansion
(macro).
with-expansion-failure
(macro).
with-expansion-success
(macro).
with-left-recursion-protection
(macro).
with-packrat
(macro).
with-special-vars-from-options
(macro).
with-tracing
(macro).
Packages are listed by definition order.
parseq
common-lisp
.
defrule
(macro).
generic-parse-error
(condition).
invalid-operation-error
(condition).
invalid-rule-error
(condition).
invalid-terminal-error
(condition).
left-recursion-error
(condition).
parse-error-position
(generic reader).
(setf parse-error-position)
(generic writer).
parse-error-terminals
(generic reader).
(setf parse-error-terminals)
(generic writer).
parse-junk-error
(condition).
parse-match-error
(condition).
parseq
(function).
parseq-error
(condition).
processing-options-error
(condition).
rule-definition-error
(condition).
runtime-error
(condition).
trace-rule
(function).
unknown-rule-error
(condition).
untrace-rule
(function).
with-local-rules
(macro).
with-saved-rules
(macro).
*ascii-standard-chars*
(special variable).
*packrat-table*
(special variable).
*rule-table*
(special variable).
*terminal-failure-list*
(special variable).
*trace-depth*
(special variable).
*trace-recursive*
(special variable).
*trace-rule*
(special variable).
appendf
(macro).
case-test
(macro).
cat
(function).
check-range
(function).
choice-item
(function).
conditional-dynamic-bind
(macro).
copy-hash-table
(function).
decode-range
(function).
expand-!
(function).
expand-&
(function).
expand-*
(function).
expand-+
(function).
expand-?
(function).
expand-and
(function).
expand-and~
(function).
expand-and~~
(function).
expand-atom
(function).
expand-choice
(function).
expand-destructure
(function).
expand-list-expr
(function).
expand-not
(function).
expand-or
(function).
expand-parse-call
(function).
expand-parse-call-recursion
(function).
expand-processing-options
(function).
expand-regexp-bracket-expression
(function).
expand-rep
(function).
expand-rule
(function).
expand-sequence
(function).
f-error
(macro).
flatten
(function).
have
(function).
if-hash
(macro).
invalid-terminal-runtime-error
(condition).
is-traced
(function).
is-traced-with-recursion
(function).
l<
(function).
l<=
(function).
l=
(function).
l>
(function).
l>=
(function).
lambda-list-vars
(function).
last-1
(function).
let-special
(macro).
make-checklist
(function).
make-packrat-key
(function).
make-treepos
(function).
mklist
(function).
or2
(macro).
or2-exclusive
(macro).
parseq-internal
(function).
push-terminal-failure
(function).
quoted-symbol-p
(function).
rule-options-bind
(macro).
runtime-dispatch
(function).
runtime-match
(macro).
sequence=
(function).
sequencep
(function).
shuffle
(function).
subseq-at
(function).
symbol=
(function).
test-and-advance
(macro).
treeitem
(function).
treepos-copy
(function).
treepos-depth
(function).
treepos-elt
(function).
treepos-highest
(function).
treepos-length
(function).
treepos-lowest
(function).
treepos-step
(function).
treepos-step-down
(function).
treepos-str
(function).
treepos-valid
(function).
treepos=
(function).
treepos>
(function).
try-and-advance
(macro).
two-way-index
(function).
unsigned-byte-p
(function).
with-expansion
(macro).
with-expansion-failure
(macro).
with-expansion-success
(macro).
with-gensyms
(macro).
with-left-recursion-protection
(macro).
with-packrat
(macro).
with-special-vars-from-options
(macro).
with-tracing
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
parse-match-error
)) ¶parse-match-error
)) ¶parse-match-error
)) ¶parse-match-error
)) ¶Generic parsing error
Error condition for rule definitions where the usage of an operation is invalid.
Error condition for malformed calls to rules.
Error condition for rule definitions where a terminal is unknown.
Error condition for situations where left recursion is detected at runtime.
Error condition for when the sequence is only partially parsed, leaving junk at the end.
Error condition for when the sequence does not match the parsing grammar rules.
Generic error for the parseq library
simple-error
.
Error condition for rule definitions where a processing option is invalid.
Generic error for rule definitions
Generic runtime error
Error condition for situations where a rule definition is not found at runtime.
Appends the given item to the list using setf.
Establishes the dynamic bindings if condition evaluates to true.
Like (error ...), but allows the condition type to be specified (which is required to inherit from simple-condition).
Retrieves an item from the tree by using the given treepointer, or NIL if such a position does not exist.
Flattens the given tree, x, into a list.
Tests efficiently whether the length of the list is smaller than the given length.
Tests efficiently whether the length of the list is smaller or equal to the given length.
Tests efficiently whether the length of the list is equal to the given length.
Tests efficiently whether the length of the list is greater than the given length.
Tests efficiently whether the length of the list is greater or equal to the given length.
Retrieves the last item from the given list.
Generates a key for the packrat memoization hash table.
Creates a new tree position object.
Creates a new list in which the items of the given list are shuffled
Retrieves an item from the tree by using the given treepointer.
Determines the length of the item in the tree pointed to by treepos.
Copies the tree pointer and increments the tree position.
Verifies whether the given position exists in the given tree.
Error condition for situations where an invalid terminal in an expression is detected at runtime.
Jump to: | (
A C D E F G H I L M O P Q R S T U W |
---|
Jump to: | (
A C D E F G H I L M O P Q R S T U W |
---|
Jump to: | *
P S T |
---|
Jump to: | *
P S T |
---|
Jump to: | C D F G I L P R S U |
---|
Jump to: | C D F G I L P R S U |
---|