|
|
|
|
|
by yters
2884 days ago
|
|
Yes, strict translation requires solving the halting problem in the general case. E.g. translate this dynamically typed program into a statically typed one: if halts(input): return 1
else: return "Nope"
However, you can always write an interpreter in your desired language and avoid the halting problem. But, that's not really translation. |
|