Execution model: Difference between revisions

Content deleted Content added
Seanhalle (talk | contribs)
No edit summary
Fjares (talk | contribs)
m Overview: Fix typo in the name of Brian Kernighan (not Kernihan)
Line 42:
 
==Overview==
As a simple example of a basic execution model, that of the [[C (programming language)|C language]] is described in the book by KernihanKernighan and Richie.
<ref name="k&r1e">{{cite book | last = Kernighan | first = Brian W. | authorlink = Brian Kernighan |author2=Dennis M. Ritchie | title = The C Programming Language | edition = 1st | publisher = [[Prentice Hall]] | date = February 1978 | ___location = [[Englewood Cliffs, NJ]] | isbn = 0-13-110163-3 | authorlink2 = Dennis M. Ritchie }}</ref>
The book describes that work takes places in units called statements, which are syntactically indicated by a terminating ";". It specifies that statements are completed in order, one at a time, and a previous statement completes before the next statement begins. Details such as this are part of the execution model.