Leopold Toetsch <[EMAIL PROTECTED]> writes: > Dan Sugalski wrote: > > > On Mon, 8 Sep 2003, Leopold Toetsch wrote: > > > > >> Imcc is still lacking full integration inside Parrot. To accomplish > >> this, we would need these steps: > > >> > >>- rebuild and commit directory structure $Parrot_Root/imcc > >>- move files from languages/imcc to ../imcc [1] > >>- adapt Makefiles > >>- include imcc source files except main.c into libparrot > >> > > Almost. IMCC's getting integrated with Parrot. All the core sources > > should be in one spot, so either move the current top-level C code > > to core/ and put the IMCC stuff in there as well (in core/ directly, > > not core/imcc/) or move all the IMCC files to the top level > > directory (with the header files in include/parrot) > > > Could be done too (with some file renaming i.e. jit.c) but imcc has > its own test structure and its own TestCompiler.pm. OTOH pd07 has > something about subsystem - they should be separate. As imcc is the > assembler/compiler subsystem I'd rather have it in a separate > directory.
I think the same way. Imcc is a seperate subsystem. Clobbering the root of the source directory is not good, and moving everything to core/ neither. In the long term more code from the root directory should move to subsystems like packfile, mem etc. Furthermore the *.h should not get blindly copied to include/parrot, some of the imcc header-files are private to the imcc subsystem (like imcparser.h). These files should stay in the subsystem directory. PDD07 calls them *_private.h. > > ... The makefile needs to be integrated into the top-level > > makefile. (Again, in the top-level. I don't want a separate makefile > > for IMCC) > > > Nor do I. io is also a subsystem, but the build is controlled by the root-makefile. > > There's not much reason to have IMCC split out, so I'd rather not. > > pdd07, file name clashes, t/* > bye boe -- Juergen Boemmels [EMAIL PROTECTED] Fachbereich Physik Tel: ++49-(0)631-205-2817 Universitaet Kaiserslautern Fax: ++49-(0)631-205-3906 PGP Key fingerprint = 9F 56 54 3D 45 C1 32 6F 23 F6 C7 2F 85 93 DD 47