Previous: Start nonterminals, Up: Grammar styles

4.1.5 Useful functions

Here is a description of some predefined functions it might be useful to know when writing new code to use Wisent in Semantic:

— Function: wisent-collect-unmatched-syntax input

Add input lexical token to the cache of unmatched tokens, in variable semantic-unmatched-syntax-cache.

See implementation of the function wisent-skip-token in Error recovery, for an example of use.