How to get an AST from the Smacc Java parser

Alexandre Bergel bergel at iam.unibe.ch
Thu Dec 23 20:08:18 UTC 2004


Hi!

The expression: 
JavaParser parse: 'Some Java code'

produces a collection of SmaCCToken. This is not an ast!
Is there a way to get a tree from this collection?

Cheers,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



More information about the Squeak-dev mailing list