🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.archives
Article #22

[comp.lang.smalltalk] T-gen Version 2.1 for OWST 4.1

#22
From: Justin Graver
Date: Sat, 31 Oct 1992 07:58
89 lines
4368 bytes
Archive-name: auto/comp.lang.smalltalk/T-gen-Version-2-1-for-OWST-4-1

==============================================================================
	T-gen (version 2.1):  A Smalltalk-80 Translator Generator Tool
==============================================================================

Abstract:
	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.

*** Changes from Version 2.0:

	* Regular Right-Part Grammar specifications (i.e. regular
		expression style right-hand sides for productions)
		now really work.  However, translation symbols
		are still not carried along with the grammar 
		transformations, thus limiting the usefulness of
		automatic grammar transformations (maybe next release).
		I have found this feature primarily useful for 
		checking grammars written in a more human-readable form.
		
	* Improved scanner generation algorithm reduces scanner
		generation time for non-trivial scanner specs from
		several hours to a few minutes.

	* The bootstrapping classes DLGScanner and DLGParser have
		been removed.  They were previously used to create
		the classes TokenSpecScanner, TokenSpecParser, 
		GrammarSpecScanner, and GrammarSpecParser.  The
		current versions of these classes were generated
		by T-gen and are table-based (to improve performance).

	* A test suite has been added as a supplemental file-in.
		If you happen to make changes to T-gen itself, it's
		a quick way to check that things still work.  To run
		the test suite, file it in and then evaluate:
			TranslatorGenerator runAllTests.

	* Optimized versions of the 1-token and 2-token lookahead
		scanners are available and generated scanners get
		installed beneath the appropriate superclass.

	* A bug with the optimized parser installation method has 
		been corrected (it used to dump the table incorrectly).

	* Two new transcript-pane operate-button menu items have
		been added: 'save specs' and 'load specs'.  They
		cause the contents of the other three panes to be
		saved to or loaded from a file.  Thanks for this
		useful addition goes to some loyal T-gen user who will
		have to remain anonymous (since I have lost track
		of where it originally came from, sorry 'bout that).

	* Note:  there have been NO changes made to the User's Guide.

Platforms:
	T-gen currently runs under ParcPlace Objectworks/Smalltalk 
	Release 4.0 and Release 4.1.

Distribution:
	Smalltalk-80 source code and a Postscript rendering of a
	User's Guide for T-gen are available via anonymous ftp
	from st.cs.uiuc.edu in the directory:
		/pub/st80_r41/T-gen2.1

	Patches will be placed in this same directory and posted 
	to comp.lang.smalltalk as necessary.

	See the README file in the distribution for installation
	and copyright information.

For more information contact:

	Justin Graver
	graver@comm.mot.com
	(708) 576-1916
-- 
==============================================================================
|  Justin Graver                           |  Internet: graver@comm.mot.com  |
|  Motorola - Software Technology Center   |     X.400: CJG010               |
|  1301 E. Algonquin Rd                    |     Voice: (708) 576-1916       |
Technical Details
Message-ID: <1ctebvINNef7@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!agate!usenet
References: <1992Oct18.120736.7590@lmpsbbs.comm.mot.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!agate!usenet
From: graver@justin.stc.comm.mot.com (Justin Graver)
Newsgroups: comp.archives
Subject: [comp.lang.smalltalk] T-gen Version 2.1 for OWST 4.1
Followup-To: comp.lang.smalltalk
Date: 31 Oct 1992 07:58:55 GMT
Organization: Motorola LMPS Software Technology Center
Lines: 90
Sender: adam@soda.berkeley.edu
Approved: adam@soda.berkeley.edu
Distribution: world
Message-ID: <1ctebvINNef7@agate.berkeley.edu>
References: <1992Oct18.120736.7590@lmpsbbs.comm.mot.com>
NNTP-Posting-Host: soda.berkeley.edu
X-Original-Newsgroups: comp.lang.smalltalk
X-Original-Date: Sun, 18 Oct 1992 12:07:36 GMT