Lexical analysis

From Wiki @ Karl Jones dot com
Revision as of 04:28, 22 April 2016 by Karl Jones (Talk | contribs) (External links)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In computer science, lexical analysis is the process of converting a sequence of characters (such as a computer program or web page) into a sequence of tokens (strings with an identified "meaning").

Description

A program that performs lexical analysis may be called a lexer, tokenizer, or scanner (though "scanner" is also used to refer to the first stage of a lexer).

Such a lexer is generally combined with a parser, which together analyze the syntax of programming languages, web pages, and so forth.

See also

External links