What tools exist for parsing Javascript and reading the results in Javascript or Ruby? -


i'd code-analysis of javascript. i'd prefer operate on asts or s-expressions. it's possible v8 engine builds this, though can't seem find documentation on how access information javascript context.

i'd happy analysis in ruby, though way can think of doing write entire grammar in treetop or similar parser-generator.

check out uglifyjs: https://github.com/mishoo/uglifyjs


Comments

Popular posts from this blog

c# - Getting "Internal .Net Framework Data Provider error 30" error when column has NULL value -

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -

SAP Web Service from .NET via WCF -