T-Gen -- posting Don Robert's vw3.0 parcels for T-Gen 
Author Message
 T-Gen -- posting Don Robert's vw3.0 parcels for T-Gen

See

http://www.*-*-*.com/ :8080/CincomSmalltalkWiki/Suggestion%2F...

T-Gen - The Parser Generator for Visualworks See also
http://www.*-*-*.com/
From the README: SUMMARY T-gen Version 2.2.1. (this version ported to

parcels Don Roberts sent me in January of 1999.

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.

CURRENT STATUS:

Being unable to get Don Robert's attention, I'm posting his updated
T-Gen parcels here.

KNOWN PROBLEMS:

A minor bug in the vw3.0 parcels ... a T-Gen grammar requires the class
GrammarTreeBuilder, not AbstractTreeBuilder.... here's the fix

GrammarSpecParser methodsFor: 'private'

treeBuilderClass

^GrammarTreeBuilder

These vw3.0 parcels load into a vw5i.2 image and work with the follow
caveat.

A vw5i.2 image loses the source when re-parcelling a generated
initialize method of a tgen scanner or parser. The initialize method
sets the prodTable to be an array of literals. The literal used for
representing the endOfInput is $x where x is the (Character value: 4),
an unprintable character. The XML format code reader in vw5i.2 does not
tolerate non-printable characters in the input.

--------------------------------------------------------------------------------

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.



Wed, 12 Mar 2003 09:09:49 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Top Ten Consultants' DON'Ts

2. Top Ten Consultants' DON'Ts

3. SQL Does and Don'ts

4. Ts 3.1 src in Ts 1.17

5. Tgen for VW3 problems

6. HowTo use 'event gen'

7. Timesaver error: Unknown Variable '%TS'

8. Posts to comp.lang.clipper.visual-objects

9. TS 3.10 Post Mortem Dump under OS/2

10. text alignment in word table using report gen vi's

11. Using fifo by Xilinx's core gen

12. What's with TS Marketing

 

 
Powered by phpBB® Forum Software