From 8ad4909c7a5d7c8d52a8997005704f33489223b7 Mon Sep 17 00:00:00 2001 From: slava Date: Tue, 6 Jun 2006 23:56:01 +0000 Subject: [PATCH] Since 'native Factor' is no longer a meaningful term like it was back in the JFactor days, rename native/ to vm/ --- Makefile | 64 ++++++++++++++--------------- {native => vm}/alien.c | 0 {native => vm}/alien.h | 0 {native => vm}/array.c | 0 {native => vm}/array.h | 0 {native => vm}/bignum.c | 0 {native => vm}/bignum.h | 0 {native => vm}/boolean.c | 0 {native => vm}/boolean.h | 0 {native => vm}/cards.c | 0 {native => vm}/cards.h | 0 {native => vm}/compiler.c | 0 {native => vm}/compiler.h | 0 {native => vm}/complex.c | 0 {native => vm}/complex.h | 0 {native => vm}/debug.c | 0 {native => vm}/debug.h | 0 {native => vm}/dll.c | 0 {native => vm}/dll.h | 0 {native => vm}/error.c | 0 {native => vm}/error.h | 0 {native => vm}/factor.c | 0 {native => vm}/factor.h | 0 {native => vm}/ffi_test.c | 0 {native => vm}/ffi_test.h | 0 {native => vm}/file.h | 0 {native => vm}/fixnum.c | 0 {native => vm}/fixnum.h | 0 {native => vm}/float.c | 0 {native => vm}/float.h | 0 {native => vm}/gc.c | 0 {native => vm}/gc.h | 0 {native => vm}/hashtable.c | 0 {native => vm}/hashtable.h | 0 {native => vm}/image.c | 0 {native => vm}/image.h | 0 {native => vm}/io.c | 0 {native => vm}/io.h | 0 {native => vm}/macosx/mach_signal.c | 0 {native => vm}/macosx/mach_signal.h | 0 {native => vm}/macosx/run.m | 0 {native => vm}/memory.c | 0 {native => vm}/memory.h | 0 {native => vm}/misc.c | 0 {native => vm}/misc.h | 0 {native => vm}/platform.h | 0 {native => vm}/primitives.c | 0 {native => vm}/primitives.h | 0 {native => vm}/ratio.c | 0 {native => vm}/ratio.h | 0 {native => vm}/relocate.c | 0 {native => vm}/relocate.h | 0 {native => vm}/run.c | 0 {native => vm}/run.h | 0 {native => vm}/s48_bignum.c | 0 {native => vm}/s48_bignum.h | 0 {native => vm}/s48_bignumint.h | 0 {native => vm}/sbuf.c | 0 {native => vm}/sbuf.h | 0 {native => vm}/signal.h | 0 {native => vm}/stack.c | 0 {native => vm}/stack.h | 0 {native => vm}/string.c | 0 {native => vm}/string.h | 0 {native => vm}/unix/ffi.c | 0 {native => vm}/unix/file.c | 0 {native => vm}/unix/icache.S | 0 {native => vm}/unix/memory.c | 0 {native => vm}/unix/run.c | 0 {native => vm}/unix/signal.c | 0 {native => vm}/vector.c | 0 {native => vm}/vector.h | 0 {native => vm}/windows/ffi.c | 0 {native => vm}/windows/file.c | 0 {native => vm}/windows/memory.c | 0 {native => vm}/windows/misc.c | 0 {native => vm}/windows/run.c | 0 {native => vm}/word.c | 0 {native => vm}/word.h | 0 {native => vm}/wrapper.c | 0 {native => vm}/wrapper.h | 0 81 files changed, 32 insertions(+), 32 deletions(-) rename {native => vm}/alien.c (100%) rename {native => vm}/alien.h (100%) rename {native => vm}/array.c (100%) rename {native => vm}/array.h (100%) rename {native => vm}/bignum.c (100%) rename {native => vm}/bignum.h (100%) rename {native => vm}/boolean.c (100%) rename {native => vm}/boolean.h (100%) rename {native => vm}/cards.c (100%) rename {native => vm}/cards.h (100%) rename {native => vm}/compiler.c (100%) rename {native => vm}/compiler.h (100%) rename {native => vm}/complex.c (100%) rename {native => vm}/complex.h (100%) rename {native => vm}/debug.c (100%) rename {native => vm}/debug.h (100%) rename {native => vm}/dll.c (100%) rename {native => vm}/dll.h (100%) rename {native => vm}/error.c (100%) rename {native => vm}/error.h (100%) rename {native => vm}/factor.c (100%) rename {native => vm}/factor.h (100%) rename {native => vm}/ffi_test.c (100%) rename {native => vm}/ffi_test.h (100%) rename {native => vm}/file.h (100%) rename {native => vm}/fixnum.c (100%) rename {native => vm}/fixnum.h (100%) rename {native => vm}/float.c (100%) rename {native => vm}/float.h (100%) rename {native => vm}/gc.c (100%) rename {native => vm}/gc.h (100%) rename {native => vm}/hashtable.c (100%) rename {native => vm}/hashtable.h (100%) rename {native => vm}/image.c (100%) rename {native => vm}/image.h (100%) rename {native => vm}/io.c (100%) rename {native => vm}/io.h (100%) rename {native => vm}/macosx/mach_signal.c (100%) rename {native => vm}/macosx/mach_signal.h (100%) rename {native => vm}/macosx/run.m (100%) rename {native => vm}/memory.c (100%) rename {native => vm}/memory.h (100%) rename {native => vm}/misc.c (100%) rename {native => vm}/misc.h (100%) rename {native => vm}/platform.h (100%) rename {native => vm}/primitives.c (100%) rename {native => vm}/primitives.h (100%) rename {native => vm}/ratio.c (100%) rename {native => vm}/ratio.h (100%) rename {native => vm}/relocate.c (100%) rename {native => vm}/relocate.h (100%) rename {native => vm}/run.c (100%) rename {native => vm}/run.h (100%) rename {native => vm}/s48_bignum.c (100%) rename {native => vm}/s48_bignum.h (100%) rename {native => vm}/s48_bignumint.h (100%) rename {native => vm}/sbuf.c (100%) rename {native => vm}/sbuf.h (100%) rename {native => vm}/signal.h (100%) rename {native => vm}/stack.c (100%) rename {native => vm}/stack.h (100%) rename {native => vm}/string.c (100%) rename {native => vm}/string.h (100%) rename {native => vm}/unix/ffi.c (100%) rename {native => vm}/unix/file.c (100%) rename {native => vm}/unix/icache.S (100%) rename {native => vm}/unix/memory.c (100%) rename {native => vm}/unix/run.c (100%) rename {native => vm}/unix/signal.c (100%) rename {native => vm}/vector.c (100%) rename {native => vm}/vector.h (100%) rename {native => vm}/windows/ffi.c (100%) rename {native => vm}/windows/file.c (100%) rename {native => vm}/windows/memory.c (100%) rename {native => vm}/windows/misc.c (100%) rename {native => vm}/windows/run.c (100%) rename {native => vm}/word.c (100%) rename {native => vm}/word.h (100%) rename {native => vm}/wrapper.c (100%) rename {native => vm}/wrapper.h (100%) diff --git a/Makefile b/Makefile index e2c9eb11fd..a9f136b240 100644 --- a/Makefile +++ b/Makefile @@ -22,24 +22,24 @@ else UNIX_UI_LIBS = -lfreetype -lGL -lGLU -L/usr/X11R6/lib -lX11 endif -WINDOWS_OBJS = native/windows/ffi.o \ - native/windows/file.o \ - native/windows/misc.o \ - native/windows/run.o \ - native/windows/memory.o +WINDOWS_OBJS = vm/windows/ffi.o \ + vm/windows/file.o \ + vm/windows/misc.o \ + vm/windows/run.o \ + vm/windows/memory.o -UNIX_OBJS = native/unix/file.o \ - native/unix/signal.o \ - native/unix/ffi.o \ - native/unix/memory.o \ - native/unix/icache.o +UNIX_OBJS = vm/unix/file.o \ + vm/unix/signal.o \ + vm/unix/ffi.o \ + vm/unix/memory.o \ + vm/unix/icache.o MACOSX_OBJS = $(UNIX_OBJS) \ - native/macosx/run.o \ - native/macosx/mach_signal.o + vm/macosx/run.o \ + vm/macosx/mach_signal.o GENERIC_UNIX_OBJS = $(UNIX_OBJS) \ - native/unix/run.o + vm/unix/run.o ifdef WINDOWS PLAF_OBJS = $(WINDOWS_OBJS) @@ -52,25 +52,25 @@ else endif endif -OBJS = $(PLAF_OBJS) native/array.o native/bignum.o \ - native/s48_bignum.o \ - native/complex.o native/error.o \ - native/factor.o native/fixnum.o \ - native/float.o native/gc.o \ - native/image.o native/memory.o \ - native/misc.o native/primitives.o \ - native/ratio.o native/relocate.o \ - native/run.o \ - native/sbuf.o native/stack.o \ - native/string.o native/cards.o native/vector.o \ - native/word.o native/compiler.o \ - native/alien.o native/dll.o \ - native/boolean.o \ - native/debug.o \ - native/hashtable.o \ - native/io.o \ - native/wrapper.o \ - native/ffi_test.o +OBJS = $(PLAF_OBJS) vm/array.o vm/bignum.o \ + vm/s48_bignum.o \ + vm/complex.o vm/error.o \ + vm/factor.o vm/fixnum.o \ + vm/float.o vm/gc.o \ + vm/image.o vm/memory.o \ + vm/misc.o vm/primitives.o \ + vm/ratio.o vm/relocate.o \ + vm/run.o \ + vm/sbuf.o vm/stack.o \ + vm/string.o vm/cards.o vm/vector.o \ + vm/word.o vm/compiler.o \ + vm/alien.o vm/dll.o \ + vm/boolean.o \ + vm/debug.o \ + vm/hashtable.o \ + vm/io.o \ + vm/wrapper.o \ + vm/ffi_test.o default: @echo "Run 'make' with one of the following parameters:" diff --git a/native/alien.c b/vm/alien.c similarity index 100% rename from native/alien.c rename to vm/alien.c diff --git a/native/alien.h b/vm/alien.h similarity index 100% rename from native/alien.h rename to vm/alien.h diff --git a/native/array.c b/vm/array.c similarity index 100% rename from native/array.c rename to vm/array.c diff --git a/native/array.h b/vm/array.h similarity index 100% rename from native/array.h rename to vm/array.h diff --git a/native/bignum.c b/vm/bignum.c similarity index 100% rename from native/bignum.c rename to vm/bignum.c diff --git a/native/bignum.h b/vm/bignum.h similarity index 100% rename from native/bignum.h rename to vm/bignum.h diff --git a/native/boolean.c b/vm/boolean.c similarity index 100% rename from native/boolean.c rename to vm/boolean.c diff --git a/native/boolean.h b/vm/boolean.h similarity index 100% rename from native/boolean.h rename to vm/boolean.h diff --git a/native/cards.c b/vm/cards.c similarity index 100% rename from native/cards.c rename to vm/cards.c diff --git a/native/cards.h b/vm/cards.h similarity index 100% rename from native/cards.h rename to vm/cards.h diff --git a/native/compiler.c b/vm/compiler.c similarity index 100% rename from native/compiler.c rename to vm/compiler.c diff --git a/native/compiler.h b/vm/compiler.h similarity index 100% rename from native/compiler.h rename to vm/compiler.h diff --git a/native/complex.c b/vm/complex.c similarity index 100% rename from native/complex.c rename to vm/complex.c diff --git a/native/complex.h b/vm/complex.h similarity index 100% rename from native/complex.h rename to vm/complex.h diff --git a/native/debug.c b/vm/debug.c similarity index 100% rename from native/debug.c rename to vm/debug.c diff --git a/native/debug.h b/vm/debug.h similarity index 100% rename from native/debug.h rename to vm/debug.h diff --git a/native/dll.c b/vm/dll.c similarity index 100% rename from native/dll.c rename to vm/dll.c diff --git a/native/dll.h b/vm/dll.h similarity index 100% rename from native/dll.h rename to vm/dll.h diff --git a/native/error.c b/vm/error.c similarity index 100% rename from native/error.c rename to vm/error.c diff --git a/native/error.h b/vm/error.h similarity index 100% rename from native/error.h rename to vm/error.h diff --git a/native/factor.c b/vm/factor.c similarity index 100% rename from native/factor.c rename to vm/factor.c diff --git a/native/factor.h b/vm/factor.h similarity index 100% rename from native/factor.h rename to vm/factor.h diff --git a/native/ffi_test.c b/vm/ffi_test.c similarity index 100% rename from native/ffi_test.c rename to vm/ffi_test.c diff --git a/native/ffi_test.h b/vm/ffi_test.h similarity index 100% rename from native/ffi_test.h rename to vm/ffi_test.h diff --git a/native/file.h b/vm/file.h similarity index 100% rename from native/file.h rename to vm/file.h diff --git a/native/fixnum.c b/vm/fixnum.c similarity index 100% rename from native/fixnum.c rename to vm/fixnum.c diff --git a/native/fixnum.h b/vm/fixnum.h similarity index 100% rename from native/fixnum.h rename to vm/fixnum.h diff --git a/native/float.c b/vm/float.c similarity index 100% rename from native/float.c rename to vm/float.c diff --git a/native/float.h b/vm/float.h similarity index 100% rename from native/float.h rename to vm/float.h diff --git a/native/gc.c b/vm/gc.c similarity index 100% rename from native/gc.c rename to vm/gc.c diff --git a/native/gc.h b/vm/gc.h similarity index 100% rename from native/gc.h rename to vm/gc.h diff --git a/native/hashtable.c b/vm/hashtable.c similarity index 100% rename from native/hashtable.c rename to vm/hashtable.c diff --git a/native/hashtable.h b/vm/hashtable.h similarity index 100% rename from native/hashtable.h rename to vm/hashtable.h diff --git a/native/image.c b/vm/image.c similarity index 100% rename from native/image.c rename to vm/image.c diff --git a/native/image.h b/vm/image.h similarity index 100% rename from native/image.h rename to vm/image.h diff --git a/native/io.c b/vm/io.c similarity index 100% rename from native/io.c rename to vm/io.c diff --git a/native/io.h b/vm/io.h similarity index 100% rename from native/io.h rename to vm/io.h diff --git a/native/macosx/mach_signal.c b/vm/macosx/mach_signal.c similarity index 100% rename from native/macosx/mach_signal.c rename to vm/macosx/mach_signal.c diff --git a/native/macosx/mach_signal.h b/vm/macosx/mach_signal.h similarity index 100% rename from native/macosx/mach_signal.h rename to vm/macosx/mach_signal.h diff --git a/native/macosx/run.m b/vm/macosx/run.m similarity index 100% rename from native/macosx/run.m rename to vm/macosx/run.m diff --git a/native/memory.c b/vm/memory.c similarity index 100% rename from native/memory.c rename to vm/memory.c diff --git a/native/memory.h b/vm/memory.h similarity index 100% rename from native/memory.h rename to vm/memory.h diff --git a/native/misc.c b/vm/misc.c similarity index 100% rename from native/misc.c rename to vm/misc.c diff --git a/native/misc.h b/vm/misc.h similarity index 100% rename from native/misc.h rename to vm/misc.h diff --git a/native/platform.h b/vm/platform.h similarity index 100% rename from native/platform.h rename to vm/platform.h diff --git a/native/primitives.c b/vm/primitives.c similarity index 100% rename from native/primitives.c rename to vm/primitives.c diff --git a/native/primitives.h b/vm/primitives.h similarity index 100% rename from native/primitives.h rename to vm/primitives.h diff --git a/native/ratio.c b/vm/ratio.c similarity index 100% rename from native/ratio.c rename to vm/ratio.c diff --git a/native/ratio.h b/vm/ratio.h similarity index 100% rename from native/ratio.h rename to vm/ratio.h diff --git a/native/relocate.c b/vm/relocate.c similarity index 100% rename from native/relocate.c rename to vm/relocate.c diff --git a/native/relocate.h b/vm/relocate.h similarity index 100% rename from native/relocate.h rename to vm/relocate.h diff --git a/native/run.c b/vm/run.c similarity index 100% rename from native/run.c rename to vm/run.c diff --git a/native/run.h b/vm/run.h similarity index 100% rename from native/run.h rename to vm/run.h diff --git a/native/s48_bignum.c b/vm/s48_bignum.c similarity index 100% rename from native/s48_bignum.c rename to vm/s48_bignum.c diff --git a/native/s48_bignum.h b/vm/s48_bignum.h similarity index 100% rename from native/s48_bignum.h rename to vm/s48_bignum.h diff --git a/native/s48_bignumint.h b/vm/s48_bignumint.h similarity index 100% rename from native/s48_bignumint.h rename to vm/s48_bignumint.h diff --git a/native/sbuf.c b/vm/sbuf.c similarity index 100% rename from native/sbuf.c rename to vm/sbuf.c diff --git a/native/sbuf.h b/vm/sbuf.h similarity index 100% rename from native/sbuf.h rename to vm/sbuf.h diff --git a/native/signal.h b/vm/signal.h similarity index 100% rename from native/signal.h rename to vm/signal.h diff --git a/native/stack.c b/vm/stack.c similarity index 100% rename from native/stack.c rename to vm/stack.c diff --git a/native/stack.h b/vm/stack.h similarity index 100% rename from native/stack.h rename to vm/stack.h diff --git a/native/string.c b/vm/string.c similarity index 100% rename from native/string.c rename to vm/string.c diff --git a/native/string.h b/vm/string.h similarity index 100% rename from native/string.h rename to vm/string.h diff --git a/native/unix/ffi.c b/vm/unix/ffi.c similarity index 100% rename from native/unix/ffi.c rename to vm/unix/ffi.c diff --git a/native/unix/file.c b/vm/unix/file.c similarity index 100% rename from native/unix/file.c rename to vm/unix/file.c diff --git a/native/unix/icache.S b/vm/unix/icache.S similarity index 100% rename from native/unix/icache.S rename to vm/unix/icache.S diff --git a/native/unix/memory.c b/vm/unix/memory.c similarity index 100% rename from native/unix/memory.c rename to vm/unix/memory.c diff --git a/native/unix/run.c b/vm/unix/run.c similarity index 100% rename from native/unix/run.c rename to vm/unix/run.c diff --git a/native/unix/signal.c b/vm/unix/signal.c similarity index 100% rename from native/unix/signal.c rename to vm/unix/signal.c diff --git a/native/vector.c b/vm/vector.c similarity index 100% rename from native/vector.c rename to vm/vector.c diff --git a/native/vector.h b/vm/vector.h similarity index 100% rename from native/vector.h rename to vm/vector.h diff --git a/native/windows/ffi.c b/vm/windows/ffi.c similarity index 100% rename from native/windows/ffi.c rename to vm/windows/ffi.c diff --git a/native/windows/file.c b/vm/windows/file.c similarity index 100% rename from native/windows/file.c rename to vm/windows/file.c diff --git a/native/windows/memory.c b/vm/windows/memory.c similarity index 100% rename from native/windows/memory.c rename to vm/windows/memory.c diff --git a/native/windows/misc.c b/vm/windows/misc.c similarity index 100% rename from native/windows/misc.c rename to vm/windows/misc.c diff --git a/native/windows/run.c b/vm/windows/run.c similarity index 100% rename from native/windows/run.c rename to vm/windows/run.c diff --git a/native/word.c b/vm/word.c similarity index 100% rename from native/word.c rename to vm/word.c diff --git a/native/word.h b/vm/word.h similarity index 100% rename from native/word.h rename to vm/word.h diff --git a/native/wrapper.c b/vm/wrapper.c similarity index 100% rename from native/wrapper.c rename to vm/wrapper.c diff --git a/native/wrapper.h b/vm/wrapper.h similarity index 100% rename from native/wrapper.h rename to vm/wrapper.h