
"Ross Paterson"
Can we now get rid of -i and :project?
Yes, I think that's a reasonable code simplification to make; I doubt there are users of either feature nowadays. Anyway, I'm in the middle of making a code change that tidies up the handling of options, so perhaps you could wait until then? Couple of hours away from committing, I reckon. --sigbjorn

...
Anyway, I'm in the middle of making a code change that tidies up the handling of options, so perhaps you could wait until then? Couple of hours away from committing, I reckon.
This is turning out to be a bigger reorg than expected..hoping to have it straightened out today. In short, I'm working towards having a cleaner separation between code that implements the UI(s) and the actual interpreter. Need to do this in order to non-hackily support .NET code calling back into Haskell. The added modularity will, I hope, be deemed a worthwhile change. --sigbjorn

In short, I'm working towards having a cleaner separation between code that implements the UI(s) and the actual interpreter.
Good luck! We (Cherrielyn and I) made an effort when I was at Yale but didn't manage to achieve complete separation and abandoned it. By the way, if you fancy doing some cleanup... Some of the files in hugs98/src/*.c are ridiculously large and contain code that is only marginally related. machdep.c springs to mind. As I understand it, this goes back to the days when DOS C compilers (or maybe it was make or the shell?) couldn't handle more than about 8 filenames on the command line. This is probably also the reason for #including .c files into each other. Splitting some of those files up a bit seems like a very worthwhile goal. I'm also not sure what the benefit of putting (almost) all machine dependencies into machdep.c is. Well, I can see the benefit of viewing all platforms as some kind of uniform abstract machine implemented by the machdep.c code but I also see the benefit of putting related code (e.g., the DLL loading code and the ffi code) in the same file. -- Alastair
participants (3)
-
Alastair Reid
-
Ross Paterson
-
Sigbjorn Finne