Re: Looking for large Haskell programs
GHC is such a program, as are the other Haskell compilers. Perhaps too complicated for your purposes, though.
GHC has too many mutually recursive modules to be useful, otherwise it would be great! But I will look more into the other compilers, are they written in Haskell?, thanks for the suggestion!
I can give you a few ~5000-10000 line programs if you want. I don't quite have anything as large as 15000 lines, though.
I have quite many 5-10k programs, but thanks anyway! I really need programs with more than 15000 lines of code. //Tobias
Hi Tobias,
GHC has too many mutually recursive modules to be useful, otherwise it would be great! But I will look more into the other compilers, are they written in Haskell?, thanks for the suggestion!
The Helium compiler is 28000 lines of Haskell code; however, many of those lines are generated from attribute grammars ( http://www.cs.uu.nl/~arthurb/ag.html ) and do not really look like human written code. Anyway, http://www.cs.uu.nl/~afie/helium/ Greetings, Arjan PS: Approximately how many lines of code is GHC these days?
Tobias Gedell <d99getob@dtek.chalmers.se> writes:
GHC is such a program, as are the other Haskell compilers. Perhaps too complicated for your purposes, though.
GHC has too many mutually recursive modules to be useful, otherwise it would be great! But I will look more into the other compilers, are they written in Haskell?, thanks for the suggestion!
nhc98comp (compiler proper, excluding driver scripts, prelude, etc.) is written in almost pure Haskell'98, and seems to be about 27,000 lines these days. Of that, ~4000 lines are completely blank, and I don't know how to count the comment lines, but there are certainly more than ~3000. I can also give you a single (machine-generated) module that is 27,000 lines on its own! It is the tracing version of the standard Prelude, transformed from the ordinary published definition by Hat. Regards, Malcolm
participants (3)
-
Arjan van IJzendoorn -
Malcolm Wallace -
Tobias Gedell