TP Lex/Yacc - Frustration.

Martin Harvey <>
12 May 1998 22:22:52 -0400

          From comp.compilers

Related articles
TP Lex/Yacc - Frustration. (Martin Harvey) (1998-05-12)
| List of all articles for this month |

From: Martin Harvey <>
Newsgroups: comp.compilers
Date: 12 May 1998 22:22:52 -0400
Organization: University of Cambridge
Keywords: lex, yacc, Pascal

Hi folks.

Just a short note:


1. TP Lex / Yacc still uses old text based file handling functions, so
it can't cope with binary files, or files with lines longer than 256

2. It's really not well suited for use under Delphi - it's all
procedural, and uses a lot of tectual inclusion.

3. It's an outdated port in general...


1. Rewrite the code templates and auxiliary libraries in an OO fashion,
so that the generated lexers and parses are objects which take input
from and write output to stream objects, thus making binary file
handling possible.

This is what I intend to do. Are there any TP Lex/Yacc users out there
who would find such a rewrite useful?

Martin H.

Martin Harvey
Uni email:
Home email:
New Web pages at:

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.