Pretty Printing

Bijan Parsia bparsia at email.unc.edu
Sun Nov 7 23:32:08 UTC 1999


At 3:59 PM -0500 11/7/99, Scott Wallace wrote:

>Bijan,
>
>I don't believe that "colorizing without reformatting" exists in the
>>current implementation, which feeds off the decompiled representation.

Whoops. That seems right. I was just going by the fact that there was a
colorizing goodie before pretty printing made it in.

>If it were possible to obtain non-pretty-printed colorization from the
>MethodNode, I agree that it might make sense to set up a UI to allow the
>user to request it.  But I believe the point to be moot.

Indeed, the colorizing code is not, as I had assumed, derived from the
colorizing goodie (which tended to over-colorized, thought some of it's
default color choices seem better, the green on the green pane doesn't
really work).

It might be worth a look at that goodie just so such functionality can be
(easily) had. (The Squeak Swiki Goodies page has links, and the 2.x version
is at: <http://home.munich.netsurf.de/Helge.Horch/SqueakSharesSoar.html>.)

Of course, it was parser based, so I guess it really won't separate the
functionality. Hmm. What's the best way to support multiple outputs from
the parse tree? (I'm thinking an html outputting formatter might be nice as
well.)

Cheers,
Bijan Parisa.





More information about the Squeak-dev mailing list