Getting the AST ?

Geir Magnusson Jr. geir at pobox.com
Sat Jan 30 16:19:41 UTC 2016


Hi,

I’m a complete newbie to this area, so please forgive the lack of proper terminology in advance.

I need to be able to transform arbitrary JS and thought that getting and transforming the AST would be a good way to do it.  I was looking at things like the Shape library and it felt … lacking, somehow.

I figure nashorn is going to be better :)

Is there any way (I’m ok if it isn’t portable) to use the JDK internals to do this?

Thanks in advance.

geir



More information about the nashorn-dev mailing list