Commit Graph

81 Commits (127ff76c085959ae0e4284016643894d7550d0b7)

Author SHA1 Message Date
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
Slava Pestov 215127e9f6 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-12 09:20:35 -06:00
Slava Pestov 2c88d339d0 Improve type inference for struct returns 2009-02-12 09:20:32 -06:00
sheeple 3c1ddde1f9 Fix complex float support on NetBSD 2009-02-12 08:10:21 -06:00
sheeple facd455e92 Working on complex float support in FFI on NetBSD 2009-02-12 06:25:07 -06:00
Joe Groff 94a5582edc tweak fortran-invoke so that unit tests can set fortran-abi without being shouted over 2009-02-11 14:05:57 -06:00
Joe Groff a0421edf97 set fortran abi in fortran-invoke macro 2009-02-10 16:39:24 -06:00
Joe Groff 0279270dda un-unportable the blas stuff 2009-02-10 15:11:39 -06:00
Joe Groff 8a144b7b94 support different fortran ABIs 2009-02-10 13:11:06 -06:00
Joe Groff dd9ceba26a Merge branch 'master' of git://factorcode.org/git/factor 2009-02-09 22:08:48 -06:00
Joe Groff 204f5195f7 mark blas libs unportable till i sort out all the fortran abis 2009-02-09 22:08:35 -06:00
Joe Groff f7d9f2ab2e typo in alien.fortran docs 2009-02-09 19:02:20 -06:00
Joe Groff 03f7a72d41 alien.fortran docs 2009-02-09 18:44:36 -06:00
Joe Groff ebdd135d62 gfortran returns float for REAL functions, not double like f2c 2009-02-09 16:36:46 -06:00
Joe Groff 08b02fadc9 typos 2009-02-09 15:51:59 -06:00
Joe Groff db6706434d tweak specialized-arrays to box values returned by nth 2009-02-09 15:38:07 -06:00
Joe Groff 32481f8e2f my stuped, let me show u it 2009-02-09 15:01:41 -06:00
Joe Groff d41c1f2b09 Merge branch 'master' into fortran 2009-02-09 14:36:39 -06:00
Joe Groff 42265cbc62 start hacking on math.blas.vectors to switch to fortran 2009-02-09 14:35:44 -06:00
Joe Groff 0522f63e5f alien.fortran metadata 2009-02-09 14:20:29 -06:00
Joe Groff 4dd500b5b1 fortran-invoke works(?) 2009-02-09 13:29:50 -06:00
Daniel Ehrenberg b65b88364c Updating lots of things to use call( -- ) 2009-02-08 22:12:11 -06:00
Joe Groff 118f2de466 fortran-invoke sketch 2009-02-06 19:05:56 -06:00
Joe Groff 6ff37d2951 Merge branch 'master' of git://factorcode.org/git/factor into fortran 2009-02-06 19:05:25 -06:00
Slava Pestov 33b513fb05 byte-length on f outputs 0 2009-02-06 10:16:51 -06:00
Joe Groff da05150686 Merge branch 'master' into fortran 2009-02-06 10:07:35 -06:00
Joe Groff 7e2ac604e7 some initial work on invoking fortran functions 2009-02-06 10:06:22 -06:00
Slava Pestov 242638fc5c alien.complex vocabulary implementing support for C99 complex numbers 2009-02-06 04:38:31 -06:00
Slava Pestov 7ffbbb13e0 Specialized arrays can now be passed to alien functions directly, without calling underlying>> first 2009-02-06 04:36:17 -06:00
Slava Pestov 7bb0e78314 Add support for C99 complex float and complex double types to FFI
They are named complex-float and complex-double in the Factor world
2009-02-06 04:02:00 -06:00
Joe Groff 7b1f16ae5e fortran records 2009-02-05 18:51:50 -06:00
Joe Groff 4429c17f63 implement fortran-arg-type>c-type and fortran-ret-type>c-type 2009-02-05 16:39:23 -06:00
Joe Groff 4f1dc5cd0c implement fortran-name>symbol-name and fortran-type>c-type 2009-02-05 15:31:58 -06:00
Joe Groff c24bc639d1 unit tests for alien.fortran 2009-02-05 15:29:59 -06:00
slava e29f18a2f4 Trying to fix a bad merge...
Revert "Merge branch 'master' of git://factorcode.org/git/factor"

This reverts commit da639739bd, reversing
changes made to 346a61f497.
2009-02-03 00:27:34 -06:00
U-SLAVA-DFB8FF805\Slava a4a6885189 Fix setters for value struct slots and add unit test for this case; this fixes an io.mmap regression on Windows 2009-01-28 01:58:57 -06:00
Slava Pestov a8d1459c08 Rename compiled slot of words to optimized, to reflect what it really means (all words are compiled) 2009-01-23 00:37:02 -06:00
Slava Pestov 71bc5e9e10 Fix &: to throw an error if the symbol does not exist 2009-01-21 19:55:33 -06:00
Slava Pestov 3781210f79 Comment out alien.remote-control tests for now 2009-01-16 12:59:04 -06:00
Slava Pestov 36e73b8c91 Add unit tests for alien.remote-control 2009-01-14 21:03:07 -06:00
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00
Slava Pestov daf2857d7b define-inline now takes an effect parameter
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov 59a5e554d4 Split up io.directories further, move file types to io.files.types. Bunny demo no longer pulls in file-info and file-system-info code, reducing image size by 35kb 2008-12-15 00:01:06 -06:00
Slava Pestov c679ae025b Rename tools.disassembler.udis:& to alien.syntax:&: and fix it to survive image save/load 2008-12-11 00:03:58 -06:00
Slava Pestov ec23584f48 Finish up O(1) byte array allocation 2008-12-09 18:17:04 -06:00
Slava Pestov 1e1640abb3 Load fixes 2008-12-09 03:22:38 -06:00
Slava Pestov 4fccc7126d Fix alien.strings docs 2008-12-08 21:49:26 -06:00
Slava Pestov 11c138ae95 alien.strings doesn't load utf16 on Unix anymore 2008-12-08 18:49:02 -06:00
Slava Pestov 4f0a9f311e Untangling some dependencies 2008-12-08 14:58:00 -06:00
Doug Coleman db30415dcb basis: swap 3append -> glue 2008-12-03 19:10:41 -06:00