     [
         "Factor " % vm-version %
         " " % cpu cpu>string %
-        " (" % build # ", " % vm-git-label % ", " %
+        " (" % build # ", " %
+        split-vm-git-label [ % "-" % ] [ 10 head % ] bi* ", " %
         vm-compile-time % ")\n[" %
         vm-compiler % "] on " % os os>string %
     ] "" make ;

: vm-version ( -- string ) \ vm-version get-global ; foldable

: vm-git-label ( -- string ) \ vm-git-label get-global ; foldable

: vm-compiler ( -- string ) \ vm-compiler get-global ; foldable


! copyright (c) 2007, 2010 slava pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: assocs continuations init io kernel kernel.private make
math.parser namespaces sequences splitting ;
IN: system

PRIMITIVE: (exit) ( n -- * )
