Commit Graph

8022 Commits (0df8aadce2c595ab0c3c9efb5215c42628bb76b2)

Author SHA1 Message Date
Joe Groff 39ac27c50a Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 20:43:51 -05:00
Joe Groff 8aa9327dcc support <c-type-array> on complex ffi types 2009-08-25 19:58:04 -05:00
Slava Pestov fb1693bf1d Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 19:39:24 -05:00
Slava Pestov b71e14d89f benchmark.raytracer: eliminate -rot usage 2009-08-25 19:33:48 -05:00
Joe Groff d42edd4e3b byte-length method for classes.struct STRUCTs 2009-08-25 19:04:29 -05:00
Joe Groff 182963b9c4 add missing use to classes.struct tests 2009-08-25 17:19:26 -05:00
Joe Groff 847cd797bb make classes.struct work with string pointer slots 2009-08-25 13:18:20 -05:00
Joe Groff 56ca6ceeef classes.c-types is kinda half-baked. get rid of it, and make classes.struct parse c types directly 2009-08-25 13:03:43 -05:00
Joe Groff a4aa0dddbe Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 11:40:26 -05:00
Joe Groff f430c9a3d5 fix classes.struct structs when used in FFI, add a test 2009-08-25 11:40:05 -05:00
Joe Groff d950e5a5de add aliases to classes.c-types to look more like FFI types 2009-08-25 11:39:44 -05:00
Slava Pestov 965e9ba327 alien.marshall: fix unit tests 2009-08-25 05:10:41 -05:00
Slava Pestov 6106eed185 alien.marshall.syntax: don't clobber bool type in unit tests 2009-08-25 05:06:16 -05:00
Joe Groff bbb220f892 make memory.piles load without auto-use 2009-08-24 19:43:19 -05:00
Joe Groff 4923c66cc9 memory.piles: <pile-c-object> and <pile-c-array> convenience words 2009-08-22 21:03:39 -05:00
Joe Groff 17a08cb07a gpu.shaders docs corrections 2009-08-22 20:15:13 -05:00
Joe Groff 800bcdecf5 convert alien.struct fields to classes.struct fields; add tests 2009-08-20 08:44:19 -05:00
Joe Groff 60468308f1 make a corresponding traditional C-STRUCT: for STRUCT: classes 2009-08-19 22:50:02 -05:00
Joe Groff 06ecb30140 make slot initial-values check the class for an "initial-value" word prop; set this word prop on classes.c-types types 2009-08-19 21:28:20 -05:00
Joe Groff 767d64622d test that STRUCT:s and UNION-STRUCT:s see properly 2009-08-19 20:32:49 -05:00
Joe Groff 4d95e5ef2e fix up struct parsing/printing 2009-08-19 20:21:57 -05:00
Joe Groff d99a126ca4 remove a layer of indirection from classes.c-types 2009-08-19 18:54:11 -05:00
Joe Groff c898593983 decouple struct parsing/printing from tuple parsing/printing a bit 2009-08-19 18:53:44 -05:00
Joe Groff 4d87c91d59 classes.struct unit tests to check union heap-size and that structs can be passed as FFI args 2009-08-18 13:10:52 -05:00
Joe Groff 600bf6bcdc don't use setter words from classes.struct boa>object, otherwise struct literals of classes in the current compilation unit won't compile 2009-08-18 10:26:45 -05:00
Joe Groff 4ea2820f2f remove irrelevant undo test from classes.struct 2009-08-18 10:25:47 -05:00
Joe Groff 24d9a8635c Merge branch 'struct-classes' of git://factorcode.org/git/factor 2009-08-17 21:26:19 -05:00
Slava Pestov 630ffb8ae6 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-17 20:12:33 -05:00
Slava Pestov 4fac281b1a rpn: new demo, simple RPN calculator that doesn't use Factor's evaluator reflectively 2009-08-17 20:12:05 -05:00
Doug Coleman 5193cd625f fix unit tests for multi-methods 2009-08-17 19:24:14 -05:00
Doug Coleman 2d8d92a9d3 move IN: around 2009-08-17 19:05:13 -05:00
Mitchell N Charity cad255c393 multi-methods: mv from unmaintained/ to extra/ 2009-08-17 15:49:43 -04:00
Slava Pestov 5297be3e19 compiler.tree.modular-arithmetic: stronger optimization handles > 1 usages case as well as values defined and used in loops. Eliminates 5 out of 8 >fixnum calls in benchmark.yuv-to-rgb 2009-08-15 18:42:41 -05:00
Doug Coleman 6aa64a15dd forgot one 2009-08-14 14:40:44 -05:00
Doug Coleman 7c92ab1ea5 move if-zero etc to math, remove 1-/1+ from math 2009-08-14 14:27:23 -05:00
Joe Groff 6fe7fe72c7 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-14 10:55:05 -04:00
Joe Groff cfe8019ad1 force classes.c-types docs to pull in specialized-arrays.direct docs 2009-08-14 07:49:48 -04:00
Joe Groff 119809f675 classes.c-types doc improvements 2009-08-14 07:29:28 -04:00
Joe Groff 4991171ca6 compiler doesn't like new and boa being overridden so much 2009-08-14 07:09:37 -04:00
Doug Coleman 3f3d57032b 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
Joe Groff 4a1b2d0d77 classes.c-types and classes.struct docs 2009-08-13 17:59:38 -04:00
Joe Groff 85e321667a union classes 2009-08-13 16:55:22 -04:00
Joe Groff 6102f6eba4 compile fix 2009-08-13 13:39:48 -04:00
Joe Groff 92ac48a5bc coercers and array type relations for c-type classes 2009-08-13 13:33:22 -04:00
Joe Groff 37c6405927 coercers and array type relations for c-type classes 2009-08-13 13:28:00 -04:00
Doug Coleman 56b81a74ab add chameneos-redux benchmark 2009-08-12 17:46:10 -05:00
Joe Groff 287207df72 fix boa undo to work with structs 2009-08-12 16:09:25 -04:00
Joe Groff 0109061474 tests for literal struct syntax 2009-08-12 16:04:27 -04:00
Joe Groff 875284f8ab S{ } syntax for structs 2009-08-12 15:59:33 -04:00
Joe Groff ca592b9654 extend T{ } syntax to build structs 2009-08-12 15:40:06 -04:00