Commit Graph

21 Commits (eb55f8575cfdf0597bef1e95f63db74ee37454c6)

Author SHA1 Message Date
Slava Pestov 1c8b2fdb1b alien.complex: fix docs 2011-10-10 22:12:50 -07:00
Joe Groff 866f6ada18 ditch string c-types 2010-02-21 10:58:21 -08:00
Slava Pestov 21093a707c alien.complex: fix tests 2009-09-24 12:59:56 -05:00
Slava Pestov e5b94b11d7 Some fixes and cleanups in math.vectors
- Tighten up type inference for operations on complex float arrays
- Fix v. to have correct behavior with complex numbers
- Rename v<< and v>> to vlshift and vrshift to avoid clashing with v>> accessor
2009-09-24 06:58:33 -05:00
Joe Groff 02b797f11b struct classes now make their own C type without help from alien.structs. remove alien.structs dependencies from everywhere outside of alien and compiler, and have the FFI handle both alien.structs and classes.struct c-types 2009-09-15 17:38:49 -05: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
Joe Groff 77eeb3e5a9 fix alien.complex unboxer 2009-08-29 23:18:31 -05:00
Joe Groff 2db9d9b8e4 change alien.complex to use struct classes 2009-08-29 20:20:25 -05:00
Joe Groff db57757871 support <c-type-array> of structs using struct-arrays 2009-08-25 20:43:48 -05:00
Joe Groff 2a6200a91d support <c-type-array> on complex ffi types 2009-08-25 19:58:04 -05:00
Doug Coleman d1ce837569 Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Slava Pestov 5f0390d83b alien.complex: fix tests 2009-08-11 14:07:33 -05:00
Slava Pestov e88dcb85ef alien: need to differentiate between the type of the result before and after boxing; the former is used by propagation for #alien-invoke nodes and the latter is used by specialized arrays. This fixes FFI unit test failures 2009-08-10 16:17:33 -05:00
Slava Pestov f45d80374c alien.structs: struct-type now has a class slot; fix specialized complex-float/double arrays 2009-08-09 16:10:11 -05:00
Slava Pestov 3ebd4594e8 Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab 2009-05-14 22:31:29 -05:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Slava Pestov 489bb32a98 Fix potential load order issue with alien.complex; it used a slot defined in alien.structs but didn't reference that file by name 2009-02-12 09:48:50 -06:00
sheeple 3c1ddde1f9 Fix complex float support on NetBSD 2009-02-12 08:10:21 -06:00
Joe Groff 32481f8e2f my stuped, let me show u it 2009-02-09 15:01:41 -06:00
Joe Groff 118f2de466 fortran-invoke sketch 2009-02-06 19:05:56 -06:00
Slava Pestov 242638fc5c alien.complex vocabulary implementing support for C99 complex numbers 2009-02-06 04:38:31 -06:00