What is Parsing??

I saw the word is various platforms such as gaming, coding.... etc.. please explain in each scenario..

7/14/2019 2:24:58 AM


5 Answers

New Answer


Well usually parsing is a process when you get different kinds of unordered information from some external sources. It could be an output from an external database, website pages or usually just a file. Data can be represented in a mixed way, but you have to get this data and moreover you have to add it to your specific structure (classes, variables and etc.). Let's talk specifically about this. We have a huge file of some trading data. We don't need the most part of the information in it just some specific numbers but the information is mixed. We see some patterns of it. That's where regular expressions work out perfectly. You can use it in many programming languages and they are the most efficient way to do text parsing.


I've heard about parse time which is the time before compilation. There was a question describing the parse time of case sensitive and non case sensitive languages you can check that.


Basically, taking an input from one type, and then converting it to an other.


Source code usually gets parsed before it is interpreted or compiled. Another example is when xml documents are parsed and stored into a tree structure.


parse: to examine a program and analyze the syntactic structure.