Re: Question in generated descriptions

Kurt Stirewalt ([email protected])
Thu, 20 Apr 1995 14:59:18 -0400

> I was looking at the descriptions generated by the mrl parser. The
>mrl parser generates the description verbatim from the text in the file.
>This includes the new lines, and tabs, etc. May be we don't want to do
>this.

I guess it depends on what tools will do with the descriptions. If they are
to display them assuming that the designer has formatted them somehow, then
we should keep the whitespace information. Otherwise, it would make sense
to strip out extraneous white space before generating the code.

>I guess, this is not top priority. But, at some point, it might
>serve well to store the description as just strings. Which means the
>parser will probably have to do some processing on these strings, to strip
>new lines, and tabs etc.

Makes sense. It would not be much trouble at all to implement this now. Is
there a consensus? Should we remove all tabs and newlines from descriptions
and just store them as strings? Let me know and I'll implement it.

-- kurt.