mozilla / overscripted

Repository for the Mozilla Overscripted Data Mining Challenge
Mozilla Public License 2.0
75 stars 53 forks source link

(WIP) Static analysis pipeline pt. 4: AST analysis #16

Closed busycalibrating closed 5 years ago

busycalibrating commented 5 years ago

WIP for issue #14. Script takes a .js file and uses esprima to generate an AST, where symbol information can be extracted. Currently gets a count of symbols using a list generated from #13, as well as depth and width information (albeit there are bugs associated with the depth).