SmaCC Compiler-Compiler Framework
Overview
These classes implement another framework for compiler construction.
They provide generators for scanners and parsers, and includes sample
code for smalltalk, java and C.
Documentation
Summary: SmaCC (Smalltalk Compiler-Compiler) is a freely available parser generator for Smalltalk.
- Alpha - Useable by daredevils. Probably still full of bugs.
- Other license - Any other license not listed
- Squeak3.4 -
- Development tools - Add-on development tools for Squeak.
- Squeak Archive - A '.sar' file which is a zip-file following certain conventions.
- Applications - Applications written in Squeak intended for regular nonprogramming users
- Beta - Useable but still not stable, probably has bugs.
Current version: 1.0 gamma
Known Bugs:
- New Scanner/Parser-Classes cannot yet be selected from existing ones (GUI)
- Put an entry for smacc into the world menu
- Selection of parser/scanner/test code after errors doesn't work (gives only bold text right now)
Homepage: "http://www.refactory.com/Software/SmaCC/index.html"
Download: "http://www.emergent.de/smacc/smaccDevelopment.sar"
Description:
SmaCC (Smalltalk Compiler-Compiler) is a freely available parser generator for Smalltalk.
Use this package if you want to develop a new parser/scanner/compiler.
It is a replacement for the T-Gen parser generator. T-Gen has several limitations
that make it difficult to produce parsers. SmaCC overcomes T-Gen's limitations.
For example, SmaCC can generate parsers for ambiguous grammars and grammars
with overlapping tokens. Both of these are not possible using T-Gen.
In addition to handling more grammars than T-Gen, SmaCC has a smaller runtime
than T-Gen and is faster than T-Gen.
Use the tutorial as a starter.
Take care to accept the code via CMD-s in the Text-Fields.
Use the source - Luke.
Examples
See the classes in the "SmaCC-Parsers" category.
Licensing
This addOn package is NOT to be considered part of the base ST/X system.
It is provided physically with the ST/X delivery, but only for your
convenience.
Legally, it is a freeware or public domain goody, as specified in
the goodies copyright notice (see the goodies source).
No Warranty
This goody is provided AS-IS without any warranty whatsoever.
Origin/Authors
Found in the smalltalk archives.
Author:
John Brant
Maintainer:
Markus Gaelli
<info@exept.de>
Doc $Revision: 1.2 $