Page 1 of 1

Recursive and Parsed?

Posted: Mon Aug 13, 2007 10:25 am
by Yamagushi
I know it sounds like a noob question but what is the difference between the two, as far as i believe recursive copys everything linked to it and if i got that right thens whats parsed do lol?

Posted: Mon Aug 13, 2007 10:27 am
by Zone 117
Detox wrote:Parse = to get into easier to read data

Re: Recursive and Parsed?

Posted: Mon Aug 13, 2007 10:32 am
by Prey
Yamagushi wrote:I know it sounds like a noob question but what is the difference between the two, as far as i believe recursive copys everything linked to it and if i got that right thens whats parsed do lol?
Yes that is what recursive means. Parsed on the other hand means taking one data structure, and transferring it to another structure. Not necessarily to make it easier to read Zone/Detox.

One example is taking an .ent plugin, which is basically just a structured piece of text, and parsing it into a visual format, a.k.a, entity's meta editor.

Posted: Mon Aug 13, 2007 10:34 am
by Yamagushi
hmm i kinda get what your saying but still a little lost, for instance say you made a new weap tag, and your transferring it from one map to another what would be the difference in having/not having parsed checked? Does it not copy all its data when unchecked?

Re: Recursive and Parsed?

Posted: Mon Aug 13, 2007 10:40 am
by Zone 117
Prey wrote:
Yamagushi wrote:I know it sounds like a noob question but what is the difference between the two, as far as i believe recursive copys everything linked to it and if i got that right thens whats parsed do lol?
Yes that is what recursive means. Parsed on the other hand means taking one data structure, and transferring it to another structure. Not necessarily to make it easier to read Zone/Detox.

One example is taking an .ent plugin, which is basically just a structured piece of text, and parsing it into a visual format, a.k.a, entity's meta editor.
Same thing Prey.

Re: Recursive and Parsed?

Posted: Mon Aug 13, 2007 10:56 am
by Prey
Yamagushi wrote:hmm i kinda get what your saying but still a little lost, for instance say you made a new weap tag, and your transferring it from one map to another what would be the difference in having/not having parsed checked? Does it not copy all its data when unchecked?
I'm not totally sure of the inner-workings of entity, having not used it much myself. But I would of thought it wouldn't have mattered when transferring. But you should find the output to be different when extracting meta with and without 'parsed' checked.
Zoner117 wrote:Same thing Prey.
Perhaps my example was, but parsing does not always mean to make something easier to read. For example in programming you may have a piece of text that is a number, but you cannot just assign it to a number variable because you know it to be one, because at the end of the day it is still text, and until you parse it to a data structure that is read as a number and not text, your just going to get errors.

Posted: Mon Aug 13, 2007 11:07 am
by Zone 117
Yamagushi wrote:hmm i kinda get what your saying but still a little lost, for instance say you made a new weap tag, and your transferring it from one map to another what would be the difference in having/not having parsed checked? Does it not copy all its data when unchecked?
Also just a tip if you didn't know, drag and drop doesn't work in Entity, so if that is your problem, just extract and build instead.

Posted: Mon Aug 13, 2007 11:13 am
by -DeToX-
Point still gets across:
Example: ENTParsers may read the ent plugin, and store all the information on them into a class, which indeed is a better way to read plugins, as apposed to directly(ew).