Commit Graph

397 Commits (3d97bd2ae0538a6df3233295012bfc6200b93c69)

Author SHA1 Message Date
Slava Pestov 7decccf8bb Merge branch 'master' of git://factorcode.org/git/factor 2010-02-23 20:26:41 +13:00
Joe Groff aef979b552 alien.fortran: update tests to reflect new pointer c-type objects 2010-02-22 21:58:18 -08:00
Erik Charlebois aead6e7dd8 Revert change to make-callback-type cause Slava already fixed it in parse-arglist 2010-02-22 19:34:34 -08:00
Joe Groff 829351f2f2 don't box struct pointer values when they're null 2010-02-22 19:08:43 -08:00
Joe Groff 1bf37f01e5 alien.arrays/classes.struct: ensure specialized array types for struct array slots get instantiated at parse time 2010-02-22 12:21:29 -08:00
Joe Groff 4d2ded634b alien.parser: properly generate return type name for FUNCTION: stack effects 2010-02-22 11:25:01 -08:00
Erik Charlebois 833372cd08 Merge alien/parser/parser.factor 2010-02-22 10:53:19 -08:00
Erik Charlebois 124982ce23 Fix CALLBACK: effect return type also not a string. Added accompanying unit test. 2010-02-22 10:48:21 -08:00
Joe Groff 31a0d98e02 Merge branch 'master' into new-alien-pointers
Conflicts:
	basis/alien/c-types/c-types.factor
	basis/stack-checker/dependencies/dependencies.factor
2010-02-22 10:32:59 -08:00
Slava Pestov 23a1f0ed8c alien: some code cleanups and fixes 2010-02-23 01:28:56 +13:00
Slava Pestov 7578429692 alien.c-types: remove void? word 2010-02-22 21:31:41 +13:00
Joe Groff 338edac16c Merge branch 'master' of git://factorcode.org/git/factor into new-alien-pointers 2010-02-21 23:14:08 -08:00
Joe Groff 0bc8e8f408 alien.arrays: typedef special char* symbol so it still works as expected 2010-02-21 23:11:59 -08:00
Slava Pestov 1986dc49e4 Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-02-22 20:09:20 +13:00
Joe Groff 04cc3052b6 alien.prettyprint: pprint pointer objects as "type*" in c-type contexts 2010-02-21 21:32:34 -08:00
Joe Groff 5faa97e42c alien.parser: favor parsing "foo*" as pointer-to-foo now 2010-02-21 21:06:00 -08:00
Joe Groff d5bf6e55cd 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 5955ba06df 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 62e97c138a ditch string c-types 2010-02-21 10:58:21 -08:00
Erik Charlebois 536ae3c648 Unit test checking the stack effects from FUNCTION:. 2010-02-20 21:15:47 -08:00
Erik Charlebois b25e945c74 The return values in the stack effects of FUNCTION: words were c-types rather than strings. This was causing scaffold-help to fail on vocabularies with FUNCTION:. 2010-02-20 03:02:56 -08:00
Joe Groff 42089b6586 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 a3b74d88c9 cpu.architecture: rep-length now works in deployed images 2010-02-11 18:11:47 +13:00
Slava Pestov 59193af701 alien.syntax: save source location for TYPEDEF:, raise error on redefinition 2010-02-05 20:52:20 +13:00
Joe Groff 1ee05e38fb missed an alien.fortran test 2010-02-02 00:13:13 -08:00
Joe Groff f1bbeec198 wrap alien.fortran c-type conversion tests in with-manifest 2010-02-01 22:03:51 -08:00
Joe Groff 9adfda095f alien.fortran: convert fortran types to word c-types 2010-02-01 12:06:10 -08:00
Slava Pestov 892522f8bd 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 638fbb13b0 alien.c-types: clean up and fix for win64 2010-01-22 23:14:20 +13:00
Slava Pestov 1c10196c43 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 e96404327e Get optimizing compiler working without global register variables in VM 2009-12-22 15:42:49 +13:00
Slava Pestov 7c8d755c45 Fix bootstrap 2009-12-02 19:24:46 -05:00
Joe Groff 67cc1c01be Merge branch 'master' into simd-cleanup 2009-11-26 16:14:46 -08:00
Joe Groff 66d0cafa94 fix buggy simd intrinsics 2009-11-26 13:28:40 -08:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov c55bdc0d34 alien.c-types: fix help lint 2009-11-19 23:22:08 -06:00
Slava Pestov 2c553bcc86 alien.c-types: make sure generated words reference C type words not strings 2009-11-19 19:34:58 -06:00
Slava Pestov 361c38d5a1 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 e9a7191050 Fix struct field alignment on PowerPC 2009-11-10 19:34:14 -06:00
Slava Pestov 41e340f231 More PowerPC fixes 2009-11-10 17:26:34 -06:00
Slava Pestov fba6ddbc22 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 c6b0a91f34 alien.c-types: use (byte-array) instead of <byte-array> in out parameter constructors 2009-11-05 01:08:58 -06:00
Joe Groff 3fbe722561 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 6e1bffb1c5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Doug Coleman 93de179c2f over push -> suffix!, over push-all -> append! 2009-10-28 15:29:01 -05:00
Doug Coleman bd13e018dd memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Doug Coleman 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Slava Pestov 560b6f45cc 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 5afce2cc9e 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 c8eddf89e6 hurr 2009-10-16 16:39:33 -05:00