tgen
所属分类:编译器/解释器
开发工具:Unix_Linux
文件大小:143KB
下载次数:4
上传日期:2004-12-07 21:22:18
上 传 者:
pingbincode
说明: 編譯器的語法產生器
( 鈻♀枴鈻aw 鈻iving )
文件列表:
tgen2.2.1 (0, 2003-11-16)
tgen2.2.1\CATALOG-CARD (253, 1996-09-12)
tgen2.2.1\Collections-GraphNodes.st (27196, 1996-11-22)
tgen2.2.1\Collections-Graphs.st (2771, 1996-11-22)
tgen2.2.1\Compilers-Parsers.st (44418, 1996-11-22)
tgen2.2.1\Compilers-Scanners.st (34904, 1996-11-22)
tgen2.2.1\T-Genmisc.st (15973, 1996-11-22)
tgen2.2.1\T-gen-ConflictStrategies.st (1828, 1996-11-22)
tgen2.2.1\T-gen-GrammarNodes.st (15063, 1996-11-22)
tgen2.2.1\T-gen-Interface.st (88106, 1996-11-23)
tgen2.2.1\T-gen-ParseTrees.st (14069, 1996-11-22)
tgen2.2.1\T-gen-RegularExpressionNodes.st (37620, 1996-11-22)
tgen2.2.1\T-gen-ScanningParsing.st (31240, 1996-11-22)
tgen2.2.1\T-gen-Support.st (34369, 1996-11-22)
tgen2.2.1\T-gen-TestSuite.st (45201, 1996-09-12)
tgen2.2.1\T-gen-TokenSpecificationNodes.st (8320, 1996-11-22)
tgen2.2.1\T-gen-init.st (157, 1996-09-12)
tgen2.2.1\tgen.html (2866, 1997-02-04)
tgen2.2.1\tgen.html~ (2721, 1997-02-04)
tgen2.2.1\usersGuide.ps (300005, 1996-09-12)
SUMMARY T-gen Version 2.2.1.
T-gen is a general-purpose object-oriented tool for the
automatic generation of string-to-object translators.
It is written in Smalltalk and lives in the Smalltalk
programming environment. T-gen supports the generation
of both top-down (LL) and bottom-up (LR) parsers, which
will automatically generate derivation trees, abstract
syntax trees, or arbitrary Smalltalk objects. The simple
specification syntax and graphical user interface are
intended to enhance the learning, comprehension, and
usefulness of T-gen.
LEGAL INFORMATION
=======================================================================
The authors make NO WARRANTY or representation, either express
or implied, with respect to this software, its quality, accuracy,
merchantability, or fitness for a particular purpose. This software
is provided "AS IS", and you, its user, assume the entire risk as to
its quality and accuracy.
This software is copyright (c) 1992, 1994 by Justin O. Graver.
All rights reserved, except as specified below.
Permission is hereby granted to use, copy, modify, and distribute
this software (or portions thereof) for any purpose, without fee,
subject to these conditions:
(1) If any part of the source code for this software is distributed,
then this notice must be included, unaltered; and any additions,
deletions, or changes to the original files must be clearly indicated
in accompanying documentation.
(2) Permission for use of this software is granted only if the user
accepts full responsibility for any undesirable consequences; the
authors accept NO LIABILITY for damages of any kind.
Permission is NOT granted for the use of any author's name in
advertising or publicity relating to this software or products
derived from it.
We specifically permit and encourage the use of this software as the
basis of commercial products, provided that all warranty or liability
claims are assumed by the product vendor.
Developed under the direction of Justin Graver.
Authors include: Justin Graver, Virat Hanvivatpong, and David Wilson.
Send any comments, suggestions, or defects to: Justin.Graver@gmc.com.
=======================================================================
DISTRIBUTION
This directory contains source code and documentation for T-gen.
Supplemental Files:
usrguide.ps: contains a Postscript version of the T-gen user's guide.
st80comp.st: contains a T-gen version of the Smalltalk-80
complier that builds parsetrees using the standard Smalltalk parsetree
classes.
tstsuite.st: contains methods for performs several basic tests
on the T-gen system. Refer to TranslatorGenerator class>>runAllTests.
This README file contains the Smalltalk code necessary to build the current
version of T-gen, which runs under ParcPlace's VisualWorks(tm) Release 2.0.
To install T-gen, see INSTALLATION below. (If you want to use T-gen with
VW Release 1.0, simply remove the file vw2delta.st from the list of files in the
INSTALLATION section below.)
INSTALLATION
To install the complete T-gen system, fill in the appropriate path for the
T-gen source files and then select and evaluate the following expression:
| sourceDir |
sourceDir := '\smalltalk\newtgen\' asFilename.
#(
'Collections-Graphs.st'
'Collections-GraphNodes.st'
'Compilers-Parsers.st'
'Compilers-Scanners.st'
'T-gen-Support.st'
'T-gen-ParseTrees.st'
'T-gen-GrammarNodes.st'
'T-gen-RegularExpressionNodes.st'
'T-gen-TokenSpecificationNodes.st'
'T-gen-ScanningParsing.st'
'T-gen-ConflictStrategies.st'
'T-gen-Interface.st'
'T-Genmisc.st'
'T-gen-init.st'
)
do: [:file | (sourceDir construct: file) fileIn]
To install a minimal T-gen system, capable of executing scanners
and parsers generated by T-gen but which does not contain the T-gen
tool interface, select and evaluate the following expression:
| sourceDir |
sourceDir := '../T-gen/' asFilename.
#(
'Collections-Graph_Nodes.st'
'Compilers-Parsers.st'
'Compilers-Scanners.st'
'T-gen-Parse_Trees.st'
'T-gen-Scanning_Parsing.st'
'misc-changes.st'
)
do: [:file | (sourceDir construct: file) fileIn]
近期下载者:
相关文件:
收藏者: