Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Parsing and Passing?

Tags:

parsing

I know this is basic knowledge but whenever you give parameters to a method are you 'parsing' them, or are you 'passing' them as 'parsing' could be something different?!

I've just never been overly sure!

Thanks

like image 387
Darius Avatar asked Apr 29 '10 16:04

Darius


People also ask

What is meant by parsing of data?

Data parsing is converting data from one format to another. Widely used for data structuring, it is generally done to make the existing, often unstructured, unreadable data more comprehensible.

What is a parsing process?

Parsing, which is the process of identifying tokens within a data instance and looking for recognizable patterns. The parsing process segregates each word, attempts to determine the relationship between the word and previously defined token sets, and then forms patterns from sequences of tokens.

What does parsing mean in programming?

A parser is a program that is part of the compiler, and parsing is part of the compiling process. Parsing happens during the analysis stage of compilation. In parsing, code is taken from the preprocessor, broken into smaller pieces and analyzed so other software can understand it.

What is parsing and types of parsing?

Parser is a compiler that is used to break the data into smaller elements coming from lexical analysis phase. A parser takes input in the form of sequence of tokens and produces output in the form of parse tree. Parsing is of two types: top down parsing and bottom up parsing.


2 Answers

You are passing them.

"Parsing" means trying to interpret text or strings and break it down into data elements of some kind. (For example, you could parse a string describing a date to turn it into a date object, or parse a file containing source code and turn it into an executable.)

like image 195
Jacob Mattison Avatar answered Sep 19 '22 08:09

Jacob Mattison


Passing. Parsing is breaking up / interpreting strings.

like image 38
froadie Avatar answered Sep 23 '22 08:09

froadie