File: wisent.el.html
Parser engine and runtime of Wisent.
Wisent (the European Bison ;-) is an Elisp implementation of the GNU Compiler Compiler Bison. The Elisp code is a port of the C code of GNU Bison 1.28 & 1.31.
For more details on the basic concepts for understanding Wisent, read the Bison manual ;)
For more details on Wisent itself read the Wisent manual.
Defined variables (18)
wisent-accept-tag | Accept result after input successfully parsed. |
wisent-discarding-token-functions | List of functions to be called when discarding a lexical token. |
wisent-eoi-term | End Of Input token. |
wisent-error-tag | Process a syntax error. |
wisent-error-term | Error recovery token. |
wisent-escape-sequence-strings | Printed representation of usual escape sequences. |
wisent-input | The last token read. |
wisent-lookahead | The lookahead lexical token. |
wisent-loop | The current parser action. |
wisent-nerrs | The number of parse errors encountered so far. |
wisent-parse-error-function | The user supplied error function. |
wisent-parse-lexer-function | The user supplied lexer function. |
wisent-parse-max-recover | Number of tokens to shift before turning off error status. |
wisent-parse-max-stack-size | The parser stack size. |
wisent-parse-verbose-flag | Non-nil means to issue more messages while parsing. |
wisent-post-parse-hook | Normal hook run just after the LR parser engine terminated. |
wisent-pre-parse-hook | Normal hook run just before entering the LR parser engine. |
wisent-recovering | Non-nil means that the parser is recovering. |
Defined functions (19)
wisent-abort | () |
wisent-automaton-p | (OBJ) |
wisent-char-p | (OBJECT) |
wisent-clearin | () |
wisent-errok | () |
wisent-error | (MSG) |
wisent-item-to-string | (ITEM) |
wisent-lexer | () |
wisent-message | (STRING &rest ARGS) |
wisent-parse | (AUTOMATON LEXER &optional ERROR START) |
wisent-parse-action | (I AL) |
wisent-parse-start | (START STARTS) |
wisent-parse-toggle-verbose-flag | () |
wisent-production-bounds | (STACK I J) |
wisent-region | (&rest POSITIONS) |
wisent-set-region | (START END) |
wisent-skip-block | (&optional BOUNDS) |
wisent-skip-token | () |
wisent-token-to-string | (TOKEN) |