SmaCC
Marcus Denker
denker at iam.unibe.ch
Sat Nov 27 17:26:33 UTC 2004
Am 26.11.2004 um 17:47 schrieb Jason Rogers:
> I am exploring the SmaCC package (using it to parse Java source
> files), but I
> am greatly lacking in my understanding of parsers and scanners. My
> question
> is hopefully a simple one... Once I have parsed or just scanned the
> source,
> what can I do with it? There is a collection of SmaCCTokens returned
> via
> JavaParser class>>parse: but I don't know what to do with them. They
> seem to
> be coded in some way but I have no idea how to interpret the codes.
>
> Does anyone have a short tutorial they can point me to? The pages on
> the
> SWiki aren't very helpful and the tutorial on refactory.com isn't very
> helpful either.
>
You can look at Anthony's ClosureCompiler for a nice example of how to
use
SmaCC. (The SmaCC bases Scanner/Parser is in Package "Compiler" on
SqueakMap)
Marcus
More information about the Squeak-dev
mailing list
|