sh-3.1$ pwd
/c/Users/Steve/arc-master
sh-3.1$ make
cc -o arc *.c
builtins.c: In function 'builtin_load':
builtins.c:369:13: warning: assignment makes pointer from integer without a cast [enabled by default]
read.c: In function 'load_file':
read.c:268:47: warning: initialization makes pointer from integer without a cast [enabled by default]
C:\Users\Steve\AppData\Local\Temp\ccTbSwOD.o:builtins.c:(.text+0x1276): undefined reference to `_realpath'
C:\Users\Steve\AppData\Local\Temp\ccr5oXek.o:read.c:(.text+0xd45): undefined reference to `_realpath'\
collect2.exe: error: ld returned 1 exit status
make: *** [all] Error 1
sh-3.1$
Strange... It can't find realpath. Seems to be a MinGW issue according to google. I've developed the whole on Android w/ C4droid, and I'm not too experienced with MinGW, but I'll see about finding a fix!
Went to the page, selected Download Zip, downloaded the file, extracted it and ran 'make && ./' and got:
cc -o arc *.c
read.c: In function 'load_file':
read.c:308:47: warning: initialization makes pointer from integer without a cast [enabled by default]
C:\Users\Steve\AppData\Local\Temp\cctkjQZb.o:read.c:(.text+0xeb4): undefined reference to `_realpath'
collect2.exe: error: ld returned 1 exit status
make: *** [all] Error 1
I'm not sure anybody has characterized its performance to be faster or slower. But it's a small codebase and might be easier to understand than the alternative compilers.
Then again, at first glance I was unable to orient myself and figure out the global organization of the compiler. Is each scheme file a pass or a new version of the compiler with more optimizations?
Stalin (STAtic Language ImplementatioN) is an aggressive optimizing batch whole-program Scheme compiler written by Jeffrey Mark Siskind. It uses advanced flow analysis and type inference and a variety of other optimization techniques to produce code that is very fast, particularly for numerical code.[citation needed] In a number of tests it has outperformed hand-written C, sometimes by a considerable margin.[citation needed] Stalin is intended for production use in generating an optimized executable.
The compiler itself runs slowly, and there is little or no support for debugging or other niceties. Full R4RS Scheme is supported, with a few minor and rarely encountered omissions. Interfacing to external C libraries is straightforward. The compiler itself does lifetime analysis and hence does not generate as much garbage as might be expected, but global reclamation of storage is done using the Boehm garbage collector.