Commit Graph

50 Commits (c28d5589a2daa66b6e273f03fbff272278a9fb15)

Author SHA1 Message Date
Slava Pestov d2d466de29 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Slava Pestov a4c9031047 classes.struct.vectored: fix unit test for forget-tests? flag 2010-04-13 06:15:08 -07:00
Joe Groff fc4c3d6812 vectored struct functor 2009-10-15 14:33:40 -05:00
Joe Groff 1bab289258 move classes.struct from extra to basis 2009-08-26 15:55:01 -05:00
Joe Groff 6ce748d863 test array slots in STRUCTs 2009-08-25 21:54:19 -05:00
Joe Groff 2a6200a91d support <c-type-array> on complex ffi types 2009-08-25 19:58:04 -05:00
Joe Groff 0823fc782d byte-length method for classes.struct STRUCTs 2009-08-25 19:04:29 -05:00
Joe Groff beff77f3fb add missing use to classes.struct tests 2009-08-25 17:19:26 -05:00
Joe Groff e2b444c8bd make classes.struct work with string pointer slots 2009-08-25 13:18:20 -05:00
Joe Groff 01552987c7 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 192f6d04e5 fix classes.struct structs when used in FFI, add a test 2009-08-25 11:40:05 -05:00
Joe Groff 71e998bc13 add aliases to classes.c-types to look more like FFI types 2009-08-25 11:39:44 -05:00
Joe Groff ba68c46182 convert alien.struct fields to classes.struct fields; add tests 2009-08-20 08:44:19 -05:00
Joe Groff 486e74ab78 make a corresponding traditional C-STRUCT: for STRUCT: classes 2009-08-19 22:50:02 -05:00
Joe Groff 795b95021a 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 be1f4697e2 test that STRUCT:s and UNION-STRUCT:s see properly 2009-08-19 20:32:49 -05:00
Joe Groff a2d9664df7 fix up struct parsing/printing 2009-08-19 20:21:57 -05:00
Joe Groff fa50c54e29 remove a layer of indirection from classes.c-types 2009-08-19 18:54:11 -05:00
Joe Groff 5690fbff4c decouple struct parsing/printing from tuple parsing/printing a bit 2009-08-19 18:53:44 -05:00
Joe Groff f214836aa9 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 6438a1c095 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 70bd89da16 remove irrelevant undo test from classes.struct 2009-08-18 10:25:47 -05:00
Joe Groff fe0237f462 force classes.c-types docs to pull in specialized-arrays.direct docs 2009-08-14 07:49:48 -04:00
Joe Groff 0324b18a44 classes.c-types doc improvements 2009-08-14 07:29:28 -04:00
Joe Groff 22f7bff9b2 compiler doesn't like new and boa being overridden so much 2009-08-14 07:09:37 -04:00
Joe Groff b8bbf4d805 classes.c-types and classes.struct docs 2009-08-13 17:59:38 -04:00
Joe Groff 6f4eefe83d union classes 2009-08-13 16:55:22 -04:00
Joe Groff 0a84805328 compile fix 2009-08-13 13:39:48 -04:00
Joe Groff 446fc910b6 coercers and array type relations for c-type classes 2009-08-13 13:33:22 -04:00
Joe Groff 67d91887ca coercers and array type relations for c-type classes 2009-08-13 13:28:00 -04:00
Joe Groff 69b32a428b fix boa undo to work with structs 2009-08-12 16:09:25 -04:00
Joe Groff 8229a0f687 tests for literal struct syntax 2009-08-12 16:04:27 -04:00
Joe Groff 0582e5c3de S{ } syntax for structs 2009-08-12 15:59:33 -04:00
Joe Groff 570ef8c9f8 extend T{ } syntax to build structs 2009-08-12 15:40:06 -04:00
Joe Groff e19d8b2e8a pprint structs with tuple syntax 2009-08-12 13:16:43 -04:00
Joe Groff 913860a15c see STRUCT: definitions as STRUCT: definitions 2009-08-12 10:37:09 -04:00
Joe Groff 7b1ca59f56 get classes.struct tests passing 2009-08-12 10:01:32 -04:00
Joe Groff 9970b6fdd0 struct boa 2009-08-12 09:37:39 -04:00
Joe Groff 4ae3e3f5d7 make "struct-class new" work to create a struct with initial values set 2009-08-12 09:15:46 -04:00
Joe Groff 629f618579 tuple-ish structs 2009-08-11 22:13:18 -04:00
Slava Pestov 0e19c37c5e classes.tuple.change-tracking: fix using line in tests 2009-08-01 01:25:13 -05:00
Joe Groff 4adb86d37d 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