Hacker News new | ask | show | jobs
by 1-more 2043 days ago
We started with a blacklist to match against while(1), while(true), for(;;), etc, but we eventually found an eslint plugin (goedel.js) that nicely tells you if the code contains an infinite loop or recursion.
1 comments

That plug-in certainly won’t cover all cases of infinite loops, or they just solved the halting problem :)
Hmmmm maybe you're thinking of entscheidungsproblem.js? This is a fork of that.