No, not a stupid question. In the screenshot you showed there was also semantic information displayed. You can get that in Pharo too, but you need to tell the AST in which context to resolve it: (RBParser parseExpression: 'x + y') annotateInClass: Point; explore Cheers, Lukas On 20 May 2011 22:33, Bernardo Ezequiel Contreras <vonbecmann@gmail.com>wrote:
yes, you are right!! stupid question.
Thanks![?]
On Fri, May 20, 2011 at 4:45 PM, Lukas Renggli <renggli@gmail.com> wrote:
Indeed, then
(RBParser parseExpression: '1 + 2') explore
is probably the closest you get.
Lukas
On 20 May 2011 21:37, Bernardo Ezequiel Contreras <vonbecmann@gmail.com> wrote:
i dont know how to answer. so i would show an example http://groovy.codehaus.org/Groovy+Console
http://groovy.codehaus.org/download/attachments/36800/astbrowser.png?version...
The groovy console has an AST browser, and i was wondering where the AST Browser for Pharo is. I played with the RBParser to parse an expression and inspect the AST
tree,
but i could not find a nice browser( or inspector )
Thanks
On Fri, May 20, 2011 at 2:54 PM, Lukas Renggli <renggli@gmail.com> wrote:
Hi Bernardo,
What do you understand as an "AST browser"? A special inspector for AST nodes?
Lukas
On 20 May 2011 18:35, Bernardo Ezequiel Contreras <
vonbecmann@gmail.com>
wrote:
Hi All,
do you know where i can get an AST Browser?
Thanks
-- Lukas Renggli www.lukas-renggli.ch
-- Lukas Renggli www.lukas-renggli.ch
-- Lukas Renggli www.lukas-renggli.ch