wschou@waikato.ac.nz (02/12/91)
How does one create the Scheme->C compiler from the scheme files directly? I have compiled and linked the c source supplied with the 28 SEP 1990 release and have successfully created a working compiler and interpreter on a SPARC 1 using the patches provided. However, when I use this to recompile the scheme source to C I run into problems. Firstly, there are several syntax errors in the scheme source; in particular in files scsc/misccode, scrt/scrt5.sc, scrt/scdebug.sc so the c files supplied could not have been generated from the given scheme files. When the syntax errors are corrected the c files produced the the original compiler are largely identical with the supplied c files but the files scsc/expform.c, scsc/misccode.c and scsc/readtext.c seem to differ. It is difficult to compare these generated c files with the supplied ones as there are trivial differences in the compiler-generated variables names. The newly created scheme compiler will correctly compile several scheme files but hangs on some including scsc/expform.sc and scrt/scdebug.sc. I have also found the following simple example will not compile either although it does with the original compiler: (module test) (define-external var test) (define var 0) Has anyone else been able to generate a working Scheme->C compiler from the scheme source. Wayne Schou wschou@waikato.ac.nz