]> gitweb.factorcode.org Git - factor.git/blobdiff - core/bootstrap/stage1.factor
Create basis vocab root
[factor.git] / core / bootstrap / stage1.factor
index 9a0f8f9d1f0588413af5e910a570be8a1fb7a664..8ca3c151ace847a9b81f20fe48295fbe42e182a2 100755 (executable)
@@ -36,6 +36,7 @@ load-help? off
     ! this must add its init hook before io.backend does
     "libc" require
 
+    ! "io.thread" require
     "io.streams.c" require
     "vocabs.loader" require
     
@@ -43,17 +44,9 @@ load-help? off
     "bootstrap.layouts" require
 
     [
-        "resource:core/bootstrap/stage2.factor"
+        "resource:basis/bootstrap/stage2.factor"
         dup exists? [
-            [ run-file ]
-            [
-                :c
-                dup print-error flush
-                "listener" vocab
-                [ restarts. vocab-main execute ]
-                [ die ] if*
-                1 exit
-            ] recover
+            run-file
         ] [
             "Cannot find " write write "." print
             "Please move " write image write " to the same directory as the Factor sources," print