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

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -