/core/bootstrap/layouts/layouts.factor

http://github.com/abeaumont/factor · Factor · 32 lines · 24 code · 6 blank · 2 comment · 0 complexity · b35b194f1f245693c36bac981f7b76a6 MD5 · raw file

  1. ! Copyright (C) 2007, 2009 Slava Pestov.
  2. ! See http://factorcode.org/license.txt for BSD license.
  3. USING: alien arrays byte-arrays kernel layouts math namespaces
  4. quotations strings words ;
  5. 16 data-alignment set
  6. 0b1111 tag-mask set
  7. 4 tag-bits set
  8. 14 num-types set
  9. 32 mega-cache-size set
  10. H{
  11. { fixnum 0 }
  12. { POSTPONE: f 1 }
  13. { array 2 }
  14. { float 3 }
  15. { quotation 4 }
  16. { bignum 5 }
  17. { alien 6 }
  18. { tuple 7 }
  19. { wrapper 8 }
  20. { byte-array 9 }
  21. { callstack 10 }
  22. { string 11 }
  23. { word 12 }
  24. { dll 13 }
  25. } type-numbers set
  26. 2 header-bits set