From f65aa407e92cc9b30a08bda549647916cb93e3bf Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Thu, 4 Aug 2005 03:56:28 +0000 Subject: [PATCH] \ foo is now a first-class type; this removes the need for inference-level partial eval, and simplifies a lot of other code --- CHANGES.html | 12 +++- Makefile | 3 +- library/bootstrap/boot-stage1.factor | 1 - library/bootstrap/boot-stage3.factor | 1 - library/bootstrap/image.factor | 12 +++- library/bootstrap/primitives.factor | 1 + library/collections/namespaces.factor | 8 --- library/compiler/intrinsics.factor | 2 +- library/generic/generic.factor | 2 +- library/generic/tuple.factor | 6 +- library/inference/inference.factor | 2 + library/inference/partial-eval.factor | 97 --------------------------- library/inference/test.factor | 26 ------- library/inference/words.factor | 22 ++++++ library/kernel.factor | 6 ++ library/syntax/parse-syntax.factor | 7 +- library/syntax/prettyprint.factor | 40 ++++------- library/tools/interpreter.factor | 24 ++++--- library/ui/presentations.factor | 2 +- library/words.factor | 10 ++- native/factor.h | 1 + native/gc.c | 3 + native/memory.c | 3 + native/memory.h | 1 + native/primitives.c | 3 +- native/relocate.c | 3 + native/run.c | 12 +++- native/wrapper.c | 22 ++++++ native/wrapper.h | 13 ++++ 29 files changed, 157 insertions(+), 188 deletions(-) delete mode 100644 library/inference/partial-eval.factor delete mode 100644 library/inference/test.factor create mode 100644 native/wrapper.c create mode 100644 native/wrapper.h diff --git a/CHANGES.html b/CHANGES.html index 140ab1214f..97cf1bab0b 100644 --- a/CHANGES.html +++ b/CHANGES.html @@ -25,17 +25,23 @@ "usr/bin/grep"
  • Integers now support the sequence protocol. An integer is an increasing sequence of its predecessors. This means the count ( n -- [ 0 ... n-1 ] ) word is gone; just use >vector instead. Also, project has been made redundant by map.
  • The seq-transpose ( seq -- seq ) word is now named flip. - -
  • - +

    Factor 0.76: