Common Lisp Package: INFIX

README:

FUNCTION

Public

STRING->PREFIX (STRING)

Convert a string to a prefix s-expression using the infix reader. If the argument is not a string, just return it as is.

Undocumented

TEST-INFIX (&OPTIONAL (TESTS *TEST-CASES*))

Private

GATHER-SUPERIORS (PREVIOUS-OPERATOR STREAM)

Gathers an expression whose operators all exceed the precedence of the operator to the left.

Undocumented

APPLY-TOKEN-INFIX-OPERATOR (TOKEN LEFT STREAM)

APPLY-TOKEN-PREFIX-OPERATOR (TOKEN STREAM)

FANCY-NUMBER-FORMAT-P (LEFT OPERATOR STREAM)

GET-FIRST-TOKEN (STREAM)

GET-NEXT-TOKEN (STREAM LEFT)

GET-TOKEN-INFIX-OPERATOR (TOKEN)

GET-TOKEN-PREFIX-OPERATOR (TOKEN)

INFIX-READ-DELIMITED-LIST (END-TOKEN DELIMITER-TOKEN STREAM)

INFIX-READER (STREAM SUBCHAR ARG)

OPERATOR-LESSP (OP1 OP2)

OPERATOR-RIGHT-ASSOCIATIVE-P (OPERATOR)

PEEK-TOKEN (STREAM)

POST-PROCESS-EXPRESSION (EXPRESSION)

READ-INFIX (STREAM)

READ-REGULAR (STREAM)

READ-TOKEN (STREAM)

SAME-OPERATOR-P (X Y)

SAME-TOKEN-P (X Y)

TEST-INFIX-CASE (STRING RESULT)

TOKEN-OPERATOR-P (TOKEN)

VALID-NUMBERP (STRING)

MACRO

Private

Undocumented

DEFINE-CHARACTER-TOKENIZATION (CHAR FUNCTION)

DEFINE-TOKEN-OPERATOR (OPERATOR-NAME &KEY (PREFIX NIL PREFIX-P) (INFIX NIL INFIX-P))

INFIX-ERROR (FORMAT-STRING &REST ARGS)

VARIABLE

Private

*OPERATOR-ORDERING*

Ordered list of operators of equal precedence.

Undocumented

*INFIX-READTABLE*

*NORMAL-READTABLE*

*PEEKED-TOKEN*

*RIGHT-ASSOCIATIVE-OPERATORS*

*TEST-CASES*

*TOKEN-INFIX-OPERATOR-TABLE*

*TOKEN-OPERATORS*

*TOKEN-PREFIX-OPERATOR-TABLE*

*VERSION*