Open
Description
In the GHC source code:
module Main where
import Language.Haskell.Exts.Annotated
main = print . length . show =<< parseFile "testsuite/tests/perf/compiler/parsing001.hs"
Stack space overflow: current size 8388608 bytes.
Use `+RTS -Ksize -RTS' to increase it.
You have to compile with ghc, since ghci does not stack space overflow.
The example file can be obtained at https://raw.github.com/ghc/testsuite/master/tests/perf/compiler/parsing001.hs.