|
|
|
|
|
by peti
5525 days ago
|
|
My point is not about checking if the given program will halt or not. The parent comment's suggestion was: (1) for each possible input program, (1.a) compile it, and (1.b) check if the result equals the given compiled code. Agreed, steps (1.a) and (1.b) terminate deterministically (for a given compiler). However, the search space for this search procedure is infinite. Similarly, it would be impossible, in general, to exhaustively test every possible input of a compiler. |
|