Commit Graph

8006 Commits (71652d28262e95b02d6f4c470b838b21522fe72d)

Author SHA1 Message Date
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