parser
[0]
A parser is a compiler or interpreter component that breaks data into smaller
elements for easy translation into another language. A parser takes input in
the form of a sequence of tokens, interactive commands, or program instructions
and breaks them up into parts that can be used by other components in
programming.
[1]
A compiler is often made up of several components, one of which is a parser.
Compiler always have a parser inside. Parser just process the language and
return the tree representation of it, compiler generate something from that
tree, actual machine codes or another language.
|