Ask Difference

Lexer vs. Parser — What's the Difference?

Difference Between Lexer and Parser

ADVERTISEMENT

Definitions

Lexer

(computing) A computer program that performs lexical analysis.

Parser

To break (a sentence) down into its component parts of speech with an explanation of the form, function, and syntactical relationship of each part.

Parser

To describe (a word) by stating its part of speech, form, and syntactical relationships in a sentence.

Parser

To process (linguistic data such as speech or written language) in real time as it is being spoken or read, in order to determine its linguistic structure and meaning.

Parser

To examine closely or subject to detailed analysis, especially by breaking up into components
"What are we missing by parsing the behavior of chimpanzees into the conventional categories recognized largely from our own behavior?" (Stephen Jay Gould).
ADVERTISEMENT

Parser

To make sense of; comprehend
I simply couldn't parse what you just said.

Parser

(Computers) To analyze or separate (input, for example) into more easily processed components.

Parser

To admit of being parsed
Sentences that do not parse easily.

Parser

(computing) A computer program that parses.

Parser

One who parses.
ADVERTISEMENT

Parser

One who parses.

Parser

A computer program that divides code up into functional components;
Compilers must parse source code in order to translate it into object code

Popular Comparisons

Featured Comparisons

Trending Comparisons

New Phrases