Re:Show HN: A library to record and intercept JavaScript at ...
by dang on Saturday September 09, 2017 @02:28PM
(#15208449)
Since the big project is more interesting and didn't get much attention, we've changed the URL to that from https://maierfelix.github.io/Iroh/examples/type-checking/. We also adopted your title from https://news.ycombinator.com/item?id=15040182 as a way of fending off the title nitpicks re 'polymorphism'. (Submitted title was "JavaScript: Tracing Polymorphism at Runtime".)
the code for the example is just ~100 LOC - it's a showcase of a library called "Iroh", which brings dynamic code analysis to the whole ES5 syntax. If you're wondering what the essence behind the example is, then I really recommend to give these links a try:
Github: https://github.com/maierfelix/Iroh
More examples: https://maierfelix.github.io/Iroh/examples/index.html
Cheers!