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
Post a Comment