I would like to do Javascript code analysis. I would rather work for AST or S-Expression s. Of course, it is possible that the V8 engine is building this, although I cannot find any documentation on how to access this information from the Javascript context.
I would be very happy to do my analysis in Ruby, although the only way I can think of is to write a complete grammar in Treetop or a similar parser.
source
share