Can be easily done with RB: You parse it (RBParser parseExpression: aString) and do a semantic analysis (see the tests in AST-Tests-Semantics for examples).
Lukas On Thursday, December 29, 2011, Sean P. DeNigris <[email protected]> wrote: > How would I programmatically find out what classes are referenced in a > string. For example: > 'Object new. String new' "would return { Object. String }" > > -- > View this message in context: http://forum.world.st/Classes-referenced-in-code-string-tp4244214p4244214.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > > -- Lukas Renggli (mobile) http://www.lukas-renggli.ch
