Catalog · How the catalog works
dyacclex
Archive of Delphi Yacc & Lex - saved for posterity
- ★ 1 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
Delphi Yacc & Lex - Parser generator toolset for Delphi and Kylix
Copyright (C) 2003,2004 Michiel Rook <michiel@grendelproject.nl>
Based on Turbo Pascal Lex and Yacc Version 4.1a
Copyright (c) 1990-2000 Albert Graef <ag@muwiinfa.geschichte.uni-mainz.de>
Copyright (c) 1996 Berend de Boer <berend@pobox.com>
Copyright (c) 1998 Michael Van Canneyt <Michael.VanCanneyt@fys.kuleuven.ac.be>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-------------------------------------------------------------------------
What:
Delphi Yacc & Lex is a parser generator toolset for Delphi and Kylix,
based on Turbo Pascal Lex and Yacc, version 4.1a, by Albert Graef et al [1].
Why:
The primary goal of the project is to clean up the code, and improve
compatibility and maintainability with modern versions and compilers
of the Pascal language (such as Delphi and Kylix).
Changes:
* Relicensed the following files under the LGPL:
- dlib.pas
- lexlib.pas
- yacclib.pas
Note: this was done to eliminate any confusion regarding the use of
generated parsers and the above support files in propietary software.
The files lexlib.pas and yacclib.pas were present in dyacclex's
predecessor, TPLY 4.1, without a license.
* Added PDF manual based on original TPLY 4.1 manual.
Compilation:
Compiling DYACCLEX is pretty straightforward, you only need the
following ingredients:
Linux:
Borland Kylix 3
GNU make (usually pre-installed on your system)
Windows:
Borland Delphi 6 or higher
GNU make (available from
http://www.grendelproject.nl/dls/gnumake-win32.zip)
If these ingredients are present, you then enter 'make'.
When the process terminates succesfully, you can find executables in
the 'src/lex' and 'src/yacc' directories.
Installation:
If you want to move the binaries (dyacc.exe and dlex.exe on a Windows
machine, dyacc and dlex on a Linux machine), make sure you
copy yylex.cod and yyparse.cod along with them.
All files generated by dyacc need yacclib.pas, and all files generated
by dlex need lexlib.pas. Both units can be found in the 'src' directory.
Contact:
Please send any inquiries or suggestions to michiel@grendelproject.nl.
[1]. http://www.musikwissenschaft.uni-mainz.de/~ag/tply
-------------------------------------------------------------------------
$Id$
