Commit Graph

18 Commits (dee9f56500134a34abc2385680cfe70ae439e4bf)

Author SHA1 Message Date
Joe Groff dee9f56500 add alternate literal syntax "X-array@ PTR LEN" for direct-arrays. pprint with this syntax when c-object-pointers? prettyprint flag is set, or the pointer under the direct-array is invalid 2009-08-30 20:23:55 -05:00
Joe Groff 08867f3576 inline sequence methods on direct-arrays 2009-08-26 21:49:45 -05:00
Joe Groff f4acf22433 specialized-arrays.direct: define byte-length on direct arrays 2009-08-25 18:54:15 -05:00
Joe Groff 79787f6259 associate specialized-arrays vocabs with c-types; add words for requiring vocabs and constructing arrays by C type 2009-08-25 17:56:01 -05:00
Joe Groff f56615cec0 add an X-sequence mixin class for each specialized array type to span X-array, X-vector, and direct-X-array 2009-08-25 15:58:18 -05:00
Joe Groff a2569ea50b make direct-*-arrays prettyprint 2009-08-13 12:05:46 -04:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Joe Groff ddf8afbb7e more typos 2009-02-09 16:37:12 -06:00
Joe Groff db6706434d tweak specialized-arrays to box values returned by nth 2009-02-09 15:38:07 -06:00
Joe Groff d24b03098a specialized arrays for complex types 2009-02-09 15:11:27 -06:00
Slava Pestov 4adef7db09 Fix functors bug where changing a hand-written method into one generated by a functor would forget the method; also associate functor-generated methods with the source file they're in.
Add DEFINES-CLASS, to parallel DEFINES.
Update math.blas and specialized-arrays/vectors to use DEFINES-CLASS where appropriate
2009-02-06 02:45:21 -06:00
Slava Pestov 1a409b9213 Fix specialized-arrays.direct.functor 2009-01-28 15:46:04 -06:00
Slava Pestov 293dc2062c Generalize specialized-arrays.direct: it should be able to wrap a byte array 2008-12-04 12:07:33 -06:00
U-SLAVA-DFB8FF805\Slava 8834f8e041 Loosen type on direct arrays since we want to use them on displaced aliens too 2008-12-03 06:52:31 -06:00
Slava Pestov 9c713fda6f Change type declaration for performance reasons 2008-12-02 21:50:53 -06:00
Slava Pestov 25bdb4172a Functor-generated words can now have stack effect declarations; define byte-array>*-array words 2008-12-02 20:35:20 -06:00
Slava Pestov 402da00390 Fixing bootstrap with specialized arrays 2008-12-02 02:44:19 -06:00
Slava Pestov 2fe364a7bb Specialized arrays work in progress 2008-11-14 20:18:16 -06:00