parser

noun
  1. A parser is a software component that takes input data (often text) and builds a data structure – often some kind of parse tree, abstract syntax tree or other hierarchical structure – giving a structural representation of the input, checking for correct syntax in the process. noun
    The parser analyzed the code to ensure it adhered to the correct syntax.
    When the parser encounters an error, it generates a message to help the programmer identify the issue.
  2. In linguistics, a parser is a tool or program that analyzes a sentence or phrase in a language to determine its grammatical structure. noun
    The linguist used a parser to break down the complex sentence into its grammatical components.
    A natural language parser can help in understanding the structure of sentences in different languages.