What is parsing?

前端 未结 8 1118
猫巷女王i
猫巷女王i 2020-12-23 02:24

Parsing is something I come across a lot in development, but as a junior it is one of those things I assume I will get the hang of at some point, when it is needed. In my cu

8条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-23 02:43

    A parser is a compiler / 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 or program instructions and usually builds a data structure in the form of a parse tree or an abstract syntax tree.

提交回复
热议问题