factor/core/bootstrap/layouts/layouts.factor

37 lines
812 B
Factor
Raw Normal View History

! Copyright (C) 2007, 2009 Slava Pestov.
2007-09-20 18:09:08 -04:00
! See http://factorcode.org/license.txt for BSD license.
USING: namespaces math words kernel alien byte-arrays
hashtables vectors strings sbufs arrays
quotations assocs layouts classes.tuple.private
kernel.private ;
2007-09-20 18:09:08 -04:00
BIN: 111 tag-mask set
8 num-tags set
3 tag-bits set
15 num-types set
2007-09-20 18:09:08 -04:00
32 mega-cache-size set
2007-09-20 18:09:08 -04:00
H{
{ fixnum BIN: 000 }
{ bignum BIN: 001 }
{ array BIN: 010 }
2009-04-26 09:06:37 -04:00
{ float BIN: 011 }
{ quotation BIN: 100 }
2009-04-26 09:06:37 -04:00
{ POSTPONE: f BIN: 101 }
{ object BIN: 110 }
{ hi-tag BIN: 110 }
{ tuple BIN: 111 }
2007-09-20 18:09:08 -04:00
} tag-numbers set
tag-numbers get H{
{ wrapper 8 }
{ byte-array 9 }
{ callstack 10 }
{ string 11 }
{ word 12 }
{ dll 13 }
{ alien 14 }
} assoc-union type-numbers set