[plt-scheme] Re: Formatting Code

From: Robby Findler (robby at cs.uchicago.edu)
Date: Sat Sep 15 21:55:02 EDT 2007

But presumably no 50,000 line files, right?

Robby

On 9/15/07, Matthias Felleisen <matthias at ccs.neu.edu> wrote:
> There actually is a 600,000 line Scheme program and you won't believe
> who owns it (lock, stock, and barrel): MSR. And they developed it and
> it pushed the limits of its underlying implementation (Chez) at the
> time. -- Matthias
>
>
> On Sep 15, 2007, at 5:50 PM, Robby Findler wrote:
>
> > The indenter is not designed for that! Usually, indentation requests
> > are on the order of a few lines, since programmers tend to keep the
> > file indented as they edit.
> >
> > I wouldn't be surprised if that is the only 50,000 line Scheme source
> > file in existence.
> >
> > Did you write it, or is it generated? If the former, maybe you
> > consider reading up on some constructs for modularity.
> >
> > Robby
> >
> > On 9/15/07, Majorinc, Kazimir <kazimir at chem.pmf.hr> wrote:
> >> Shriram Krishnamurthi wrote:
> >>> Have you tried the Reindent and Reindent All commands
> >>> in the Scheme menu of DrScheme?
> >>>
> >>
> >> Unfortunately, I have to note that these commands are very slow. It
> >> takes about 20 minutes to reindent file of 50 000 lines on a
> >> decent comp
> >> with lot of RAM. Surely, it is large file but not unrealistic either.
> >>
> >>
> >> Kazimir Majorinc
> >>
> >>
> >>
> >> _________________________________________________
> >>   For list-related administrative tasks:
> >>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >>
> > _________________________________________________
> >   For list-related administrative tasks:
> >   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>


Posted on the users mailing list.