Y
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
flafla2
2043 days ago
That plug-in certainly won’t cover all cases of infinite loops, or they just solved the halting problem :)
link
1-more
2043 days ago
Hmmmm maybe you're thinking of entscheidungsproblem.js? This is a fork of that.
link