Common Lisp Package: FUCC

README:

FUNCTION

Public

USE-VALUE (VALUE &OPTIONAL CONDITION)

Transfer control and VALUE to a restart named USE-VALUE, or return NIL if none exists.

Undocumented

PARSER-LL (LEXER LL-DATA)

PARSER-LR (LEXER PARSER)

Private

ACTION-TYPE (ACTION)

Action designator (implementation-dependent)

BIN-SEARCH-GOTO-TABLE (TABLE KEY)

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.

LONGER-P (LIST LEN)

True, iff LIST is longher than LEN.

LR-CONFIG-DATA-STACK (INSTANCE)

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

LR-CONFIG-STATE-STACK (INSTANCE)

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

LR-CONFIG-TERM-STACK (INSTANCE)

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

NSPLIT-LIST (LIST N)

Return two values: NREVERSEd prefix of LIST of length N and suffix. LIST is destructively modified.

REDUCE-ACTION-FUNCTION (INSTANCE)

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

REDUCE-ACTION-LEN (INSTANCE)

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

REDUCE-ACTION-TERM (INSTANCE)

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

SHIFT-ACTION-NEW-STATE (INSTANCE)

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

STATE-ID (INSTANCE)

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

STATE-TABLE (INSTANCE)

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

Undocumented

ACCEPT-ACTION-P (OBJECT)

ALIST-TO-HASH-TABLE (LIST)

COPY-ACCEPT-ACTION (INSTANCE)

COPY-ERROR-ACTION (INSTANCE)

COPY-LR-CONFIG (INSTANCE)

COPY-REDUCE-ACTION (INSTANCE)

COPY-SHIFT-ACTION (INSTANCE)

COPY-STATE (INSTANCE)

ERROR-ACTION-P (OBJECT)

LL-RULE-ACTIONS (LL-RULE)

LL-RULE-NTERMS (LL-RULE)

LL-TERMINAL-P (ID)

SETFLR-CONFIG-DATA-STACK (NEW-VALUE INSTANCE)

LR-CONFIG-P (OBJECT)

SETFLR-CONFIG-STATE-STACK (NEW-VALUE INSTANCE)

SETFLR-CONFIG-TERM-STACK (NEW-VALUE INSTANCE)

MAKE-ACCEPT-ACTION (&KEY)

MAKE-ERROR-ACTION (&KEY)

MAKE-LR-CONFIG (&KEY ((STATE-STACK DUM233) (ERROR ))) ((TERM-STACK DUM234) NIL) ((DATA-STACK DUM235) NIL))

MAKE-REDUCE-ACTION (&KEY ((TERM DUM111) 0) ((LEN DUM112) 0) ((FUNCTION DUM113) #'LIST))

MAKE-SHIFT-ACTION (&KEY ((NEW-STATE DUM73) (ERROR )))

MAKE-STATE (&KEY ((ID DUM5) 0) ((TABLE DUM6) (ERROR )))

NEGATIVE->NT (NG)

NT->NEGATIVE (ID)

PARSER-LR--REDUCE! (CONFIG ACTION PARSER *NEXT-TOKEN* *NEXT-DATA*)

PARSER-LR--SHIFT! (CONFIG ATOM-ID DATA STATE)

POP-N-STACK (DATA-STACK ACTION-STACK N)

SETFREDUCE-ACTION-FUNCTION (NEW-VALUE INSTANCE)

SETFREDUCE-ACTION-LEN (NEW-VALUE INSTANCE)

REDUCE-ACTION-P (OBJECT)

SETFREDUCE-ACTION-TERM (NEW-VALUE INSTANCE)

SETFSHIFT-ACTION-NEW-STATE (NEW-VALUE INSTANCE)

SHIFT-ACTION-P (OBJECT)

SETFSTATE-ID (NEW-VALUE INSTANCE)

STATE-P (OBJECT)

SETFSTATE-TABLE (NEW-VALUE INSTANCE)

MACRO

Private

LL-FINAL-ACTION (LEN ACTION)

Final ACTION (form that returns function) where rule length is LEN (unsigned byte)

LL-MIDDLE-ACTION (LEN ACTION)

Non-final ACTION (form that return function). LEN is unsigned byte that defines number of preceeding tokens.

WITH-LR-CONFIG ((STATE-STACK-VAR TERM-STACK-VAR DATA-STACK-VAR) STACK &BODY BODY)

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.

Undocumented

REV-APPLY (N FUNC LIST-EXP)

STACK-POPPER (N)

GENERIC-FUNCTION

Private

Undocumented

ERROR-CONFIG (CONDITION)

ERROR-DATA (CONDITION)

ERROR-TOKEN-ID (CONDITION)

POSSIBLE-ACTIONS (CONDITION)

CLASS

Private

Undocumented

ACCEPT-ACTION

ERROR-ACTION

LR-CONFIG

REDUCE-ACTION

SHIFT-ACTION

STATE

CONDITION

Public

LR-PARSE-ERROR-CONDITION

LR-specific parser error

PARSE-ERROR-CONDITION

General parsing error

Private

PARSE-CONFLICT-CONDITION

Unresolved conflict in parser