SeText scanner/parser generator

SeText is a textual syntax specification language and associated scanner/parser generator. It can be used to specify the syntax of a language, and automatically generate a scanner and LALR(1) parser(s).

For the purpose of this documentation, it is assumed that the reader:

  • Is familiar with scanner/parser generators (for example yacc/bison and lex/flex).

  • Is familiar with scanner and LALR(1) parser technology, including regular expressions and BNF notation.

  • Understands the limitations of the LALR(1) algorithm.

The following topics explain the SeText language and tools in more detail: