Syntax validation

What is syntax validation?
The syntax validation checks whether the syntax of a program is free from programming or style editors. There are a number of tools available to check the syntax for almost any programming language. Some run locally on the computer and others are available online. These tools are also known as "linters" after the "lint" utility that checks for C errors.
Syntax validation checks the code for various programming and style errors in programming languages. There are syntax validators, also called linters, that are available for almost every programming language currently in use.

A well-known example is the "lint" utility for Unix-like operating systems written by Stephen P. Johnson at Bell Labs in 1979. The term "linter" is derived from this utility.

Syntax validators can look for things beyond syntax by flagging common errors like using variables before setting them and dividing by zero.

Syntax validators are highly specific to the programming language under review and are designed to highlight the style of code that contradicts the best practices of a programming language community. Search engines reveal many online code checkers for most programming languages.

Was the explanation to "Syntax validation"Helpful? Rate now:

Further explanations for the first letter S.