Commit Graph

49 Commits (5979fe7f414dc362861f47e4d3563e16139bd408)

Author SHA1 Message Date
Slava Pestov f652ee2b02 classes.struct.vectored: fix unit test for forget-tests? flag 2010-04-13 06:15:08 -07:00
Joe Groff a91ab493ba vectored struct functor 2009-10-15 14:33:40 -05:00
Joe Groff 784b8c04ce move classes.struct from extra to basis 2009-08-26 15:55:01 -05:00
Joe Groff e919e71163 test array slots in STRUCTs 2009-08-25 21:54:19 -05:00
Joe Groff 8aa9327dcc support <c-type-array> on complex ffi types 2009-08-25 19:58:04 -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 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
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 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
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
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
Joe Groff 3ac907cbc2 tuple-ish structs 2009-08-11 22:13:18 -04:00
Slava Pestov 33d3761314 classes.tuple.change-tracking: fix using line in tests 2009-08-01 01:25:13 -05:00
Joe Groff 06eeedcb4c change-tracking-tuple class. subclasses will have a "changed?" slot that gets set to true when any slot is modified 2009-07-31 21:48:17 -05:00
Slava Pestov 8bf37558d4 Clean up Windows I/O a bit, remove classes.tuple.lib 2008-09-01 04:32:16 -05:00
Doug Coleman 843eb15522 new accessors 2008-08-30 21:58:34 -05:00
U-SLAVA-DFB8FF805\Slava 5edf8b0cb4 Fix Windows bootstrap 2008-08-27 11:52:46 -05:00
Slava Pestov 58159095ee Fix load-everything 2008-06-30 16:06:14 -05:00
Doug Coleman 4d0ba8c3c1 reverse args for assoc-diff, diff
fix lots of usings
fix help lint
2008-04-26 02:01:43 -05:00
Doug Coleman b7c1f9dbe8 extra changes:
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
2008-04-25 23:17:08 -05:00
Doug Coleman 72080fda4a construct-boa -> boa
construct-empty -> new
2008-04-13 15:06:27 -05:00
Slava Pestov adb1dd14d0 Rename tuples vocab to classes.tuple for consistency 2008-03-29 03:34:48 -05:00