On Thu, May 13, 2010 at 9:13 PM, Lukas Renggli <renggli@gmail.com> wrote:
Now I saw a new package: AST-Semantic Which are the dependecies of that package?
It depends on AST-Core.
Ok.
and who depends on it ?
Nobody at the moment. It can annotate the AST with semantic information. For example, it can tell you if two variables refer to the same thing. And it can tell you what kind of variables this is. And where and in what scope it is defined. And where and in what scopes it is read and written. And if it is shadowing or being shadowed by other variables. Or if it is a special variable like 'self', something you cannot determine just by looking at the name.
The package might be useful to define some more sophisticated transformation or refactoring. Currently I am using it in Helvetia, but also the New Compiler and other tools might find it useful.
Good to know. I add it for the moment. Now, another problems while running tests: Deprecation: The method ArrayedCollection asSortedArray has been deprecated. Use asArray sort in BogusDamage >> repairCategories: Deprecation: The method Boolean and:and:and: has been deprecated. Use and: instead in BogusDamage >> repairMethod: At least, they are easy to fix ;) Cheers Mariano Lukas
-- Lukas Renggli www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project