Commit Graph

14 Commits (0e3d598e69e372193b7e8cd8f86d0a851640bf3a)

Author SHA1 Message Date
John Benediktsson 0e3d598e69 specialized-arrays: performed some cleanup.
Specifically,
    •   Created >c-array to be replacement for >T-array.
    •   Created cast-array to be generic replacement for all T-array-cast words.
    •   Created c-array@ to be generic replacement for T-array@ words.
    •   Replaced usages of <T-array> with T <c-array>
    •   Replaced usages of <direct-T-array> with T <c-direct-array>
    •   Replaced usages of >T-array with T >c-array
    •   Replaced usages of T-array-cast with T cast-array
    •   Replaced usages of malloc-T-array with T malloc-array.
    •   Removed malloc-T-array.
    •   Removed T-array-cast.
    •   Removed T-array@.
    •   Removed >T-array.

I also added (but didn't change any code to use):
    •   T c-array-type, returns T-array
    •   T c-array?, returns T-array?
    •   c-array{ T ... }, returns T-array{ ... }

Bootstraps just find on Mac OS X.  Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Slava Pestov cca5dd082d io.files.unix: fix load errors arising from byte-length being moved 2010-02-24 21:20:21 +13:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 527db8995a Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
erg a8dcede569 fix file-systems on the bsds 2009-09-01 13:16:37 -05:00
Joe Groff 9d42347e8e Merge branch 'master' of git://factorcode.org/git/factor into struct-updates 2009-08-31 12:01:04 -05:00
Doug Coleman d84d6b5921 try to fix file-systems on a few platforms 2009-08-31 11:49:29 -05:00
Doug Coleman efde19d940 fix netbsd file-systems 2009-08-31 11:38:21 -05:00
Joe Groff 82e3ec2fe8 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/environment/winnt/winnt.factor
	basis/io/files/windows/nt/nt.factor
	basis/windows/shell32/shell32.factor
2009-08-31 10:35:58 -05:00
Doug Coleman 21791cb97a remove direct uint arrays in file info 2009-08-30 11:58:30 -05:00
Doug Coleman 7cc67ebbd0 change all stat, statfs, statvfs and calendar structs 2009-08-30 04:06:41 -05:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
slava 82e452a885 Fix Linux bootstrap 2008-12-15 02:18:59 -06:00
Slava Pestov 50e214c152 io.files split up and general refactoring work in progress 2008-12-14 20:03:00 -06:00