This is the fucc-parser Reference Manual, version 0.2.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 05:09:53 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
fucc-parserLL and LR/LALR parser runtime system
Ivan Boldyrev
MIT
0.2.2
parser (module).
Modules are listed depth-first from the system components tree.
fucc-parser/parserfucc-parser (system).
fucc-package.lisp (file).
fucc-decl.lisp (file).
fucc-util.lisp (file).
fucc-parser.lisp (file).
fucc-ll.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
fucc-parser/fucc-parser.asdfucc-parser/parser/fucc-package.lispfucc-parser/parser/fucc-decl.lispfucc-parser/parser/fucc-util.lispfucc-parser/parser/fucc-parser.lispfucc-parser/parser/fucc-ll.lispfucc-parser/parser/fucc-decl.lispfucc-package.lisp (file).
parser (module).
*next-data* (special variable).
*next-token* (special variable).
lr-parse-error-condition (condition).
parse-error-condition (condition).
print-object (method).
accept-action (structure).
accept-action-p (function).
action-type (function).
copy-accept-action (function).
copy-error-action (function).
copy-lr-config (function).
copy-reduce-action (function).
copy-shift-action (function).
copy-state (function).
error-action (structure).
error-action-p (function).
error-config (reader method).
error-data (reader method).
error-token-id (reader method).
lr-config (structure).
lr-config-data-stack (reader).
(setf lr-config-data-stack) (writer).
lr-config-p (function).
lr-config-state-stack (reader).
(setf lr-config-state-stack) (writer).
lr-config-term-stack (reader).
(setf lr-config-term-stack) (writer).
make-accept-action (function).
make-error-action (function).
make-lr-config (function).
make-reduce-action (function).
make-shift-action (function).
make-state (function).
parse-conflict-condition (condition).
possible-actions (reader method).
reduce-action (structure).
reduce-action-function (reader).
(setf reduce-action-function) (writer).
reduce-action-len (reader).
(setf reduce-action-len) (writer).
reduce-action-p (function).
reduce-action-term (reader).
(setf reduce-action-term) (writer).
shift-action (structure).
shift-action-new-state (reader).
(setf shift-action-new-state) (writer).
shift-action-p (function).
state (structure).
state-id (reader).
(setf state-id) (writer).
state-p (function).
state-row (type).
state-table (reader).
(setf state-table) (writer).
term (type).
with-lr-config (macro).
fucc-parser/parser/fucc-util.lispfucc-package.lisp (file).
fucc-decl.lisp (file).
parser (module).
alist-to-hash-table (function).
bin-search-goto-table (function).
fucc-parser/parser/fucc-parser.lispfucc-package.lisp (file).
fucc-decl.lisp (file).
fucc-util.lisp (file).
parser (module).
parser-lr (function).
longer-p (function).
nsplit-list (function).
parser-lr--reduce! (function).
parser-lr--shift! (function).
fucc-parser/parser/fucc-ll.lispfucc-package.lisp (file).
parser (module).
parser-ll (function).
ll-final-action (macro).
ll-middle-action (macro).
ll-rule-actions (function).
ll-rule-nterms (function).
ll-terminal-p (function).
negative->nt (function).
nt->negative (function).
pop-n-stack (function).
rev-apply (macro).
stack-popper (macro).
Packages are listed by definition order.
fucccommon-lisp.
*next-data* (special variable).
*next-token* (special variable).
lr-parse-error-condition (condition).
parse-error-condition (condition).
parser-ll (function).
parser-lr (function).
accept-action (structure).
accept-action-p (function).
action-type (function).
alist-to-hash-table (function).
bin-search-goto-table (function).
copy-accept-action (function).
copy-error-action (function).
copy-lr-config (function).
copy-reduce-action (function).
copy-shift-action (function).
copy-state (function).
error-action (structure).
error-action-p (function).
error-config (generic reader).
error-data (generic reader).
error-token-id (generic reader).
ll-final-action (macro).
ll-middle-action (macro).
ll-rule-actions (function).
ll-rule-nterms (function).
ll-terminal-p (function).
longer-p (function).
lr-config (structure).
lr-config-data-stack (reader).
(setf lr-config-data-stack) (writer).
lr-config-p (function).
lr-config-state-stack (reader).
(setf lr-config-state-stack) (writer).
lr-config-term-stack (reader).
(setf lr-config-term-stack) (writer).
make-accept-action (function).
make-error-action (function).
make-lr-config (function).
make-reduce-action (function).
make-shift-action (function).
make-state (function).
negative->nt (function).
nsplit-list (function).
nt->negative (function).
parse-conflict-condition (condition).
parser-lr--reduce! (function).
parser-lr--shift! (function).
pop-n-stack (function).
possible-actions (generic reader).
reduce-action (structure).
reduce-action-function (reader).
(setf reduce-action-function) (writer).
reduce-action-len (reader).
(setf reduce-action-len) (writer).
reduce-action-p (function).
reduce-action-term (reader).
(setf reduce-action-term) (writer).
rev-apply (macro).
shift-action (structure).
shift-action-new-state (reader).
(setf shift-action-new-state) (writer).
shift-action-p (function).
stack-popper (macro).
state (structure).
state-id (reader).
(setf state-id) (writer).
state-p (function).
state-row (type).
state-table (reader).
(setf state-table) (writer).
term (type).
with-lr-config (macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Data associated with next token returned by lexer; accessible in reduction actions.
fucc.
LR-specific parser error
General parsing error
fucc.
condition.
ID of token that caused the error
:token-id
This slot is read-only.
Semantic data associated with token
:data
This slot is read-only.
Final ACTION (form that returns function) where rule length is LEN (unsigned byte)
fucc.
Non-final ACTION (form that return function). LEN is unsigned byte that defines number of preceeding tokens.
fucc.
Components of stack returned by STACK expressions are bound to variables named by symbols in STATE-STACK-VAR, TERM-STACK-VAR and DATA-STACK-VAR. These variables can be used in the BODY.
fucc.
Binary search in array of cons pairs: (key . value).
Because of nature of goto-table search is always successfull, so error check
are not performed.
Returns value associated with the KEY.
fucc.
fucc.
fucc.
fucc.
Return two values: NREVERSEd prefix of LIST of length N and suffix. LIST is destructively modified.
fucc.
fucc.
fucc.
fucc.
fucc.
lr-parse-error-condition)) ¶fucc.
parse-error-condition)) ¶data.
fucc.
parse-error-condition)) ¶fucc.
parse-conflict-condition)) ¶Unresolved conflict in parser
| Jump to: | (
A B C E F G L M N P R S W |
|---|
| Jump to: | (
A B C E F G L M N P R S W |
|---|
| Jump to: | *
C D F I L N P S T |
|---|
| Jump to: | *
C D F I L N P S T |
|---|
| Jump to: | A C E F L M P R S T |
|---|
| Jump to: | A C E F L M P R S T |
|---|