Информационный сервер для программистов: Исходники со всего света. Паскальные исходники со всего света
  Powered by Поисковый сервер Яndex: Найдется ВСЁ!
На Главную Исходники Форум Информер Страны мира
   Разбор и Анализ Строк    >>    tply30a1
   
 
 TP Lex and Yacc Version 3.0a Exe and Docs   Albert Graef 13.05.1992

TP Lex and Yacc version 3.0a - A lexical analyzer generator for MS-DOS/Turbo Pascal. TP Yacc - Yet Another Compiler Compiler for MS-DOS/Turbo Pascal.



107k 
 

TP Lex and Yacc Version 3.0 as of April 1991, Version 3.0a as of May 1992 Copyright (c) 1990-92 by Albert Graef, Schillerstrasse 18, 6509 Schornsheim, Germany (ag@muwiinfa.geschichte.uni-mainz.de) All rights reserved This disk contains TP Lex and Yacc, compiler generator tools for Borland's Turbo Pascal (4.0 or later), running under MS-DOS (3.0 or later). (Turbo Pascal is a trademark of Borland International.) The TP Lex and Yacc software is licensed free of charge and may be copied and redistributed for non-profit purposes. There is no warranty of any kind. In particular, I do not guarantee that the software is free of bugs, or fits some particular purpose, and I take no responsibility for damages or any other consequences of its use. The manual is contained in the file TPLY.DOC on the disk. It can be printed using the DOS command `copy tply.doc prn'. (A TeX'ed version of the manual is contained in the file TPLY.TEX.) The manual provides a rather terse description of TP Lex and Yacc and you should follow the references given there for further reading. As distributed, the TP Lex and Yacc library units (LEXLIB.TPU and YACCLIB.TPU) are compiled with Turbo Pascal 6.0; to use them with other Turbo Pascal versions you probably have to recompile these units (sources LEXLIB.PAS and YACCLIB.PAS on the distribution disk). Older versions of TP Lex and Yacc are no longer supported. Most programs written for TP Lex and Yacc 2.0 should not to be too difficult to adapt to the new version. The major differences are: - The TP Lex library routine `start' is now used to set the start state of the lexical analyzer (in V2.0, this routine was named `begin_'). - TP Lex no longer supports character tables (%T). - TP Lex now provides an optimization option which causes TP Lex to generate minimal DFA's, and a verbose option to generate a readable description (.LST file) of the constructed DFA. - The TP Yacc error message printing routine is now named `yyerror' (as in the UNIX version); in V2.0 it was named `yymsg'. The V2.0 routine named `yyerror' (which t