top | item 35396947

(no title)

JohnBerryman | 2 years ago

Now that it's released, it's time to experiment with what it can do.

``` from cataclysm import doom

def mystery_func(): while True: pass

# predict if specified function halts print(doom.does_it_halt(mystery_func)) ```

discuss

order

thorax|2 years ago

Ah, really curious if it'll balk at the age old problem or just answer based on the code provided since it does inspect the nearby code to understand context for the generated code.

I'll have to try that when I get back to my desk!