Liste des Groupes | Revenir à theory |
On 6/19/2025 1:50 AM, Mikko wrote:You close your eyes that adding the code to abort causes a change in behaviour. Then you pretend that the behaviour did not change. Very childish.On 2025-06-17 20:34:11 +0000, olcott said:*HHH is a simulating termination analyzer*
>void Infinite_Recursion()>
{
Infinite_Recursion();
return;
}
>
void Infinite_Loop()
{
HERE: goto HERE;
return;
}
>
void DDD()
{
HHH(DDD);
return;
}
Considering the scope of termination analysis the above examples are
extremely simple. The first two are easily seen as non-terminating.
The third example is incomplete as HHH is not given.
It simulates its input until it detects
a non halting behavior pattern, then it
aborts and rejects its input.
When it is understood that HHH does simulate itselfAnd they will understand also that when the abort code is added, the simulation no longer needs to be aborted. Such students understand it better than you do.
simulating DDD then any first year CS student knows
that when each of the above are correctly simulated
by HHH that none of them ever stop running unless aborted.
Les messages affichés proviennent d'usenet.