Turing complete

From APIDesign

(Difference between revisions)
Jump to: navigation, search
(New page: A language is wikipedia:Turing complete when it can compute a generic computation. Supporting just **if** and **for** (with bounded number of repetitions) isn't enough. To be [[Tur...)
Current revision (07:52, 9 March 2018) (edit) (undo)
 
Line 1: Line 1:
-
A [[language]] is [[wikipedia:Turing complete]] when it can compute a generic computation. Supporting just **if** and **for** (with bounded number of repetitions) isn't enough. To be [[Turing complete]] the language needs a way to express an indefinite cycle - e.g. either by offering **while** statement or by supporting [[recursive]] invocation of its functions.
+
A [[language]] is [[wikipedia:Turing complete]] when it can compute a generic computation. Supporting just '''If''' and '''for''' (with bounded number of repetitions) isn't enough. To be [[Turing complete]] the language needs a way to express an indefinite cycle - e.g. either by offering '''while''' statement or by supporting recursive invocation of its functions.

Current revision

A language is wikipedia:Turing complete when it can compute a generic computation. Supporting just If and for (with bounded number of repetitions) isn't enough. To be Turing complete the language needs a way to express an indefinite cycle - e.g. either by offering while statement or by supporting recursive invocation of its functions.

Personal tools
buy