Commit Graph

13 Commits (51aff5733713d0dc0f95923e77fbd4e63591c86c)

Author SHA1 Message Date
Joe Groff 57ed942dfa hashcode* for structs 2009-08-31 10:51:45 -05:00
Joe Groff 69f258c521 refactor struct slot parsing so that there's a <struct-slot-spec> word for easily constructing struct slots outside classes.struct 2009-08-30 22:37:37 -05:00
Joe Groff 486f04607c Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 21:14:33 -05:00
Slava Pestov 29374bb1d9 classes.struct: add more unit tests for clone method, and fix clone breakage when the struct class word is not a symbol 2009-08-30 21:01:44 -05:00
Joe Groff 4fb204b00e likewise, an S@ word for structs 2009-08-30 20:46:31 -05:00
Joe Groff 3a7e6b157f implement clone on struct classes to copy the struct contents 2009-08-29 22:54:56 -05:00
Joe Groff 400e01d390 change malloc-struct to initialize struct from initial values; add (malloc-struct) and (struct) words that leave their memory uninitialized 2009-08-29 22:40:13 -05:00
Joe Groff 5cd24e5002 support { type dimension } c-type syntax in STRUCT: definitions 2009-08-27 21:39:43 -05:00
Joe Groff 5cc1ce3d8a throw a friendlier error when attempting to create a struct without slots 2009-08-26 22:37:59 -05:00
Joe Groff a9683e80c4 test that array slots in structs optimize down 2009-08-26 21:50:12 -05:00
Joe Groff 1ec0d1290a test that struct-arrays and struct construction optimize down 2009-08-26 21:38:00 -05:00
Joe Groff 3bb895dcdf bitwise equal? for struct objects 2009-08-26 18:05:38 -05:00
Joe Groff 1bab289258 move classes.struct from extra to basis 2009-08-26 15:55:01 -05:00