What is Parsing?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 15

What is Parsing??

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

14th Jul 2019, 2:24 AM
Aditya
Aditya - avatar
5 Answers
+ 19
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.
14th Jul 2019, 2:53 AM
Ivan Avdonin
+ 5
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.
15th Jul 2019, 6:48 AM
Manoj
Manoj - avatar
+ 4
Basically, taking an input from one type, and then converting it to an other.
15th Jul 2019, 7:05 AM
Keivan Ipchi
Keivan Ipchi - avatar
+ 3
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.
15th Jul 2019, 3:25 AM
Sonic
Sonic - avatar
+ 2
parse: to examine a program and analyze the syntactic structure.
15th Jul 2019, 7:12 PM
DIYE
DIYE - avatar