]> gitweb.factorcode.org Git - factor.git/commitdiff
bootstrap.image: minor cleanup.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 16 Jul 2015 18:09:17 +0000 (11:09 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 16 Jul 2015 18:09:17 +0000 (11:09 -0700)
basis/bootstrap/image/image.factor

index b0bf307456f1af188e64a779fce214bc1c188a6a..a874c05c49659754df64fa293fe9d64add8f8950 100755 (executable)
@@ -5,8 +5,8 @@ byte-arrays classes classes.builtin classes.private
 classes.tuple classes.tuple.private combinators
 combinators.short-circuit combinators.smart
 compiler.codegen.relocation compiler.units fry generic
-generic.single.private grouping hashtables hashtables.private
-io io.binary io.encodings.binary io.files io.pathnames kernel
+generic.single.private grouping hashtables hashtables.private io
+io.binary io.encodings.binary io.files io.pathnames kernel
 kernel.private layouts locals make math math.order namespaces
 namespaces.private parser parser.notes prettyprint quotations
 sequences sequences.private source-files strings system vectors
@@ -17,7 +17,7 @@ IN: bootstrap.image
     2dup [ windows? ] [ ppc? ] bi* or [
       [ drop unix ] dip
     ] unless
-    [ name>> ] [ name>> ] bi* "-" glue ;
+    [ name>> ] bi@ "-" glue ;
 
 : my-arch ( -- arch )
     os cpu arch ;
@@ -28,11 +28,11 @@ IN: bootstrap.image
 : my-boot-image-name ( -- string )
     my-arch boot-image-name ;
 
-: images ( -- seq )
+CONSTANT: images
     {
         "windows-x86.32" "unix-x86.32"
         "windows-x86.64" "unix-x86.64"
-    } ;
+    }
 
 <PRIVATE