TP Lex and Yacc Compiler Tools Version 4.1 User Manual

User manual for TP Lex and Yacc Version 4.1, compiler generator tools for Turbo Pascal, covering usage, options, regular expressions, and differences from…


TP Lex and Yacc Compiler Tools Version 4.1 User Manual - cover page
Brand
TP
Category
Programming
Document type
User Manual
Language
English
Pages
34
File format
PDF
File size
183 KB
Published
19 November, 2026
Updated
19 November, 2026
MD5 checksum
53F4CA5548D8D4A5D21E4D75E6F5DE9D

About this manual

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.

What's inside

  • Introduction
  • TP Lex
  • TP Yacc
  • Regular Expressions
  • Start Conditions
  • Implementation Restrictions
  • Differences from UNIX Lex
  • Differences from UNIX Yacc
  • Grammar Rules and Actions
  • Error Handling

Specifications

PlatformsDOS and Linux

Frequently asked questions

What programming language are TP Lex and Yacc designed for?

Turbo Pascal (TM).

What kinds of programs are TP Lex and Yacc designed to help prepare?

Compilers and similar programs like text processing utilities and command language interpreters.

Which compiler environments does Version 4.1 work with?

All recent flavours of Turbo/Borland Pascal, including Delphi, and the Free Pascal Compiler.

What file is needed by TP Lex when constructing the output file?

yylex.cod.

Download PDF (183 KB)

More TP Manuals


View all TP manuals →