User manual for TP Lex and Yacc Version 4.1, compiler generator tools for Turbo Pascal, covering usage, options, regular expressions, and differences from…
This manual describes TP Lex and Yacc Version 4.1, compiler generator tools designed for the Turbo Pascal programming language. TP Lex and Yacc are Turbo Pascal adaptations of the UNIX utilities Lex and Yacc, developed independently by Albert Gräf at Johannes Gutenberg-University Mainz.
The document explains how to use TP Lex and TP Yacc, including command-line options, source file formats, regular expressions, start conditions, grammar rules, and error handling. It also notes implementation restrictions and differences from the original UNIX Lex and Yacc utilities.
| Platforms | DOS and Linux |
|---|
Turbo Pascal (TM).
Compilers and similar programs like text processing utilities and command language interpreters.
All recent flavours of Turbo/Borland Pascal, including Delphi, and the Free Pascal Compiler.
yylex.cod.