Development note for February 12, 2015
EclipseFP clearly doesn't deal with very large Haskell files, at least those generated by Happy. The PHP parser in Phaestus has a source file of about 1400 lines and generates a Haskell source file that's about three quarters of a megabyte in size. Trying to work with this file in EclipseFP makes my system nearly unusable due to frequent launches of buildwrapper which suck down 2 gigabytes or more of memory, which I suspect is due to buildwrapper trying to deal with the very large Happy output file. Unfortunately, there doesn't appear to be a good way to tell EclipseFP or buildwrapper to disregard the Haskell file generated by Happy.
I'm seriously considering attempting to rewrite this parser in Parsec, but the problem I have there is that PHP really needs a modal lexer, and I need to figure out how to do this. I suspect the answer is going to be a custom monad type, but I don't really understand Parsec well enough to be sure. It might be possible to use the Alex lexer I already have with Parsec.
Nothing much committed today; struggling with this behavior and with a rampaging headache has resulted in very little productive development.










