
Hi again, Perusing around the source repository I noticed that there are a bunch of files and directories that seems unused. Here is a list of patches to remove these. They can be pulled from http://code.haskell.org/~mboes/yhc.cmake Patch names: * Remove Make/ from src. * Cleanup the misc/ directory. * Remove the src/compiler98 folder, which is now unused. * Remove msvc files in BCKernel directory. * Remove toplevel test/ dir. It looks unused. These patches are just to flag potentially obsolete files in the repository. Let me know if any of these files are still used and I can make new patches for inclusion into the main darcs repository. Regards, Mathieu

To my knowledge all these are indeed dead. Cheers :-) Tom Mathieu Boespflug wrote:
Hi again,
Perusing around the source repository I noticed that there are a bunch of files and directories that seems unused. Here is a list of patches to remove these. They can be pulled from
http://code.haskell.org/~mboes/yhc.cmake
Patch names: * Remove Make/ from src. * Cleanup the misc/ directory. * Remove the src/compiler98 folder, which is now unused. * Remove msvc files in BCKernel directory. * Remove toplevel test/ dir. It looks unused.
These patches are just to flag potentially obsolete files in the repository. Let me know if any of these files are still used and I can make new patches for inclusion into the main darcs repository.
Regards,
Mathieu _______________________________________________ Yhc mailing list Yhc@haskell.org http://www.haskell.org/mailman/listinfo/yhc

Hi
* Remove Make/ from src.
There is no Make/ in src, its in the root. And it is an alternative build system - please do not remove until we've decided on the "one true" build system.
* Cleanup the misc/ directory.
Everything in this directory either had a purpose, or still does - leave it alone.
* Remove the src/compiler98 folder, which is now unused.
Kill, kill, kill!
* Remove msvc files in BCKernel directory.
No, these are visual studio support, and are used by the Windows build.
* Remove toplevel test/ dir. It looks unused.
Does it not have any files in it? Mine seems to have one, but that may be out of the main repo. The test directory was intended to die, as I've been gradually moving tests into the "tests" dir. Certainly anything left in test/ should be moved into tests/ then test/ should die. Thanks Neil

Hi,
* Remove Make/ from src.
There is no Make/ in src, its in the root. And it is an alternative build system - please do not remove until we've decided on the "one true" build system.
Sure. I guess then this patch should be part of the set of patches removing SCons, which may or may not be applied at a later date depending on the outcome of the Great Build System Debate. I asked another Yhc developer about Make/ who told me as far as he knew this wasn't being worked on anymore. Is it still being worked on? I note Make/ contains source for a Haskell based make system. Isn't it essential that Yhc have a build system that doesn't have Haskell as a dependency? The Yhc runtime has the big advantage of being a bytecode interpreter, meaning porting to a new architecture is theoretically a case of compiling the C runtime using a C compiler, then running the platform independent Yhc bytecode generated by some other computer. Henceforth you have a working Haskell compiler on an entirely new platform having started only with a C compiler. Someday maybe, this could be an alternative way of boostrapping GHC. Using CMake for building only means that more than a C compiler, you need a C++ compiler, but you don't need a Haskell compiler (at least to build the runtime).
* Cleanup the misc/ directory.
Everything in this directory either had a purpose, or still does - leave it alone.
The files removed by this patch are Batch.hs and Makefile.bpp, which seems to be yet another method for building under Windows and written in a Visual Basic like language. If the other build systems subsume this (or once they do), shouldn't these files be removed?
* Remove the src/compiler98 folder, which is now unused.
Kill, kill, kill!
* Remove msvc files in BCKernel directory.
No, these are visual studio support, and are used by the Windows build.
Does this mean they are used by the scons based windows build?
* Remove toplevel test/ dir. It looks unused.
Does it not have any files in it? Mine seems to have one, but that may be out of the main repo. The test directory was intended to die, as I've been gradually moving tests into the "tests" dir. Certainly anything left in test/ should be moved into tests/ then test/ should die.
It just has Split.hs, which this patch removes, along with the test/ dir. Regards, Mathieu

Hi
There is no Make/ in src, its in the root. And it is an alternative build system - please do not remove until we've decided on the "one true" build system.
Sure. I guess then this patch should be part of the set of patches removing SCons, which may or may not be applied at a later date depending on the outcome of the Great Build System Debate. I asked another Yhc developer about Make/ who told me as far as he knew this wasn't being worked on anymore. Is it still being worked on?
It can build some bits better than scons can, since it uses Cabal rather than painful single file compilation. It isn't being worked on, but it wasn't _that_ far off being a complete replacement.
Henceforth you have a working Haskell compiler on an entirely new platform having started only with a C compiler. Someday maybe, this could be an alternative way of boostrapping GHC.
True, but the Haskell build system did factor in this and had a plan to deal with it.
* Cleanup the misc/ directory.
Everything in this directory either had a purpose, or still does - leave it alone.
The files removed by this patch are Batch.hs and Makefile.bpp, which seems to be yet another method for building under Windows and written in a Visual Basic like language. If the other build systems subsume this (or once they do), shouldn't these files be removed?
They should probably be removed soon, but let me move them into their own repo first - I'll send a patch to remove these after that.
* Remove msvc files in BCKernel directory.
No, these are visual studio support, and are used by the Windows build.
Does this mean they are used by the scons based windows build?
I can't remember, but they are used by Windows developers to debug the runtime, so are very useful.
* Remove toplevel test/ dir. It looks unused.
It just has Split.hs, which this patch removes, along with the test/ dir.
I guess split isn't interesting enough to care about, so just delete it. Thanks Neil
participants (3)
-
Mathieu Boespflug
-
Neil Mitchell
-
Thomas Shackell