Commit Graph

380 Commits (e15784ed946b125c48db208aa26fc3724e71c7aa)

Author SHA1 Message Date
Joe Groff e15784ed94 alien.parser: favor parsing "foo*" as pointer-to-foo now 2010-02-21 21:06:00 -08:00
Joe Groff 77ea9f1160 more implementation of pointer c-types. make it so that { char* binary } acts like a real pointer to char instead of stringifying, and add byte* typedef for { char* binary } 2010-02-21 20:58:21 -08:00
Joe Groff 64e6f08b59 use a "pointer" wrapper tuple to indicate pointer types instead of the current slipshod approach 2010-02-21 16:27:36 -08:00
Joe Groff 866f6ada18 ditch string c-types 2010-02-21 10:58:21 -08:00
Joe Groff ab0b7e078b alien.libraries: add a "deploy-library" word that marks a library to have its dll deployed with applications that use it. add support to tools.deploy to find and copy deployed libraries into target bundle 2010-02-16 13:32:58 -08:00
Slava Pestov 45ff20f132 cpu.architecture: rep-length now works in deployed images 2010-02-11 18:11:47 +13:00
Slava Pestov f4cfb63023 alien.syntax: save source location for TYPEDEF:, raise error on redefinition 2010-02-05 20:52:20 +13:00
Joe Groff b14f477c9b missed an alien.fortran test 2010-02-02 00:13:13 -08:00
Joe Groff e5f8c19d19 wrap alien.fortran c-type conversion tests in with-manifest 2010-02-01 22:03:51 -08:00
Joe Groff 82f2e67914 alien.fortran: convert fortran types to word c-types 2010-02-01 12:06:10 -08:00
Slava Pestov 59f0e7a197 alien.c-types: ensure that long and ulong types are defined with define-primitive-type and not typedef 2010-01-23 00:15:08 +13:00
Slava Pestov 56af2bb5dc alien.c-types: clean up and fix for win64 2010-01-22 23:14:20 +13:00
Slava Pestov 790674cf89 Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side 2010-01-13 18:08:18 +13:00
Slava Pestov 8f449f1a82 Get optimizing compiler working without global register variables in VM 2009-12-22 15:42:49 +13:00
Slava Pestov 92c1020964 Fix bootstrap 2009-12-02 19:24:46 -05:00
Joe Groff ebcaaa0d64 Merge branch 'master' into simd-cleanup 2009-11-26 16:14:46 -08:00
Joe Groff ea7c5b6d86 fix buggy simd intrinsics 2009-11-26 13:28:40 -08:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov b1743bd6b2 alien.c-types: fix help lint 2009-11-19 23:22:08 -06:00
Slava Pestov 5a74b2bb28 alien.c-types: make sure generated words reference C type words not strings 2009-11-19 19:34:58 -06:00
Slava Pestov 6d0598a385 heap-size now has a partial-eval instead of being foldable, and the partial-eval adds a dependency on the C type word. Fixes problem where redefining a struct didn't update specialized array 2009-11-15 11:26:37 -06:00
Slava Pestov d630e1494c Fix struct field alignment on PowerPC 2009-11-10 19:34:14 -06:00
Slava Pestov 1515628a7c More PowerPC fixes 2009-11-10 17:26:34 -06:00
Slava Pestov 7714be60a9 Move platform-specific c-type initialization out of cpu.* vocabularies and into alien.c-types so that the vm vocabulary, which is loaded before cpu.*, will have correct struct offsets 2009-11-05 01:36:14 -06:00
Slava Pestov 22749d7f3f alien.c-types: use (byte-array) instead of <byte-array> in out parameter constructors 2009-11-05 01:08:58 -06:00
Joe Groff c6761710a6 Merge branch 'master' of http://factorcode.org/git/factor
Conflicts:
	basis/locals/locals.factor
	basis/peg/peg.factor
	extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Joe Groff 22a9be5ea5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
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