Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Maybe? At the AST level, it can might be complicated I guess, but not really. At runtime JIT though… yeah sure. The various expressions of the same AST are bountiful.

But I would love to run an analysis on every npm module published, and find the same AST subexpressions, functions, etc. Do the same thing: remove the identifiers and hash the AST parts. Even go back and see how people named the same function in different ways!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: