On Jul 29, Paul Tremblay said:

>On Mon, Jul 29, 2002 at 12:07:05PM -0400, Jeff 'japhy' Pinyan wrote:
>
>> I've got an article in the July "Linux Magazine" ("Hitting the
>> Motherlode") about regexes (mainly in Perl).  In it, I use the term
>> "munge".  FOLDOC[1] says "a derogatory term meaning to imperfectly
>> transform data", but I don't think it's such a bad term.
>>
>> For me, munge just means using whatever means necessary to "massage" data
>> from one format to another -- that might mean extracting stuff, changing
>> its layout, or transforming it to an entirely different format.  And I use
>> "massage" here, because it's accurate:  sometimes, you get a gentle
>> backrub, and sometimes, you get painful hand-chopping on your spine.
>
>Would you make a distinction between parsing and munging? For example,
>if you wrote a script to convert Word RTF to XML, is that parsing or is
>that still munging?

I'd call parsing the extraction stage, and munging the overall process of
transformation.

But I'd probably use "parse" and "munge" interchangeably.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to