9fans archive / 1998 / 02 / 7 / prev next From: elliott Elliott.Hughes@gen... Subject: [9fans] and now, for something completely different... Date: Mon, 02 Feb 1998 09:50:03 +0100 schwartz+9fans@bio... wrote: > > Kazumi Iwane <iwane@lit...> writes: > | Oops. Hugs is not a lisp/scheme interpreter, but it's > | a haskell interpreter. Sorry. > > Close enough. :-) > What sort of changes were required? Either hack out the disgusting misuse of #if or use APE. Run mk and wait until the compiler stops with an error about running out of registers (IIRC), break the multi-line deeply-nested return statement in two (i.e. do half the work into a temporary, then return the rest of the expr using the temporary) and mk again. I think there are only a couple of places where you have to do this. You might want to edit the nasty terminal-handling stuff too (i.e. strip it all out). I hacked 8½ to let me read the window width in characters (I used lucida sans typewriter, so it made sense for me) so that the output routines knew where to word wrap. I'm not sure it was worth it. Anyway, in short, it's dead easy. Particularly if you use ape. -- Elliott Hughes - GeneData AG, Postfach 254, CH-4016 Basel, Switzerland mailto:elliott.hughes@gen... http://users.ch.genedata.com/~enh/