parseq

API Reference

parseq

A library for parsing sequences such as strings and lists using parsing expression grammars.

PARSEQ

  • Condition PARSEQ-ERROR  (SIMPLE-ERROR)
    Generic error for the parseq library
  • Condition GENERIC-PARSE-ERROR  (PARSEQ-ERROR)
    Generic parsing error
  • Condition PARSE-MATCH-ERROR  (GENERIC-PARSE-ERROR)
    Error condition for when the sequence does not match the parsing grammar rules.
  • Condition PARSE-JUNK-ERROR  (GENERIC-PARSE-ERROR)
    Error condition for when the sequence is only partially parsed, leaving junk at the end.
  • Condition RULE-DEFINITION-ERROR  (PARSEQ-ERROR)
    Generic error for rule definitions
  • Condition INVALID-TERMINAL-ERROR  (RULE-DEFINITION-ERROR)
    Error condition for rule definitions where a terminal is unknown.
  • Condition INVALID-OPERATION-ERROR  (RULE-DEFINITION-ERROR)
    Error condition for rule definitions where the usage of an operation is invalid.
  • Condition PROCESSING-OPTIONS-ERROR  (RULE-DEFINITION-ERROR)
    Error condition for rule definitions where a processing option is invalid.
  • Condition RUNTIME-ERROR  (PARSEQ-ERROR)
    Generic runtime error
  • Condition UNKNOWN-RULE-ERROR  (RUNTIME-ERROR)
    Error condition for situations where a rule definition is not found at runtime.
  • Condition INVALID-RULE-ERROR  (RUNTIME-ERROR)
    Error condition for malformed calls to rules.
  • Condition LEFT-RECURSION-ERROR  (RUNTIME-ERROR)
    Error condition for situations where left recursion is detected at runtime.
  • Function PARSEQ (rule sequence &key (start 0) end junk-allowed parse-error)
  • Function TRACE-RULE (name &key recursive)
  • Function UNTRACE-RULE (name)
  • Macro DEFRULE (name lambda-list expr &body options)
  • Macro WITH-LOCAL-RULES (&body body)
  • Macro WITH-SAVED-RULES (&body body)