Re: Haskell: YHC: compiler errors

Hi Gwern,
I'd say abandoned prototype at this stage. I no longer work on Yhc, no
longer have a working copy, and don't have permission to push patches.
I wouldn't bother going to any effort cleaning it up, unless you want
to maintain/improve it in the long run.
That said, when I last used it, it certainly did parse case
expressions/lambdas! It was basically Haskell 98 plus a couple of
extensions, but not that much of the base library. I've no idea if you
broke something in your cleanup, or if something else got broken
before you got to it.
Thanks, Neil
On Mon, Mar 8, 2010 at 10:09 PM, Gwern Branwen
re: bin/yhc/src/compiler98/
I was trying to remove the haskell98 dep, but after I had apparently gotten rid of most, I began running into all sorts of odd syntax errors - missing \ in lambdas, = in case expressions, list syntax in type sigs - that I've begun to wonder if that is a real compiler or an abandoned prototype or something.
-- gwern

That said, when I last used it, it certainly did parse case expressions/lambdas! It was basically Haskell 98 plus a couple of extensions, but not that much of the base library. I've no idea if you broke something in your cleanup, or if something else got broken before you got to it.
If this "compiler98" is the one that is shared between yhc and nhc98 repos, then it certainly is a full working compiler for Haskell'98 + pattern-guards + existential types + FFI + hierarchical modules. Indeed, my automated builds of nhc98 still successfully build this compiler every night. (I wish the same could be said for the the base library, which has recently broken again - stick to Haskell'98 I say!) Regards, Malcolm
participants (2)
-
Malcolm Wallace
-
Neil Mitchell