Common Lisp Package: META-SEXP

LL(1) parser generator in META using s-expressions.

README:

FUNCTION

Public

Undocumented

ALNUM? (C)

ALPHA? (C)

ASCII? (C)

BIT? (C)

CHAR-ACCUM-PUSH (CHAR ACCUM)

DIGIT? (C)

EMPTY-CHAR-ACCUM-P (ACCUM)

EMPTY-LIST-ACCUM-P (ACCUM)

EXTENDED? (C)

GRAPHIC? (C)

LOWER? (C)

MAKE-CHAR-ACCUM (&KEY (SIZE 512))

MAKE-LIST-ACCUM

NEWLINE? (C)

RESET-CHAR-ACCUM (ACCUM)

SPACE? (C)

TAB? (C)

UPPER? (C)

WHITE-SPACE? (C)

Private

PARSER-CONTEXT-ATTACHMENT (INSTANCE)

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

PARSER-CONTEXT-CHECKPOINTS (INSTANCE)

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

PARSER-CONTEXT-CURSOR (INSTANCE)

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

PARSER-CONTEXT-DATA (INSTANCE)

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

PARSER-CONTEXT-ICASES (INSTANCE)

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

PARSER-CONTEXT-SIZE (INSTANCE)

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

Undocumented

CHECKPOINT (CTX)

COMMIT (CTX)

COPY-PARSER-CONTEXT (INSTANCE)

MAKE-PARSER-CONTEXT (&KEY ((DATA DUM0) NIL) ((SIZE DUM1) NIL) ((CURSOR DUM2) 0) ((CHECKPOINTS DUM3) NIL) ((ICASES DUM4) NIL) ((ATTACHMENT DUM5) NIL))

MATCH-ATOM (CTX ATOM &AUX (C (PEEK-ATOM CTX)))

SETFPARSER-CONTEXT-ATTACHMENT (NEW-VALUE INSTANCE)

SETFPARSER-CONTEXT-CHECKPOINTS (NEW-VALUE INSTANCE)

SETFPARSER-CONTEXT-CURSOR (NEW-VALUE INSTANCE)

SETFPARSER-CONTEXT-ICASES (NEW-VALUE INSTANCE)

PARSER-CONTEXT-P (OBJECT)

PEEK-ATOM (CTX)

READ-ATOM (CTX)

ROLLBACK (CTX)

MACRO

Public

Undocumented

DEFATOM (NAME (C) &BODY BODY)

DEFRENDERER (NAME (&REST ARGS) (&OPTIONAL ATTACHMENT) &BODY BODY)

DEFRULE (NAME (&REST ARGS) (&OPTIONAL ATTACHMENT) &BODY BODY)

LIST-ACCUM-PUSH (ITEM ACCUM)

RESET-LIST-ACCUM (ACCUM)

Private

WITH-UNIQUE-NAMES ((&REST BINDINGS) &BODY BODY)

Syntax: WITH-UNIQUE-NAMES ( { var | (var x) }* ) declaration* form* Executes a series of forms with each VAR bound to a fresh, uninterned symbol. The uninterned symbol is as if returned by a call to GENSYM with the string denoted by X - or, if X is not supplied, the string denoted by VAR - as argument. The variable bindings created are lexical unless special declarations are specified. The scopes of the name bindings and declarations do not include the Xs. The forms are evaluated in order, and the values of all but the last are discarded (that is, the body is an implicit PROGN).

Undocumented

MATCH-RULE (CTX RULE ARGS)

MATCH-TYPE (CTX TYPE)

GENERIC-FUNCTION

Public

TRANSFORM-GRAMMAR (RET CTX IN-META DIRECTIVE &OPTIONAL ARGS)

META grammar transformation methods.

Undocumented

CREATE-PARSER-CONTEXT (INPUT &REST ARGS &KEY ATTACHMENT END START BUFFER-SIZE)

CLASS

Private

Undocumented

PARSER-CONTEXT