a computer program that divides code up into functional components
"compilers must parse source code in order to translate it into object code"
A computer program that parses.
"The parser analyzes the input code to check for syntax errors before compiling it."
In plain English: A parser is a program that reads and understands code to figure out its meaning.
"The parser converted our spoken commands into actions that the computer could understand."
The word parser comes from combining parse with the suffix -er, which indicates a person or thing that performs an action. It was first used to describe someone who analyzes grammatical structures into their constituent parts.