Difference between revisions of "Syntax error"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(First)
 
(See also)
Line 13: Line 13:
 
* [[Computer program]]
 
* [[Computer program]]
 
* [[Computer science]]
 
* [[Computer science]]
* [[Syntax (computer programming)]]
+
* [[Syntax (programming languages)]]
  
 
== External links ==  
 
== External links ==  
  
 
* [https://en.wikipedia.org/wiki/Syntax_error Syntax error] @ Wikipedia
 
* [https://en.wikipedia.org/wiki/Syntax_error Syntax error] @ Wikipedia

Revision as of 17:33, 24 August 2015

In computer science, a syntax error is an error in the syntax of a sequence of characters or tokens that is intended to be written in a particular programming language.

Compiled languages

For compiled languages, syntax errors occur strictly at compile-time. A program will not compile until all syntax errors are corrected.

Interpreted languages

For interpreted languages,not all syntax errors can be reliably detected until run-time, and it is not necessarily simple to differentiate a syntax error from a semantic error; many don't try at all.

See also

External links