What does parse mean?

Started by
6 comments, last by craphead 21 years, 4 months ago
???
50/50 Robotics and Software
Advertisement
Well, its meaning may vary, but roughly it means breaking a piece of data into parts (usually breaking a piece of text up)

EDIT :: From dictionary.com:
quote:
1. To break (a sentence) down into its component parts of speech with an explanation of the form, function, and syntactical relationship of each part.
2. To describe (a word) by stating its part of speech, form, and syntactical relationships in a sentence.
3.
a) To examine closely or subject to detailed analysis, especially by breaking up into components: “What are we missing by parsing the behavior of chimpanzees into the conventional categories recognized largely from our own behavior?” (Stephen Jay Gould).
b) To make sense of; comprehend: I simply couldn't parse what you just said.
4. Computer Science. To analyze or separate (input, for example) into more easily processed components.


John B

[edited by - JohnBSmall on November 26, 2002 9:41:07 PM]
The best thing about the internet is the way people with no experience or qualifications can pretend to be completely superior to other people who have no experience or qualifications.
it says parse error at end of input???
50/50 Robotics and Software
OK, this means that there is an error in your code, so the compiler can''t understand it (can''t parse it). Check that you haven''t missed out any semi-colons at the end of lines, or made any other simple mistakes. If you can''t find anything, then post your code here.

John B
The best thing about the internet is the way people with no experience or qualifications can pretend to be completely superior to other people who have no experience or qualifications.
k

so. you are suffering from a compiler error or a runtime error. generally the best way to get a programming question answered is to say: "i am writing a program that does X". the compiler is printing this error: "insert error here". why is it saying that.

alternitivly if it's a runtime error you say: "i am writing a program that does X" when i do Y, it crashes with the error "insert error here". this is the block of code that gets executed at that point in the program.

if you don't know where the error is coming from, put in some print statements saying "here" or "about to run function foo()". so that you know exactly where the program gets to when it is crashing.

also, your debugger is your friend so learning to use that will help a lot as well.

-me

[edited by - Palidine on November 26, 2002 10:10:46 PM]
thx

[edited by - craphead on November 27, 2002 12:29:32 PM]
50/50 Robotics and Software
quote:Original post by craphead
thx

[edited by - craphead on November 27, 2002 12:29:32 PM]

Hehe, you actually needed to edit a post consisting of only three characters ... silly


Lektrix
[ Google || ACCU || BarrysWorld || E-Mail Me ]
[ Google || Start Here || ACCU || STL || Boost || MSDN || GotW || CUJ || MSVC++ Library Fixes || BarrysWorld || [email=lektrix@barrysworld.com]E-Mail Me[/email] ]
Bet he removed he original text?

.lick

This topic is closed to new replies.

Advertisement