Commit Graph

8099 Commits (e6caf0ab1957709689f49df5ad254de2f7d3f87c)

Author SHA1 Message Date
Joe Groff 02d924f1a5 change gpu VERTEX-STRUCT: to make a struct class 2009-08-30 23:06:15 -05:00
Sascha Matzke d9377625c5 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 12:11:25 +02:00
Doug Coleman d88cdffa47 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 23:39:20 -05:00
Doug Coleman fb9d7d67d0 use struct in windows serial code 2009-08-29 23:25:17 -05:00
Slava Pestov dca528eaef benchmark.terrain-generation: fix type error 2009-08-29 22:09:51 -05:00
Slava Pestov 9d61c162e2 benchmark.struct-arrays: doesn't actually need HINTS: 2009-08-29 21:23:35 -05:00
Doug Coleman 50a99dcce6 guid, system-info 2009-08-29 17:41:08 -05:00
Sascha Matzke d3df9b7718 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 12:48:54 +02:00
Joe Groff 4197891499 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-28 10:40:30 -05:00
Joe Groff c6c22a4d5d add a terrain-generation benchmark so slava will make it fast 2009-08-28 10:40:01 -05:00
Slava Pestov ff4213003b system-info.windows: fix load error 2009-08-28 05:38:29 -05:00
Slava Pestov 624f636533 benchmark.struct-arrays: new benchmark to measure performance of struct-arrays, struct classes, and floating point math 2009-08-28 05:21:54 -05:00
Sascha Matzke 8b410e373b Merge branch 'master' of git://factorcode.org/git/factor 2009-08-28 07:07:14 +02:00
Doug Coleman ee418a75d9 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 19:53:46 -05:00
Doug Coleman 02fe28ce82 add an image-control gadget 2009-08-27 19:06:40 -05:00
Doug Coleman 9777de8c35 manually apply alec's patch for bloom filters 2009-08-27 16:03:45 -05:00
Sascha Matzke 5665deaf8b Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 23:00:47 +02:00
Doug Coleman 7cc86bd0ab add initial gif parsing. needs to be run on more gifs, needs lzw decompression 2009-08-27 14:15:34 -05:00
Joe Groff 784b8c04ce move classes.struct from extra to basis 2009-08-26 15:55:01 -05:00
Joe Groff eae92a404a update gpu.demos.bunny for alien.arrays boxing change 2009-08-26 15:05:07 -05:00
Doug Coleman 725a07b62d add find-images word 2009-08-26 14:28:06 -05:00
Doug Coleman 03fc2a3461 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 09:40:49 -05:00
Joe Groff e919e71163 test array slots in STRUCTs 2009-08-25 21:54:19 -05:00
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
Doug Coleman d109126c4b more structs 2009-08-25 18:19:34 -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
Sascha Matzke 1cce53a82a Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 08:49:30 +02: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
Sascha Matzke 8198ead0d2 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-22 10:15:56 +02:00
Sascha Matzke f8b2cab6d3 added pprint* method for mdb-error 2009-08-20 19:14:40 +02: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
Joe Groff 25c3434892 pprint structs with tuple syntax 2009-08-12 13:16:43 -04:00
Joe Groff 940fbd5ace see STRUCT: definitions as STRUCT: definitions 2009-08-12 10:37:09 -04:00
Joe Groff 4461a63e1d get classes.struct tests passing 2009-08-12 10:01:32 -04:00
Joe Groff 4896d6b9a3 struct boa 2009-08-12 09:37:39 -04:00
Joe Groff f239856649 make "struct-class new" work to create a struct with initial values set 2009-08-12 09:15:46 -04:00
Doug Coleman aabfc614a1 fix build errors 2009-08-11 23:07:13 -05:00
Joe Groff 3ac907cbc2 tuple-ish structs 2009-08-11 22:13:18 -04:00
Doug Coleman 02becc26fc add docs for if-zero etc, add docs for 10^ 2009-08-11 18:45:01 -05:00
Doug Coleman eccc919c18 fix project euler 151 and add a unit test 2009-08-11 18:22:44 -05:00
Doug Coleman 4a3d63e00a use if-zero in a few more places 2009-08-11 18:15:53 -05:00
Doug Coleman 4fef246ca4 add 10^ to math.functions and update usages 2009-08-11 18:00:24 -05:00
Doug Coleman e23b4b54ea fix docs 2009-08-11 15:35:57 -05:00
Doug Coleman 7a1837b15a don't capitalize the first letter of each word in math.text.english 2009-08-11 15:34:11 -05:00
Joe Groff 1c2d94e91c copyright 2009-08-10 22:39:31 -04:00
Slava Pestov 4b7185b61a Merge branch 'emacs' of http://git.hacks-galore.org/jao/factor 2009-08-10 16:20:14 -05:00
Joe Groff 06a5c78a34 piles lore 2009-08-10 16:31:54 -04:00
Joe Groff ce2722ff6d piles vocab (pools of raw memory) 2009-08-10 16:27:56 -04:00
Joe Groff a54f893565 Move pools -> memory.pools 2009-08-10 16:18:43 -04:00
Slava Pestov e9d5b364b3 benchmark.yuv-to-rgb: New benchmark, based on Chris Double's old ogg.player code 2009-08-10 01:17:07 -05:00
Joe Groff 7243d097cb pools docs, better implementation 2009-08-09 15:22:09 -04:00
Joe Groff e0624f37b3 pools vocab 2009-08-09 12:52:38 -04:00
Slava Pestov 1cb0f3370b math.vectors.specialization: first attempt at some call site splitting for vector ops. Specialized array types generate customized variants of all vector words, if input types are known at compile time, a call to the specialized version is inserted 2009-08-09 03:07:33 -05:00
Slava Pestov d0c393aa60 compiler.cfg: new system to track when results of analyses need to be recomputed (reverse post order, linear order, predecessors, dominance, loops). Passes can now call needs-predecessors, needs-dominance, needs-loops at the beginning, and cfg-changed, predecessors-changd at the end. Linearization order now takes loop nesting into account, and linear scan now uses linearization order instead of RPO. 2009-08-08 20:02:56 -05:00