Slava Pestov
f2a18c08cb
specialized-vectors: add specialized-vectors.mirrors vocab for inspector support
2010-06-11 17:11:21 -04:00
Joe Groff
5ca4c343c4
specialized-arrays, specialized-vectors: add direct-slice, direct-head, direct-tail, etc. words for creating specialized-arrays over subsets of specialized sequences
2010-06-08 15:00:11 -07:00
Joe Groff
3602627ff2
specialized-vectors: implement binary-object protocol for specialized-vectors
2010-06-08 13:40:07 -07:00
Joe Groff
964327de67
specialized-vectors: add push-new operation that allocates and returns a new struct on the end of a specialized vector
2010-06-08 13:15:04 -07:00
Joe Groff
9bf5c76771
lexer: add "each-token" and "map-tokens", which are equivalent to "parse-token _ each/map" but incremental. update a smattering of parsing words (such as USING:, SYMBOLS:, etc.) to use each-token/map-tokens
2010-02-28 22:19:43 -08:00
Slava Pestov
17b095a524
Slices over specialized arrays can now be passed to C functions, written to binary output streams, and given to malloc-byte-array
2010-02-25 04:50:31 +13:00
Slava Pestov
af0ddd5985
Specialized arrays, structs and other objects responding to the >c-ptr / byte-length protocol can now be written to binary streams
2010-02-24 20:18:41 +13:00
Joe Groff
243a97e8dd
specialized-vectors: fix byte-length to return byte-length of the vector rather than of its underlying capacity
2010-02-07 15:24:39 -08:00
Joe Groff
14de77d435
inline specialized-vector byte-length
2010-01-24 20:16:10 -08:00
Slava Pestov
eaff1841fa
specialized-arrays: don't define useless empty T-sequence mixin
2010-01-16 20:19:35 +13:00
Slava Pestov
102af9badb
specialized-arrays, specialized-vectors: fix potential problem if two vocabularies define different C types with the same name
2009-10-19 04:41:53 -05:00
Slava Pestov
47d8763340
More integer SIMD work
...
- move generated vocab support from specialized-arrays to vocabs.generated
- add fuzz testing to math.vectors.simd
- add alien type support for integer SIMD vectors
- SIMD: parsing word generates a SIMD type, instead of pre-generating them all in math.vectors.simd
2009-09-20 16:48:17 -05:00
Slava Pestov
16144a5eda
Load fixes
2009-09-10 21:41:12 -05:00
Slava Pestov
5cdb67d571
specialized-arrays, specialized-vectors: fix some code duplication and prettyprinting
2009-09-10 14:46:26 -05:00
Slava Pestov
7f2e2b1777
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
Slava Pestov
2fe364a7bb
Specialized arrays work in progress
2008-11-14 20:18:16 -06:00