Doug Coleman
ae519868f7
over push -> suffix!, over push-all -> append!
2009-10-28 15:29:01 -05:00
Doug Coleman
b5fd809209
memq? -> member-eq?, sorted-memq? -> sorted-member-eq?
2009-10-28 15:02:00 -05:00
Doug Coleman
a57e990af7
parsed -> suffix!, add append!
2009-10-28 13:38:27 -05:00
Slava Pestov
16db1a394b
compiler, cpu.x86.32: clean up FFI implementation, in particular 32-bit x86-specific backend
2009-10-20 04:15:10 -05:00
Slava Pestov
d55217b34a
alien.c-types: c-type no longer calls parser at runtime, tools.deploy.shaker now strips out runtime specialized array code generation
2009-10-16 23:50:17 -05:00
Joe Groff
c312779f39
hurr
2009-10-16 16:39:33 -05:00
Joe Groff
67800284fb
tweak parse-c-type so data-map can parse non-c-types
2009-10-16 16:10:09 -05:00
Joe Groff
2bdf031540
change parse-c-type so that c-type[symbolic-constant] parses to { c-type symbolic-constant }
2009-10-16 12:27:16 -05:00
Slava Pestov
3f550bacf6
alien.libraries: fix dlsym docs
2009-10-15 22:08:16 -05:00
Slava Pestov
c934602a44
alien.syntax: add C-GLOBAL: for defining words to access global variables, and remove the gimpy one from core-text.utilities
2009-10-09 04:46:29 -05:00
Slava Pestov
a92e435799
alien.parser: fix behavior with restarts, reported by mnestic
2009-10-09 04:25:25 -05:00
Joe Groff
24c2a7fa8f
refactor so that generalizations reuses the stub versions of nsequence, firstn, and n*quot needed by memoize
2009-10-08 12:55:52 -05:00
Joe Groff
f9d22d0fab
delete malloc-file-contents 'cause it sucks and nobody likes it
2009-10-07 19:30:06 -05:00
Keith Lazuka
8f79ea91ba
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Joe Groff
5ab16ba62a
change CALLBACK: to use the ABI of the current LIBRARY: and get rid of STDCALL-CALLBACK:
2009-09-28 19:27:28 -05:00
Slava Pestov
f08521bf83
Fixing various test failures caused by C type parser change, and clarify C type docs some more
2009-09-28 08:48:39 -05:00
Slava Pestov
c5e587fb42
alien.parser: fix unit tests
2009-09-28 05:42:41 -05:00
Slava Pestov
ba029a88ff
io.mmap: fix obsolete tests and get code to inline better
2009-09-28 03:18:27 -05:00
Joe Groff
5e3e8f97f4
redefine C-TYPE: to forward declare opaque C types; make C type definition and redefinition a little more robust
2009-09-27 22:12:00 -05:00
Joe Groff
411865cb24
Merge branch 'master' into no-c-type-string
2009-09-27 18:47:02 -05:00
Joe Groff
7588ee4995
add missing USING: to alien.c-types test
2009-09-27 18:18:13 -05:00
Joe Groff
cccb5095fb
update alien.c-types tests to use c-type words
2009-09-27 17:41:18 -05:00
Joe Groff
1f606a4873
disable parsing of string c-types
2009-09-27 16:06:13 -05:00
Joe Groff
ce270988df
oops, jumped the gun on one of the alien.parser tests there
2009-09-27 12:10:50 -05:00
Joe Groff
dfb58853bd
add some tests for parse-c-type
2009-09-27 12:03:23 -05:00
Joe Groff
3ded3d1956
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-26 23:15:09 -05:00
Joe Groff
e5d406693e
add USING:s and rearrange definitions so macosx can compile without parsing c-type strings
2009-09-26 23:14:57 -05:00
Slava Pestov
1b26a1c87c
alien: improve documentation
2009-09-26 21:28:11 -05:00
Slava Pestov
8f74952c21
Fix conflict
2009-09-26 21:27:38 -05:00
Joe Groff
e30819bcac
move alien.inline, alien.cxx, alien.marshall to unmaintained; nuke alien.structs
2009-09-26 20:37:42 -05: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
Slava Pestov
a4e1d5511e
Tweaks to reduce deployed image size
2009-09-24 06:24:43 -05:00
Slava Pestov
165496d2f2
Add longlong-2, ulonglong-2, longlong-4, ulonglong-4 SIMD types, fix int-4 multiplication on SSE2
2009-09-23 20:23:25 -05:00
Slava Pestov
e6cddf1fa7
Merge branch 'master' of git://factorcode.org/git/factor into integer-simd
2009-09-21 17:58:24 -05:00
Joe Groff
f4bfc5aafd
prettyprint CALLBACK: defs
2009-09-21 14:14:12 -05:00
Joe Groff
e2046d6f04
docs for C type words
2009-09-21 13:39:55 -05:00
Joe Groff
3613e6838c
update alien docs to talk about C types as words
2009-09-21 13:20:01 -05:00
Joe Groff
77d10178db
add CALLBACK: syntax that defines a typedef and an alien-callback constructor word for function pointer types. update some code in iokit.hid and windows.dinput to use CALLBACK: instead of TYPEDEF:/word pairs
2009-09-21 11:59:41 -05:00
Joe Groff
5a11beed81
include LIBRARY: in FUNCTION: synopsis
2009-09-20 23:59:43 -05:00
Slava Pestov
e04fba6bc7
Fix conflict
2009-09-20 23:18:07 -05:00
Slava Pestov
66871995c9
math.vectors.simd: add saturated arithmetic operations
2009-09-20 23:16:02 -05:00
Joe Groff
0688f4ba68
fix synopsis for C-TYPE:, TYPEDEF:, and FUNCTION: so they properly show IN: clause
2009-09-20 23:12:31 -05:00
Slava Pestov
ea2bcd69c7
math.vectors.simd: redesign to be more flexible, integer SIMD work in progress
2009-09-20 02:08:32 -05:00
Joe Groff
4a1422e7fe
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00
Joe Groff
1482e1b115
alien.fortran can't piggyback the alien.parser arg parser anymore
2009-09-16 21:24:10 -05:00
Joe Groff
747c1c9fcc
fix resolve-pointer-type
2009-09-16 20:54:57 -05:00
Joe Groff
4d80ebff96
have typedefs take on the old type's pointer type even when the new type is a word and the old a string
2009-09-16 17:36:50 -05:00
Joe Groff
52ba3f3a24
allow word c-types and definitions to coexist
2009-09-16 17:18:19 -05:00
Joe Groff
65ac206648
fix alien-function-word predicate
2009-09-16 14:17:13 -05:00